#422194#422194

#422194 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.2% C 0.173 H 287.9°. Best body text is #FFFFFF at 11.19:1 contrast (WCAG AA passes).

Color values

HEX#422194
RGBrgb(66, 33, 148)
HSLhsl(257, 64%, 35%)
HSVhsv(257, 78%, 58%)
CMYKcmyk(55.4%, 77.7%, 0%, 42%)
CIE-LABlab(24.90, 44.04, -57.31)
CIE-LCHlch(24.90, 72.28, 307.54°)
OKLaboklab(37.24% 0.0533 -0.1649)
OKLCHoklch(37.24% 0.173 287.9)
XYZxyz(8.1343, 4.3837, 28.4287)
Luminance0.0438 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#422194 #739421
analogous
#213A94 #422194 #7B2194
triadic
#422194 #944221 #219442
tetradic
#422194 #94213A #739421 #21947B
square
#422194 #94213A #739421 #21947B
split-complementary
#422194 #947B21 #3A9421
monochromatic
#150B30 #2C1662 #422194 #582CC6 #7C56D9

Accessibility & contrast

On white

11.19
#422194 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#422194 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #422194
11.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##422194#FFFFFF#000000##FFFFFF
##4221941.0011.191.8811.19
#FFFFFF11.191.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E97
Deuteranopia (green-blind)
#003892
Tritanopia (blue-blind)
#204159
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #422194;
/* rgb */ color: rgb(66, 33, 148);
/* oklch */ color: oklch(37.2% 0.173 287.9);
Tailwind
colors: {
  custom: {
    50: '#8060b4',
    500: '#422194',
    950: '#000000',
  },
}
SCSS
$custom: #422194;
$custom-light: #8060b4;
$custom-dark: #000000;
JSON
{
  "hex": "#422194",
  "rgb": {
    "r": 66,
    "g": 33,
    "b": 148
  },
  "hsl": {
    "h": 257.217,
    "s": 63.536,
    "l": 35.49
  },
  "oklch": {
    "l": 0.37238,
    "c": 0.17327,
    "h": 287.9
  },
  "luminance": 0.04384
}

Semantic roles & 50–950 ramp

primary
#422194
secondary
#9FBD54
accent
#E741B7
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #422194

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

Preview Lab → · Contrast checker → · Palette generator →

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