#421B88#421B88

#421B88 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.4% C 0.165 H 291.9°. Best body text is #FFFFFF at 12.04:1 contrast (WCAG AA passes).

Color values

HEX#421B88
RGBrgb(66, 27, 136)
HSLhsl(261, 67%, 32%)
HSVhsv(261, 80%, 53%)
CMYKcmyk(51.5%, 80.1%, 0%, 46.7%)
CIE-LABlab(22.72, 43.49, -53.43)
CIE-LCHlch(22.72, 68.89, 309.14°)
OKLaboklab(35.36% 0.0615 -0.1535)
OKLCHoklch(35.36% 0.165 291.9)
XYZxyz(7.0814, 3.7194, 23.6326)
Luminance0.0372 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421B88 #61881B
analogous
#1B2B88 #421B88 #791B88
triadic
#421B88 #88421B #1B8842
tetradic
#421B88 #881B2B #61881B #1B8879
square
#421B88 #881B2B #61881B #1B8879
split-complementary
#421B88 #88791B #2B881B
monochromatic
#100722 #291155 #421B88 #5B25BB #7944DA

Accessibility & contrast

On white

12.04
#421B88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#421B88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421B88
12.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421B88#FFFFFF#000000##FFFFFF
##421B881.0012.041.7412.04
#FFFFFF12.041.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00388B
Deuteranopia (green-blind)
#003486
Tritanopia (blue-blind)
#2A3A51
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #421b88;
/* rgb */ color: rgb(66, 27, 136);
/* oklch */ color: oklch(35.4% 0.165 291.9);
Tailwind
colors: {
  custom: {
    50: '#7f5dac',
    500: '#421b88',
    950: '#000000',
  },
}
SCSS
$custom: #421b88;
$custom-light: #7f5dac;
$custom-dark: #000000;
JSON
{
  "hex": "#421b88",
  "rgb": {
    "r": 66,
    "g": 27,
    "b": 136
  },
  "hsl": {
    "h": 261.468,
    "s": 66.871,
    "l": 31.961
  },
  "oklch": {
    "l": 0.35356,
    "c": 0.16535,
    "h": 291.9
  },
  "luminance": 0.0372
}

Semantic roles & 50–950 ramp

primary
#421B88
secondary
#90BB44
accent
#EA3EAC
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B0410
muted
#7C797F

Preview Lab

Preview with #421B88

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

Preview Lab → · Contrast checker → · Palette generator →

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