#421FB4#421FB4

#421FB4 is a dark, highly saturated violet. Relative luminance 0.054; OKLCH L 40.3% C 0.212 H 282.1°. Best body text is #FFFFFF at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#421FB4
RGBrgb(66, 31, 180)
HSLhsl(254, 71%, 41%)
HSVhsv(254, 83%, 71%)
CMYKcmyk(63.3%, 82.8%, 0%, 29.4%)
CIE-LABlab(27.93, 54.09, -71.71)
CIE-LCHlch(27.93, 89.82, 307.03°)
OKLaboklab(40.34% 0.0443 -0.2069)
OKLCHoklch(40.34% 0.212 282.1)
XYZxyz(10.9724, 5.4327, 43.6416)
Luminance0.0543 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421FB4 #91B41F
analogous
#1F47B4 #421FB4 #8D1FB4
triadic
#421FB4 #B4421F #1FB442
tetradic
#421FB4 #B41F47 #91B41F #1FB48D
square
#421FB4 #B41F47 #91B41F #1FB48D
split-complementary
#421FB4 #B48D1F #47B41F
monochromatic
#1C0D4C #2F1680 #421FB4 #5C34DC #8668E5

Accessibility & contrast

On white

10.06
#421FB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#421FB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421FB4
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421FB4#FFFFFF#000000##FFFFFF
##421FB41.0010.062.0910.06
#FFFFFF10.061.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047B8
Deuteranopia (green-blind)
#003DB1
Tritanopia (blue-blind)
#004E6B
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #421fb4;
/* rgb */ color: rgb(66, 31, 180);
/* oklch */ color: oklch(40.3% 0.212 282.1);
Tailwind
colors: {
  custom: {
    50: '#8661cc',
    500: '#421fb4',
    950: '#000000',
  },
}
SCSS
$custom: #421fb4;
$custom-light: #8661cc;
$custom-dark: #000000;
JSON
{
  "hex": "#421fb4",
  "rgb": {
    "r": 66,
    "g": 31,
    "b": 180
  },
  "hsl": {
    "h": 254.094,
    "s": 70.616,
    "l": 41.373
  },
  "oklch": {
    "l": 0.40338,
    "c": 0.21158,
    "h": 282.1
  },
  "luminance": 0.05434
}

Semantic roles & 50–950 ramp

primary
#421FB4
secondary
#B3CB64
accent
#ED3AC3
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0D0514
muted
#7D7A82

Preview Lab

Preview with #421FB4

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

Preview Lab → · Contrast checker → · Palette generator →

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