Recognised as Colour
#28105F
- #28105F
- Violet
- Dark
- Nearest: Midnight blue
#28105F is a violet with RGB values 40, 16, 95 and HSL 258°, 71%, 22%. It is a dark colour, so white text on it reaches 15.8:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.
Colour values
#28105F#28105F
HEX#28105F
RGBrgb(40, 16, 95)
RGB (0–1)0.1569, 0.0627, 0.3725
RGB percentages15.7%, 6.3%, 37.3%
HSLhsl(258.2, 71.2%, 21.8%)
HSV / HSBhsv(258.2, 83.2%, 37.3%)
CMYK57.9%, 83.2%, 0%, 62.7%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer2,625,631
CSS custom property--colour: #28105F;
Brightness & contrast
Relative luminance0.01648WCAG 2.x, 0 is black and 1 is white
Perceived brightness40.7 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 15.79:1
Contrast with white15.79:1WCAG normal text: AAA
Contrast with black1.33:1WCAG normal text: Fail
Greyscale equivalent#1B1B1B
Inverted#D7EFA0
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text15.79:1WCAG large text: AAA
Contrast with black, large text1.33:1WCAG large text: Fail
Named colours
Hue familyviolet
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#475F10
Analogous#101F5F, #50105F
Triadic#5F2810, #105F28
Split complementary#5F4F10, #205F10
Tetradic#5F101F, #475F10, #105F50
Tints, shades & saturation
Channel breakdown
R40
G16
B95
Red40 (15.7%)
Green16 (6.3%)
Blue95 (37.3%)
Hue258.23°
Saturation (HSL)71.17%
Lightness21.76%
Dominant channelBlue
Hex per channelR 28 · G 10 · B 5F
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