Recognised as Colour
#5C27A6
- #5C27A6
- Violet
- Dark
- Nearest: Indigo
#5C27A6 is a violet with RGB values 92, 39, 166 and HSL 265°, 62%, 40%. It is a dark colour, so white text on it reaches 9.1:1 contrast (AAA for normal text). The nearest named colour is Indigo.
Colour values
#5C27A6#5C27A6
HEX#5C27A6
RGBrgb(92, 39, 166)
RGB (0–1)0.3608, 0.1529, 0.651
RGB percentages36.1%, 15.3%, 65.1%
HSLhsl(265, 62%, 40.2%)
HSV / HSBhsv(265, 76.5%, 65.1%)
CMYK44.6%, 76.5%, 0%, 34.9%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer6,039,462
CSS custom property--colour: #5C27A6;
Brightness & contrast
Relative luminance0.0648WCAG 2.x, 0 is black and 1 is white
Perceived brightness81 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 9.15:1
Contrast with white9.15:1WCAG normal text: AAA
Contrast with black2.3:1WCAG normal text: Fail
Greyscale equivalent#3B3B3B
Inverted#A3D859
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text9.15:1WCAG large text: AAA
Contrast with black, large text2.3:1WCAG large text: Fail
Named colours
Hue familyviolet
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#71A627
Analogous#2732A6, #9C27A6
Triadic#A65C27, #27A65C
Split complementary#A69B27, #32A627
Tetradic#A62731, #71A627, #27A69B
Tints, shades & saturation
Channel breakdown
R92
G39
B166
Red92 (36.1%)
Green39 (15.3%)
Blue166 (65.1%)
Hue265.04°
Saturation (HSL)61.95%
Lightness40.2%
Dominant channelBlue
Hex per channelR 5C · G 27 · B A6
Keep nerding
Every link below is a page Nerdulator can generate from what it already knows about this value.
Nerdulate something else
Nothing in mind? Surprise me · today’s page