#422666#422666

#422666 is a dark, moderate violet. Relative luminance 0.035; OKLCH L 33.9% C 0.109 H 300.9°. Best body text is #FFFFFF at 12.35:1 contrast (WCAG AA passes).

Color values

HEX#422666
RGBrgb(66, 38, 102)
HSLhsl(266, 46%, 27%)
HSVhsv(266, 63%, 40%)
CMYKcmyk(35.3%, 62.7%, 0%, 60%)
CIE-LABlab(21.96, 27.86, -32.94)
CIE-LCHlch(21.96, 43.14, 310.22°)
OKLaboklab(33.91% 0.0559 -0.0933)
OKLCHoklch(33.91% 0.109 300.9)
XYZxyz(5.3376, 3.5038, 12.9629)
Luminance0.0350 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#422666 #4A6626
analogous
#262A66 #422666 #622666
triadic
#422666 #664226 #266642
tetradic
#422666 #66262A #4A6626 #266662
square
#422666 #66262A #4A6626 #266662
split-complementary
#422666 #666226 #2A6626
monochromatic
#0E0816 #251539 #422666 #5F3793 #7C4BBC

Accessibility & contrast

On white

12.35
#422666 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#422666 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #422666
12.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##422666#FFFFFF#000000##FFFFFF
##4226661.0012.351.7012.35
#FFFFFF12.351.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#053468
Deuteranopia (green-blind)
#133465
Tritanopia (blue-blind)
#3B3342
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #422666;
/* rgb */ color: rgb(66, 38, 102);
/* oklch */ color: oklch(33.9% 0.109 300.9);
Tailwind
colors: {
  custom: {
    50: '#796292',
    500: '#422666',
    950: '#000000',
  },
}
SCSS
$custom: #422666;
$custom-light: #796292;
$custom-dark: #000000;
JSON
{
  "hex": "#422666",
  "rgb": {
    "r": 66,
    "g": 38,
    "b": 102
  },
  "hsl": {
    "h": 266.25,
    "s": 45.714,
    "l": 27.451
  },
  "oklch": {
    "l": 0.33909,
    "c": 0.10882,
    "h": 300.9
  },
  "luminance": 0.03504
}

Semantic roles & 50–950 ramp

primary
#422666
secondary
#79994F
accent
#D5529C
background
#F7F5F9
surface
#EEEAF1
border
#C9C6CB
text
#09050D
muted
#7B797E

Preview Lab

Preview with #422666

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#422666 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva