#422396#422396

#422396 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.7% C 0.174 H 287.2°. Best body text is #FFFFFF at 10.98:1 contrast (WCAG AA passes).

Color values

HEX#422396
RGBrgb(66, 35, 150)
HSLhsl(256, 62%, 36%)
HSVhsv(256, 77%, 59%)
CMYKcmyk(56%, 76.7%, 0%, 41.2%)
CIE-LABlab(25.45, 43.63, -57.64)
CIE-LCHlch(25.45, 72.29, 307.12°)
OKLaboklab(37.68% 0.0512 -0.1659)
OKLCHoklch(37.68% 0.174 287.2)
XYZxyz(8.3512, 4.5619, 29.2887)
Luminance0.0456 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#422396 #779623
analogous
#233E96 #422396 #7C2396
triadic
#422396 #964223 #239642
tetradic
#422396 #96233E #779623 #23967C
square
#422396 #96233E #779623 #23967C
split-complementary
#422396 #967C23 #3E9623
monochromatic
#160C33 #2C1764 #422396 #582FC8 #7D5BD9

Accessibility & contrast

On white

10.98
#422396 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#422396 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #422396
10.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##422396#FFFFFF#000000##FFFFFF
##4223961.0010.981.9110.98
#FFFFFF10.981.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F99
Deuteranopia (green-blind)
#003994
Tritanopia (blue-blind)
#1D435B
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #422396;
/* rgb */ color: rgb(66, 35, 150);
/* oklch */ color: oklch(37.7% 0.174 287.2);
Tailwind
colors: {
  custom: {
    50: '#8062b6',
    500: '#422396',
    950: '#000000',
  },
}
SCSS
$custom: #422396;
$custom-light: #8062b6;
$custom-dark: #000000;
JSON
{
  "hex": "#422396",
  "rgb": {
    "r": 66,
    "g": 35,
    "b": 150
  },
  "hsl": {
    "h": 256.174,
    "s": 62.162,
    "l": 36.275
  },
  "oklch": {
    "l": 0.37681,
    "c": 0.17359,
    "h": 287.2
  },
  "luminance": 0.04562
}

Semantic roles & 50–950 ramp

primary
#422396
secondary
#A2BD58
accent
#E543B9
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #422396

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

Preview Lab → · Contrast checker → · Palette generator →

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