Recognised as Colour
#5A0274
- #5A0274
- Violet
- Dark
- Nearest: Indigo
#5A0274 is a violet with RGB values 90, 2, 116 and HSL 286°, 97%, 23%. It is a dark colour, so white text on it reaches 12.4:1 contrast (AAA for normal text). The nearest named colour is Indigo.
Colour values
#5A0274#5A0274
HEX#5A0274
RGBrgb(90, 2, 116)
RGB (0–1)0.3529, 0.0078, 0.4549
RGB percentages35.3%, 0.8%, 45.5%
HSLhsl(286.3, 96.6%, 23.1%)
HSV / HSBhsv(286.3, 98.3%, 45.5%)
CMYK22.4%, 98.3%, 0%, 54.5%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer5,898,868
CSS custom property--colour: #5A0274;
Brightness & contrast
Relative luminance0.03478WCAG 2.x, 0 is black and 1 is white
Perceived brightness62.9 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 12.38:1
Contrast with white12.38:1WCAG normal text: AAA
Contrast with black1.7:1WCAG normal text: Fail
Greyscale equivalent#1D1D1D
Inverted#A5FD8B
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text12.38:1WCAG large text: AAA
Contrast with black, large text1.7:1WCAG large text: Fail
Named colours
Hue familyviolet
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#1C7402
Analogous#210274, #740255
Triadic#745A02, #02745A
Split complementary#557402, #027421
Tetradic#742102, #1C7402, #025574
Tints, shades & saturation
Channel breakdown
R90
G2
B116
Red90 (35.3%)
Green2 (0.8%)
Blue116 (45.5%)
Hue286.32°
Saturation (HSL)96.61%
Lightness23.14%
Dominant channelBlue
Hex per channelR 5A · G 02 · B 74
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