Recognised as Colour
#28104F
- #28104F
- Violet
- Dark
- Nearest: Midnight blue
#28104F is a violet with RGB values 40, 16, 79 and HSL 263°, 66%, 19%. It is a dark colour, so white text on it reaches 16.4:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.
Colour values
#28104F#28104F
HEX#28104F
RGBrgb(40, 16, 79)
RGB (0–1)0.1569, 0.0627, 0.3098
RGB percentages15.7%, 6.3%, 31%
HSLhsl(262.9, 66.3%, 18.6%)
HSV / HSBhsv(262.9, 79.7%, 31%)
CMYK49.4%, 79.7%, 0%, 69%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer2,625,615
CSS custom property--colour: #28104F;
Brightness & contrast
Relative luminance0.01386WCAG 2.x, 0 is black and 1 is white
Perceived brightness36.6 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 16.44:1
Contrast with white16.44:1WCAG normal text: AAA
Contrast with black1.28:1WCAG normal text: Fail
Greyscale equivalent#1A1A1A
Inverted#D7EFB0
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text16.44:1WCAG large text: AAA
Contrast with black, large text1.28:1WCAG large text: Fail
Named colours
Hue familyviolet
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#374F10
Analogous#10174F, #48104F
Triadic#4F2810, #104F28
Split complementary#4F4810, #174F10
Tetradic#4F1017, #374F10, #104F48
Tints, shades & saturation
Channel breakdown
R40
G16
B79
Red40 (15.7%)
Green16 (6.3%)
Blue79 (31%)
Hue262.86°
Saturation (HSL)66.32%
Lightness18.63%
Dominant channelBlue
Hex per channelR 28 · G 10 · B 4F
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