Recognised as Colour
#28004A
- #28004A
- Violet
- Dark
- Nearest: Midnight blue
#28004A is a violet with RGB values 40, 0, 74 and HSL 272°, 100%, 15%. It is a dark colour, so white text on it reaches 17.7:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.
Colour values
#28004A#28004A
HEX#28004A
RGBrgb(40, 0, 74)
RGB (0–1)0.1569, 0, 0.2902
RGB percentages15.7%, 0%, 29%
HSLhsl(272.4, 100%, 14.5%)
HSV / HSBhsv(272.4, 100%, 29%)
CMYK45.9%, 100%, 0%, 71%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer2,621,514
CSS custom property--colour: #28004A;
Brightness & contrast
Relative luminance0.00946WCAG 2.x, 0 is black and 1 is white
Perceived brightness33.2 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 17.66:1
Contrast with white17.66:1WCAG normal text: AAA
Contrast with black1.19:1WCAG normal text: Fail
Greyscale equivalent#0E0E0E
Inverted#D7FFB5
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text17.66:1WCAG large text: AAA
Contrast with black, large text1.19:1WCAG large text: Fail
Named colours
Hue familyviolet
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#224A00
Analogous#03004A, #4A0047
Triadic#4A2800, #004A28
Split complementary#474A00, #004A03
Tetradic#4A0300, #224A00, #00474A
Tints, shades & saturation
Channel breakdown
R40
G0
B74
Red40 (15.7%)
Green0 (0%)
Blue74 (29%)
Hue272.43°
Saturation (HSL)100%
Lightness14.51%
Dominant channelBlue
Hex per channelR 28 · G 00 · B 4A
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