Recognised as Colour
#28025B
- #28025B
- Violet
- Dark
- Nearest: Midnight blue
#28025B is a violet with RGB values 40, 2, 91 and HSL 266°, 96%, 18%. It is a dark colour, so white text on it reaches 16.8:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.
Colour values
#28025B#28025B
HEX#28025B
RGBrgb(40, 2, 91)
RGB (0–1)0.1569, 0.0078, 0.3569
RGB percentages15.7%, 0.8%, 35.7%
HSLhsl(265.6, 95.7%, 18.2%)
HSV / HSBhsv(265.6, 97.8%, 35.7%)
CMYK56%, 97.8%, 0%, 64.3%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer2,622,043
CSS custom property--colour: #28025B;
Brightness & contrast
Relative luminance0.0125WCAG 2.x, 0 is black and 1 is white
Perceived brightness37.7 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 16.8:1
Contrast with white16.8:1WCAG normal text: AAA
Contrast with black1.25:1WCAG normal text: Fail
Greyscale equivalent#111111
Inverted#D7FDA4
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text16.8:1WCAG large text: AAA
Contrast with black, large text1.25:1WCAG large text: Fail
Named colours
Hue familyviolet
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#355B02
Analogous#02095B, #54025B
Triadic#5B2802, #025B28
Split complementary#5B5402, #095B02
Tetradic#5B0209, #355B02, #025B54
Tints, shades & saturation
Channel breakdown
R40
G2
B91
Red40 (15.7%)
Green2 (0.8%)
Blue91 (35.7%)
Hue265.62°
Saturation (HSL)95.7%
Lightness18.24%
Dominant channelBlue
Hex per channelR 28 · G 02 · B 5B
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