#421FB1#421FB1

#421FB1 is a dark, highly saturated violet. Relative luminance 0.053; OKLCH L 40.0% C 0.208 H 282.6°. Best body text is #FFFFFF at 10.18:1 contrast (WCAG AA passes).

Color values

HEX#421FB1
RGBrgb(66, 31, 177)
HSLhsl(254, 70%, 41%)
HSVhsv(254, 82%, 69%)
CMYKcmyk(62.7%, 82.5%, 0%, 30.6%)
CIE-LABlab(27.61, 53.25, -70.46)
CIE-LCHlch(27.61, 88.32, 307.08°)
OKLaboklab(40.02% 0.0454 -0.2032)
OKLCHoklch(40.02% 0.208 282.6)
XYZxyz(10.6701, 5.3118, 42.0495)
Luminance0.0531 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421FB1 #8EB11F
analogous
#1F45B1 #421FB1 #8B1FB1
triadic
#421FB1 #B1421F #1FB142
tetradic
#421FB1 #B11F45 #8EB11F #1FB18B
square
#421FB1 #B11F45 #8EB11F #1FB18B
split-complementary
#421FB1 #B18B1F #45B11F
monochromatic
#1B0D49 #2F167D #421FB1 #5B32DB #8466E4

Accessibility & contrast

On white

10.18
#421FB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #421FB1
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421FB1#FFFFFF#000000##FFFFFF
##421FB11.0010.182.0610.18
#FFFFFF10.181.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046B5
Deuteranopia (green-blind)
#003CAE
Tritanopia (blue-blind)
#004D6A
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #421fb1;
/* rgb */ color: rgb(66, 31, 177);
/* oklch */ color: oklch(40.0% 0.208 282.6);
Tailwind
colors: {
  custom: {
    50: '#8561ca',
    500: '#421fb1',
    950: '#000000',
  },
}
SCSS
$custom: #421fb1;
$custom-light: #8561ca;
$custom-dark: #000000;
JSON
{
  "hex": "#421fb1",
  "rgb": {
    "r": 66,
    "g": 31,
    "b": 177
  },
  "hsl": {
    "h": 254.384,
    "s": 70.192,
    "l": 40.784
  },
  "oklch": {
    "l": 0.40015,
    "c": 0.20824,
    "h": 282.6
  },
  "luminance": 0.05313
}

Semantic roles & 50–950 ramp

primary
#421FB1
secondary
#B1CA62
accent
#ED3BC2
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0D0513
muted
#7D7A82

Preview Lab

Preview with #421FB1

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

Preview Lab → · Contrast checker → · Palette generator →

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