#421CB4#421CB4

#421CB4 is a dark, highly saturated violet. Relative luminance 0.053; OKLCH L 40.1% C 0.214 H 282.3°. Best body text is #FFFFFF at 10.21:1 contrast (WCAG AA passes).

Color values

HEX#421CB4
RGBrgb(66, 28, 180)
HSLhsl(255, 73%, 41%)
HSVhsv(255, 84%, 71%)
CMYKcmyk(63.3%, 84.4%, 0%, 29.4%)
CIE-LABlab(27.53, 55.29, -72.39)
CIE-LCHlch(27.53, 91.09, 307.37°)
OKLaboklab(40.06% 0.0457 -0.2088)
OKLCHoklch(40.06% 0.214 282.3)
XYZxyz(10.8977, 5.2832, 43.6167)
Luminance0.0528 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421CB4 #8EB41C
analogous
#1C42B4 #421CB4 #8E1CB4
triadic
#421CB4 #B4421C #1CB442
tetradic
#421CB4 #B41C42 #8EB41C #1CB48E
square
#421CB4 #B41C42 #8EB41C #1CB48E
split-complementary
#421CB4 #B48E1C #42B41C
monochromatic
#1B0C4A #2F147F #421CB4 #5B2FDF #8464E7

Accessibility & contrast

On white

10.21
#421CB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#421CB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421CB4
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421CB4#FFFFFF#000000##FFFFFF
##421CB41.0010.212.0610.21
#FFFFFF10.211.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046B8
Deuteranopia (green-blind)
#003CB1
Tritanopia (blue-blind)
#004D6B
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #421cb4;
/* rgb */ color: rgb(66, 28, 180);
/* oklch */ color: oklch(40.1% 0.214 282.3);
Tailwind
colors: {
  custom: {
    50: '#8660cc',
    500: '#421cb4',
    950: '#000000',
  },
}
SCSS
$custom: #421cb4;
$custom-light: #8660cc;
$custom-dark: #000000;
JSON
{
  "hex": "#421cb4",
  "rgb": {
    "r": 66,
    "g": 28,
    "b": 180
  },
  "hsl": {
    "h": 255,
    "s": 73.077,
    "l": 40.784
  },
  "oklch": {
    "l": 0.40059,
    "c": 0.21374,
    "h": 282.3
  },
  "luminance": 0.05284
}

Semantic roles & 50–950 ramp

primary
#421CB4
secondary
#B1CC60
accent
#F038C2
background
#F9F5FC
surface
#F1EAF9
border
#CBC6D2
text
#0D0514
muted
#7E7982

Preview Lab

Preview with #421CB4

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

Preview Lab → · Contrast checker → · Palette generator →

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