#421FBB#421FBB

#421FBB is a dark, highly saturated violet. Relative luminance 0.057; OKLCH L 41.1% C 0.219 H 281.0°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#421FBB
RGBrgb(66, 31, 187)
HSLhsl(253, 72%, 43%)
HSVhsv(253, 83%, 73%)
CMYKcmyk(64.7%, 83.4%, 0%, 26.7%)
CIE-LABlab(28.71, 56.04, -74.59)
CIE-LCHlch(28.71, 93.30, 306.92°)
OKLaboklab(41.1% 0.042 -0.2153)
OKLCHoklch(41.1% 0.219 281)
XYZxyz(11.7036, 5.7252, 47.4924)
Luminance0.0573 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421FBB #98BB1F
analogous
#1F4ABB #421FBB #901FBB
triadic
#421FBB #BB421F #1FBB42
tetradic
#421FBB #BB1F4A #98BB1F #1FBB90
square
#421FBB #BB1F4A #98BB1F #1FBB90
split-complementary
#421FBB #BB901F #4ABB1F
monochromatic
#1D0E52 #2F1687 #421FBB #5E39DE #896EE7

Accessibility & contrast

On white

9.79
#421FBB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#421FBB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421FBB
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421FBB#FFFFFF#000000##FFFFFF
##421FBB1.009.792.159.79
#FFFFFF9.791.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049BF
Deuteranopia (green-blind)
#003EB8
Tritanopia (blue-blind)
#005170
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #421fbb;
/* rgb */ color: rgb(66, 31, 187);
/* oklch */ color: oklch(41.1% 0.219 281.0);
Tailwind
colors: {
  custom: {
    50: '#8762d1',
    500: '#421fbb',
    950: '#000000',
  },
}
SCSS
$custom: #421fbb;
$custom-light: #8762d1;
$custom-dark: #000000;
JSON
{
  "hex": "#421fbb",
  "rgb": {
    "r": 66,
    "g": 31,
    "b": 187
  },
  "hsl": {
    "h": 253.462,
    "s": 71.56,
    "l": 42.745
  },
  "oklch": {
    "l": 0.41097,
    "c": 0.21931,
    "h": 281
  },
  "luminance": 0.05726
}

Semantic roles & 50–950 ramp

primary
#421FBB
secondary
#B7CD69
accent
#EE3AC6
background
#F9F6FD
surface
#F1EBFA
border
#CBC6D3
text
#0D0514
muted
#7E7A83

Preview Lab

Preview with #421FBB

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

Preview Lab → · Contrast checker → · Palette generator →

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