#422293#422293

#422293 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.3% C 0.171 H 288.0°. Best body text is #FFFFFF at 11.16:1 contrast (WCAG AA passes).

Color values

HEX#422293
RGBrgb(66, 34, 147)
HSLhsl(257, 62%, 35%)
HSVhsv(257, 77%, 58%)
CMYKcmyk(55.1%, 76.9%, 0%, 42.4%)
CIE-LABlab(24.98, 43.25, -56.57)
CIE-LCHlch(24.98, 71.21, 307.40°)
OKLaboklab(37.26% 0.0528 -0.1627)
OKLCHoklch(37.26% 0.171 288)
XYZxyz(8.0837, 4.4085, 28.0231)
Luminance0.0441 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#422293 #739322
analogous
#223A93 #422293 #7A2293
triadic
#422293 #934222 #229342
tetradic
#422293 #93223A #739322 #22937A
square
#422293 #93223A #739322 #22937A
split-complementary
#422293 #937A22 #3A9322
monochromatic
#150B30 #2C1761 #422293 #582DC5 #7C57D8

Accessibility & contrast

On white

11.16
#422293 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #422293
11.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##422293#FFFFFF#000000##FFFFFF
##4222931.0011.161.8811.16
#FFFFFF11.161.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E96
Deuteranopia (green-blind)
#003891
Tritanopia (blue-blind)
#214259
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #422293;
/* rgb */ color: rgb(66, 34, 147);
/* oklch */ color: oklch(37.3% 0.171 288.0);
Tailwind
colors: {
  custom: {
    50: '#8061b4',
    500: '#422293',
    950: '#000000',
  },
}
SCSS
$custom: #422293;
$custom-light: #8061b4;
$custom-dark: #000000;
JSON
{
  "hex": "#422293",
  "rgb": {
    "r": 66,
    "g": 34,
    "b": 147
  },
  "hsl": {
    "h": 256.991,
    "s": 62.431,
    "l": 35.49
  },
  "oklch": {
    "l": 0.37262,
    "c": 0.17105,
    "h": 288
  },
  "luminance": 0.04409
}

Semantic roles & 50–950 ramp

primary
#422293
secondary
#9FBC55
accent
#E542B7
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #422293

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

Preview Lab → · Contrast checker → · Palette generator →

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