#422189#422189

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

Color values

HEX#422189
RGBrgb(66, 33, 137)
HSLhsl(259, 61%, 33%)
HSVhsv(259, 76%, 54%)
CMYKcmyk(51.8%, 75.9%, 0%, 46.3%)
CIE-LABlab(23.84, 40.85, -52.22)
CIE-LCHlch(23.84, 66.30, 308.03°)
OKLaboklab(36.17% 0.0563 -0.15)
OKLCHoklch(36.17% 0.16 290.6)
XYZxyz(7.3047, 4.0518, 24.0592)
Luminance0.0405 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#422189 #688921
analogous
#213489 #422189 #762189
triadic
#422189 #894221 #218942
tetradic
#422189 #892134 #688921 #218976
square
#422189 #892134 #688921 #218976
split-complementary
#422189 #897621 #348921
monochromatic
#120926 #2A1558 #422189 #5A2DBA #7A50D5

Accessibility & contrast

On white

11.60
#422189 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#422189 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #422189
11.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##422189#FFFFFF#000000##FFFFFF
##4221891.0011.601.8111.60
#FFFFFF11.601.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A8C
Deuteranopia (green-blind)
#003687
Tritanopia (blue-blind)
#293D53
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #422189;
/* rgb */ color: rgb(66, 33, 137);
/* oklch */ color: oklch(36.2% 0.160 290.6);
Tailwind
colors: {
  custom: {
    50: '#7e60ac',
    500: '#422189',
    950: '#000000',
  },
}
SCSS
$custom: #422189;
$custom-light: #7e60ac;
$custom-dark: #000000;
JSON
{
  "hex": "#422189",
  "rgb": {
    "r": 66,
    "g": 33,
    "b": 137
  },
  "hsl": {
    "h": 259.038,
    "s": 61.176,
    "l": 33.333
  },
  "oklch": {
    "l": 0.36171,
    "c": 0.16017,
    "h": 290.6
  },
  "luminance": 0.04052
}

Semantic roles & 50–950 ramp

primary
#422189
secondary
#96B84E
accent
#E444B1
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #422189

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

Preview Lab → · Contrast checker → · Palette generator →

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