#421EBB#421EBB

#421EBB is a dark, highly saturated violet. Relative luminance 0.057; OKLCH L 41.0% C 0.220 H 281.1°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#421EBB
RGBrgb(66, 30, 187)
HSLhsl(254, 72%, 43%)
HSVhsv(254, 84%, 73%)
CMYKcmyk(64.7%, 84%, 0%, 26.7%)
CIE-LABlab(28.57, 56.44, -74.82)
CIE-LCHlch(28.57, 93.72, 307.03°)
OKLaboklab(41.01% 0.0424 -0.2159)
OKLCHoklch(41.01% 0.22 281.1)
XYZxyz(11.6779, 5.6737, 47.4838)
Luminance0.0568 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421EBB #97BB1E
analogous
#1E48BB #421EBB #901EBB
triadic
#421EBB #BB421E #1EBB42
tetradic
#421EBB #BB1E48 #97BB1E #1EBB90
square
#421EBB #BB1E48 #97BB1E #1EBB90
split-complementary
#421EBB #BB901E #48BB1E
monochromatic
#1D0D52 #2F1686 #421EBB #5E37DF #886CE7

Accessibility & contrast

On white

9.84
#421EBB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#421EBB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421EBB
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421EBB#FFFFFF#000000##FFFFFF
##421EBB1.009.842.149.84
#FFFFFF9.841.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049BF
Deuteranopia (green-blind)
#003EB8
Tritanopia (blue-blind)
#00506F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #421ebb;
/* rgb */ color: rgb(66, 30, 187);
/* oklch */ color: oklch(41.0% 0.220 281.1);
Tailwind
colors: {
  custom: {
    50: '#8762d1',
    500: '#421ebb',
    950: '#000000',
  },
}
SCSS
$custom: #421ebb;
$custom-light: #8762d1;
$custom-dark: #000000;
JSON
{
  "hex": "#421ebb",
  "rgb": {
    "r": 66,
    "g": 30,
    "b": 187
  },
  "hsl": {
    "h": 253.758,
    "s": 72.35,
    "l": 42.549
  },
  "oklch": {
    "l": 0.41005,
    "c": 0.22001,
    "h": 281.1
  },
  "luminance": 0.05675
}

Semantic roles & 50–950 ramp

primary
#421EBB
secondary
#B6CD67
accent
#EF39C5
background
#F9F6FD
surface
#F1EBFA
border
#CBC6D3
text
#0D0514
muted
#7E7A83

Preview Lab

Preview with #421EBB

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

Preview Lab → · Contrast checker → · Palette generator →

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