Recognised as Colour
#5F04A4
- #5F04A4
- Violet
- Dark
- Nearest: Indigo
#5F04A4 is a violet with RGB values 95, 4, 164 and HSL 274°, 95%, 33%. It is a dark colour, so white text on it reaches 10.3:1 contrast (AAA for normal text). The nearest named colour is Indigo.
Colour values
#5F04A4#5F04A4
HEX#5F04A4
RGBrgb(95, 4, 164)
RGB (0–1)0.3725, 0.0157, 0.6431
RGB percentages37.3%, 1.6%, 64.3%
HSLhsl(274.1, 95.2%, 32.9%)
HSV / HSBhsv(274.1, 97.6%, 64.3%)
CMYK42.1%, 97.6%, 0%, 35.7%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer6,227,108
CSS custom property--colour: #5F04A4;
Brightness & contrast
Relative luminance0.052WCAG 2.x, 0 is black and 1 is white
Perceived brightness76 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 10.29:1
Contrast with white10.29:1WCAG normal text: AAA
Contrast with black2.04:1WCAG normal text: Fail
Greyscale equivalent#232323
Inverted#A0FB5B
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text10.29:1WCAG large text: AAA
Contrast with black, large text2.04:1WCAG large text: Fail
Named colours
Hue familyviolet
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#49A404
Analogous#0F04A4, #A40499
Triadic#A45F04, #04A45F
Split complementary#99A404, #04A40F
Tetradic#A40F04, #49A404, #0499A4
Tints, shades & saturation
Channel breakdown
R95
G4
B164
Red95 (37.3%)
Green4 (1.6%)
Blue164 (64.3%)
Hue274.13°
Saturation (HSL)95.24%
Lightness32.94%
Dominant channelBlue
Hex per channelR 5F · G 04 · B A4
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