Nerdulator> put something in

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

Protanopia#00336Dno red cones; affects about 1% of men; ΔE 21.7 from the original
Deuteranopia#013369no green cones; the most common form, about 1% of men; ΔE 23.4 from the original
Tritanopia#393243no blue cones; rare, and affects men and women equally; ΔE 36.9 from the original
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

Nearest named CSS colourDark slateblue (#483D8B)ΔE 12.05, a distinctly different colour
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

Lighter +40%#A782D7
Lighter +30%#8C5BCB
Lighter +20%#723BB8
Lighter +10%#5A2E92
Darker −10%#2A1644
Darker −20%#12091E
Darker −30%#000000
Darker −40%#000000
More saturated +25%#40107D
Less saturated −25%#443459

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.

Nerdulate something else

Nothing in mind? Surprise me · today’s page

Every value on this page was computed from “42226b” by Nerdulator’s colour engine. Nothing here was retrieved from a database of answers or written by a model.