#422188#422188

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

Color values

HEX#422188
RGBrgb(66, 33, 136)
HSLhsl(259, 61%, 33%)
HSVhsv(259, 76%, 53%)
CMYKcmyk(51.5%, 75.7%, 0%, 46.7%)
CIE-LABlab(23.75, 40.56, -51.75)
CIE-LCHlch(23.75, 65.75, 308.09°)
OKLaboklab(36.08% 0.0565 -0.1486)
OKLCHoklch(36.08% 0.159 290.8)
XYZxyz(7.2333, 4.0232, 23.6832)
Luminance0.0402 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#422188 #678821
analogous
#213388 #422188 #752188
triadic
#422188 #884221 #218842
tetradic
#422188 #882133 #678821 #218875
square
#422188 #882133 #678821 #218875
split-complementary
#422188 #887521 #338821
monochromatic
#120925 #2A1557 #422188 #5A2DB9 #7A4FD4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##422188#FFFFFF#000000##FFFFFF
##4221881.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)
#003A8B
Deuteranopia (green-blind)
#003686
Tritanopia (blue-blind)
#2A3D53
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #422188;
/* rgb */ color: rgb(66, 33, 136);
/* oklch */ color: oklch(36.1% 0.159 290.8);
Tailwind
colors: {
  custom: {
    50: '#7e60ac',
    500: '#422188',
    950: '#000000',
  },
}
SCSS
$custom: #422188;
$custom-light: #7e60ac;
$custom-dark: #000000;
JSON
{
  "hex": "#422188",
  "rgb": {
    "r": 66,
    "g": 33,
    "b": 136
  },
  "hsl": {
    "h": 259.223,
    "s": 60.947,
    "l": 33.137
  },
  "oklch": {
    "l": 0.36076,
    "c": 0.15897,
    "h": 290.8
  },
  "luminance": 0.04024
}

Semantic roles & 50–950 ramp

primary
#422188
secondary
#95B84D
accent
#E444B1
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #422188

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

Preview Lab → · Contrast checker → · Palette generator →

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