Recognised as Colour
#42226B
- #42226B
- Violet
- Dark
- Nearest: Dark slateblue
#42226B is a violet with RGB values 66, 34, 107 and HSL 266°, 52%, 28%. It is a dark colour, so white text on it reaches 12.6:1 contrast (AAA for normal text). The nearest named colour is Dark slateblue.
Colour values
#42226B#42226B
HEX#42226B
RGBrgb(66, 34, 107)
RGB (0–1)0.2588, 0.1333, 0.4196
RGB percentages25.9%, 13.3%, 42%
HSLhsl(266.3, 51.8%, 27.6%)
HSV / HSBhsv(266.3, 68.2%, 42%)
CMYK38.3%, 68.2%, 0%, 58%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer4,334,187
CSS custom property--colour: #42226B;
Brightness & contrast
Relative luminance0.03364WCAG 2.x, 0 is black and 1 is white
Perceived brightness57.3 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 12.55:1
Contrast with white12.55:1WCAG normal text: AAA
Contrast with black1.67:1WCAG normal text: Fail
Greyscale equivalent#2E2E2E
Inverted#BDDD94
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text12.55:1WCAG large text: AAA
Contrast with black, large text1.67:1WCAG large text: Fail
Named colours
Hue familyviolet
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#4B6B22
Analogous#22276B, #66226B
Triadic#6B4222, #226B42
Split complementary#6B6622, #276B22
Tetradic#6B2227, #4B6B22, #226B66
Tints, shades & saturation
Channel breakdown
R66
G34
B107
Red66 (25.9%)
Green34 (13.3%)
Blue107 (42%)
Hue266.3°
Saturation (HSL)51.77%
Lightness27.65%
Dominant channelBlue
Hex per channelR 42 · G 22 · 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