#422292#422292

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

Color values

HEX#422292
RGBrgb(66, 34, 146)
HSLhsl(257, 62%, 35%)
HSVhsv(257, 77%, 57%)
CMYKcmyk(54.8%, 76.7%, 0%, 42.7%)
CIE-LABlab(24.88, 42.96, -56.11)
CIE-LCHlch(24.88, 70.67, 307.44°)
OKLaboklab(37.16% 0.0531 -0.1614)
OKLCHoklch(37.16% 0.17 288.2)
XYZxyz(8.0056, 4.3772, 27.6116)
Luminance0.0438 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#422292 #729222
analogous
#223A92 #422292 #7A2292
triadic
#422292 #924222 #229242
tetradic
#422292 #92223A #729222 #22927A
square
#422292 #92223A #729222 #22927A
split-complementary
#422292 #927A22 #3A9222
monochromatic
#150B2F #2C1660 #422292 #582EC4 #7C57D8

Accessibility & contrast

On white

11.20
#422292 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #422292
11.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##422292#FFFFFF#000000##FFFFFF
##4222921.0011.201.8811.20
#FFFFFF11.201.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D95
Deuteranopia (green-blind)
#003890
Tritanopia (blue-blind)
#224158
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #422292;
/* rgb */ color: rgb(66, 34, 146);
/* oklch */ color: oklch(37.2% 0.170 288.2);
Tailwind
colors: {
  custom: {
    50: '#8061b3',
    500: '#422292',
    950: '#000000',
  },
}
SCSS
$custom: #422292;
$custom-light: #8061b3;
$custom-dark: #000000;
JSON
{
  "hex": "#422292",
  "rgb": {
    "r": 66,
    "g": 34,
    "b": 146
  },
  "hsl": {
    "h": 257.143,
    "s": 62.222,
    "l": 35.294
  },
  "oklch": {
    "l": 0.37164,
    "c": 0.16986,
    "h": 288.2
  },
  "luminance": 0.04378
}

Semantic roles & 50–950 ramp

primary
#422292
secondary
#9EBC54
accent
#E543B7
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #422292

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

Preview Lab → · Contrast checker → · Palette generator →

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