Magenta

RGB(159, 42, 170) → #9f2aaa

Color Preview

Your selected color

HEX Code

#9f2aaa

Color Values

All color format conversions

RGB Values

rgb(159, 42, 170)
HSL:295°, 60%, 42%
HSV:295°, 75%, 67%
Brightness:92/255 (36%)

CSS Examples

Ready-to-use CSS code

HEX Format:

background-color: #9f2aaa;

RGB Format:

background-color: rgb(159, 42, 170);

HSL Format:

background-color: hsl(295, 60%, 42%);

Adjacent Colors

Navigate through the color spectrum

Accessibility

WCAG contrast analysis

On White Background:
6.2:1AA
On Black Background:
3.39:1

Color Psychology

Emotional associations

Emotions

RomanceFemininityCompassionNurturingPlayfulness

Industries

BeautyFashionChildren's ProductsHealthcare

Share this color: https://www.rgbtohex.com.au/159-42-170