#421E9B#421E9B

#421E9B is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.6% C 0.184 H 286.8°. Best body text is #FFFFFF at 11.11:1 contrast (WCAG AA passes).

Color values

HEX#421E9B
RGBrgb(66, 30, 155)
HSLhsl(257, 68%, 36%)
HSVhsv(257, 81%, 61%)
CMYKcmyk(57.4%, 80.6%, 0%, 39.2%)
CIE-LABlab(25.12, 47.47, -61.26)
CIE-LCHlch(25.12, 77.50, 307.77°)
OKLaboklab(37.6% 0.0533 -0.1764)
OKLCHoklch(37.6% 0.184 286.8)
XYZxyz(8.6257, 4.4529, 31.4090)
Luminance0.0445 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421E9B #779B1E
analogous
#1E399B #421E9B #811E9B
triadic
#421E9B #9B421E #1E9B42
tetradic
#421E9B #9B1E39 #779B1E #1E9B81
square
#421E9B #9B1E39 #779B1E #1E9B81
split-complementary
#421E9B #9B811E #399B1E
monochromatic
#160A34 #2C1468 #421E9B #5828CE #7D55DE

Accessibility & contrast

On white

11.11
#421E9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#421E9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##421E9B#FFFFFF#000000##FFFFFF
##421E9B1.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)
#003F9E
Deuteranopia (green-blind)
#003899
Tritanopia (blue-blind)
#17435D
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #421e9b;
/* rgb */ color: rgb(66, 30, 155);
/* oklch */ color: oklch(37.6% 0.184 286.8);
Tailwind
colors: {
  custom: {
    50: '#815fba',
    500: '#421e9b',
    950: '#000000',
  },
}
SCSS
$custom: #421e9b;
$custom-light: #815fba;
$custom-dark: #000000;
JSON
{
  "hex": "#421e9b",
  "rgb": {
    "r": 66,
    "g": 30,
    "b": 155
  },
  "hsl": {
    "h": 257.28,
    "s": 67.568,
    "l": 36.275
  },
  "oklch": {
    "l": 0.376,
    "c": 0.18426,
    "h": 286.8
  },
  "luminance": 0.04453
}

Semantic roles & 50–950 ramp

primary
#421E9B
secondary
#A2C253
accent
#EA3DB9
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0512
muted
#7D7981

Preview Lab

Preview with #421E9B

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

Preview Lab → · Contrast checker → · Palette generator →

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