#422386#422386

#422386 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.2% C 0.154 H 291.0°. Best body text is #FFFFFF at 11.56:1 contrast (WCAG AA passes).

Color values

HEX#422386
RGBrgb(66, 35, 134)
HSLhsl(259, 59%, 33%)
HSVhsv(259, 74%, 53%)
CMYKcmyk(50.7%, 73.9%, 0%, 47.5%)
CIE-LABlab(23.94, 38.92, -50.18)
CIE-LCHlch(23.94, 63.51, 307.79°)
OKLaboklab(36.15% 0.0552 -0.144)
OKLCHoklch(36.15% 0.154 291)
XYZxyz(7.1497, 4.0813, 22.9607)
Luminance0.0408 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#422386 #678623
analogous
#233586 #422386 #732386
triadic
#422386 #864223 #238642
tetradic
#422386 #862335 #678623 #238673
square
#422386 #862335 #678623 #238673
split-complementary
#422386 #867323 #358623
monochromatic
#120A25 #2A1655 #422386 #5A30B7 #7A52D2

Accessibility & contrast

On white

11.56
#422386 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#422386 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #422386
11.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##422386#FFFFFF#000000##FFFFFF
##4223861.0011.561.8211.56
#FFFFFF11.561.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B89
Deuteranopia (green-blind)
#003784
Tritanopia (blue-blind)
#2B3D52
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #422386;
/* rgb */ color: rgb(66, 35, 134);
/* oklch */ color: oklch(36.2% 0.154 291.0);
Tailwind
colors: {
  custom: {
    50: '#7e61aa',
    500: '#422386',
    950: '#000000',
  },
}
SCSS
$custom: #422386;
$custom-light: #7e61aa;
$custom-dark: #000000;
JSON
{
  "hex": "#422386",
  "rgb": {
    "r": 66,
    "g": 35,
    "b": 134
  },
  "hsl": {
    "h": 258.788,
    "s": 58.58,
    "l": 33.137
  },
  "oklch": {
    "l": 0.36153,
    "c": 0.15422,
    "h": 291
  },
  "luminance": 0.04082
}

Semantic roles & 50–950 ramp

primary
#422386
secondary
#95B54F
accent
#E246B1
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #422386

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

Preview Lab → · Contrast checker → · Palette generator →

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