#422196#422196

#422196 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.4% C 0.176 H 287.5°. Best body text is #FFFFFF at 11.11:1 contrast (WCAG AA passes).

Color values

HEX#422196
RGBrgb(66, 33, 150)
HSLhsl(257, 64%, 36%)
HSVhsv(257, 78%, 59%)
CMYKcmyk(56%, 78%, 0%, 41.2%)
CIE-LABlab(25.10, 44.62, -58.22)
CIE-LCHlch(25.10, 73.35, 307.47°)
OKLaboklab(37.44% 0.0527 -0.1675)
OKLCHoklch(37.44% 0.176 287.5)
XYZxyz(8.2940, 4.4475, 29.2697)
Luminance0.0445 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#422196 #759621
analogous
#213A96 #422196 #7C2196
triadic
#422196 #964221 #219642
tetradic
#422196 #96213A #759621 #21967C
square
#422196 #96213A #759621 #21967C
split-complementary
#422196 #967C21 #3A9621
monochromatic
#160B32 #2C1664 #422196 #582CC8 #7C57DA

Accessibility & contrast

On white

11.11
#422196 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#422196 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #422196
11.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##422196#FFFFFF#000000##FFFFFF
##4221961.0011.111.8911.11
#FFFFFF11.111.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E99
Deuteranopia (green-blind)
#003894
Tritanopia (blue-blind)
#1E425B
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #422196;
/* rgb */ color: rgb(66, 33, 150);
/* oklch */ color: oklch(37.4% 0.176 287.5);
Tailwind
colors: {
  custom: {
    50: '#8061b6',
    500: '#422196',
    950: '#000000',
  },
}
SCSS
$custom: #422196;
$custom-light: #8061b6;
$custom-dark: #000000;
JSON
{
  "hex": "#422196",
  "rgb": {
    "r": 66,
    "g": 33,
    "b": 150
  },
  "hsl": {
    "h": 256.923,
    "s": 63.934,
    "l": 35.882
  },
  "oklch": {
    "l": 0.37436,
    "c": 0.17563,
    "h": 287.5
  },
  "luminance": 0.04448
}

Semantic roles & 50–950 ramp

primary
#422196
secondary
#A0BE55
accent
#E741B8
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #422196

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

Preview Lab → · Contrast checker → · Palette generator →

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