#422286#422286

#422286 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.0% C 0.155 H 291.2°. Best body text is #FFFFFF at 11.64:1 contrast (WCAG AA passes).

Color values

HEX#422286
RGBrgb(66, 34, 134)
HSLhsl(259, 60%, 33%)
HSVhsv(259, 75%, 53%)
CMYKcmyk(50.7%, 74.6%, 0%, 47.5%)
CIE-LABlab(23.75, 39.45, -50.49)
CIE-LCHlch(23.75, 64.08, 308.00°)
OKLaboklab(36.02% 0.0561 -0.1449)
OKLCHoklch(36.02% 0.155 291.2)
XYZxyz(7.1206, 4.0233, 22.9510)
Luminance0.0402 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#422286 #668622
analogous
#223486 #422286 #742286
triadic
#422286 #864222 #228642
tetradic
#422286 #862234 #668622 #228674
square
#422286 #862234 #668622 #228674
split-complementary
#422286 #867422 #348622
monochromatic
#120924 #2A1655 #422286 #5A2EB7 #7A50D3

Accessibility & contrast

On white

11.64
#422286 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#422286 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #422286
11.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##422286#FFFFFF#000000##FFFFFF
##4222861.0011.641.8011.64
#FFFFFF11.641.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A89
Deuteranopia (green-blind)
#003684
Tritanopia (blue-blind)
#2B3C52
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #422286;
/* rgb */ color: rgb(66, 34, 134);
/* oklch */ color: oklch(36.0% 0.155 291.2);
Tailwind
colors: {
  custom: {
    50: '#7e60aa',
    500: '#422286',
    950: '#000000',
  },
}
SCSS
$custom: #422286;
$custom-light: #7e60aa;
$custom-dark: #000000;
JSON
{
  "hex": "#422286",
  "rgb": {
    "r": 66,
    "g": 34,
    "b": 134
  },
  "hsl": {
    "h": 259.2,
    "s": 59.524,
    "l": 32.941
  },
  "oklch": {
    "l": 0.36019,
    "c": 0.1554,
    "h": 291.2
  },
  "luminance": 0.04024
}

Semantic roles & 50–950 ramp

primary
#422286
secondary
#95B64E
accent
#E345B0
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #422286

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

Preview Lab → · Contrast checker → · Palette generator →

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