Recognised as Colour
#5F3399
- #5F3399
- Violet
- Dark
- Nearest: Rebecca purple
#5F3399 is a violet with RGB values 95, 51, 153 and HSL 266°, 50%, 40%. It is a dark colour, so white text on it reaches 8.7:1 contrast (AAA for normal text). The nearest named colour is Rebecca purple.
Colour values
#5F3399#5F3399
HEX#5F3399
RGBrgb(95, 51, 153)
RGB (0–1)0.3725, 0.2, 0.6
RGB percentages37.3%, 20%, 60%
HSLhsl(265.9, 50%, 40%)
HSV / HSBhsv(265.9, 66.7%, 60%)
CMYK37.9%, 66.7%, 0%, 40%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer6,239,129
CSS custom property--colour: #5F3399;
Brightness & contrast
Relative luminance0.071WCAG 2.x, 0 is black and 1 is white
Perceived brightness83 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 8.68:1
Contrast with white8.68:1WCAG normal text: AAA
Contrast with black2.42:1WCAG normal text: Fail
Greyscale equivalent#444444
Inverted#A0CC66
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text8.68:1WCAG large text: AAA
Contrast with black, large text2.42:1WCAG large text: Fail
Named colours
Hue familyviolet
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#6D9933
Analogous#333A99, #923399
Triadic#995F33, #33995F
Split complementary#999233, #3A9933
Tetradic#99333A, #6D9933, #339992
Tints, shades & saturation
Channel breakdown
R95
G51
B153
Red95 (37.3%)
Green51 (20%)
Blue153 (60%)
Hue265.88°
Saturation (HSL)50%
Lightness40%
Dominant channelBlue
Hex per channelR 5F · G 33 · B 99
Keep nerding
Every link below is a page Nerdulator can generate from what it already knows about this value.
Harmonies
Similar named colours
Nerdulate something else
Nothing in mind? Surprise me · today’s page