#421E96#421E96

#421E96 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.1% C 0.179 H 287.9°. Best body text is #FFFFFF at 11.30:1 contrast (WCAG AA passes).

Color values

HEX#421E96
RGBrgb(66, 30, 150)
HSLhsl(258, 67%, 35%)
HSVhsv(258, 80%, 59%)
CMYKcmyk(56%, 80%, 0%, 41.2%)
CIE-LABlab(24.60, 46.05, -59.03)
CIE-LCHlch(24.60, 74.87, 307.96°)
OKLaboklab(37.09% 0.0549 -0.1699)
OKLCHoklch(37.09% 0.179 287.9)
XYZxyz(8.2144, 4.2884, 29.2431)
Luminance0.0429 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421E96 #72961E
analogous
#1E3696 #421E96 #7E1E96
triadic
#421E96 #96421E #1E9642
tetradic
#421E96 #961E36 #72961E #1E967E
square
#421E96 #961E36 #72961E #1E967E
split-complementary
#421E96 #967E1E #36961E
monochromatic
#150A30 #2C1463 #421E96 #5828C9 #7C52DC

Accessibility & contrast

On white

11.30
#421E96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#421E96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421E96
11.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421E96#FFFFFF#000000##FFFFFF
##421E961.0011.301.8611.30
#FFFFFF11.301.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D99
Deuteranopia (green-blind)
#003794
Tritanopia (blue-blind)
#1E415A
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #421e96;
/* rgb */ color: rgb(66, 30, 150);
/* oklch */ color: oklch(37.1% 0.179 287.9);
Tailwind
colors: {
  custom: {
    50: '#815fb6',
    500: '#421e96',
    950: '#000000',
  },
}
SCSS
$custom: #421e96;
$custom-light: #815fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#421e96",
  "rgb": {
    "r": 66,
    "g": 30,
    "b": 150
  },
  "hsl": {
    "h": 258,
    "s": 66.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.3709,
    "c": 0.17853,
    "h": 287.9
  },
  "luminance": 0.04289
}

Semantic roles & 50–950 ramp

primary
#421E96
secondary
#9EBF50
accent
#EA3EB6
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #421E96

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

Preview Lab → · Contrast checker → · Palette generator →

#421E96 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva