Recognised as Colour
#42286B
- #42286B
- Violet
- Dark
- Nearest: Dark slateblue
#42286B is a violet with RGB values 66, 40, 107 and HSL 263°, 46%, 29%. It is a dark colour, so white text on it reaches 12:1 contrast (AAA for normal text). The nearest named colour is Dark slateblue.
Colour values
#42286B#42286B
HEX#42286B
RGBrgb(66, 40, 107)
RGB (0–1)0.2588, 0.1569, 0.4196
RGB percentages25.9%, 15.7%, 42%
HSLhsl(263.3, 45.6%, 28.8%)
HSV / HSBhsv(263.3, 62.6%, 42%)
CMYK38.3%, 62.6%, 0%, 58%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer4,335,723
CSS custom property--colour: #42286B;
Brightness & contrast
Relative luminance0.03737WCAG 2.x, 0 is black and 1 is white
Perceived brightness59.6 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 12.02:1
Contrast with white12.02:1WCAG normal text: AAA
Contrast with black1.75:1WCAG normal text: Fail
Greyscale equivalent#323232
Inverted#BDD794
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text12.02:1WCAG large text: AAA
Contrast with black, large text1.75:1WCAG large text: Fail
Named colours
Hue familyviolet
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#516B28
Analogous#282F6B, #64286B
Triadic#6B4228, #286B42
Split complementary#6B6328, #306B28
Tetradic#6B282F, #516B28, #286B64
Tints, shades & saturation
Channel breakdown
R66
G40
B107
Red66 (25.9%)
Green40 (15.7%)
Blue107 (42%)
Hue263.28°
Saturation (HSL)45.58%
Lightness28.82%
Dominant channelBlue
Hex per channelR 42 · G 28 · B 6B
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