#421BD2#421BD2

#421BD2 is a dark, highly saturated violet. Relative luminance 0.066; OKLCH L 43.3% C 0.247 H 278.3°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#421BD2
RGBrgb(66, 27, 210)
HSLhsl(253, 77%, 46%)
HSVhsv(253, 87%, 82%)
CMYKcmyk(68.6%, 87.1%, 0%, 17.6%)
CIE-LABlab(30.86, 63.73, -84.51)
CIE-LCHlch(30.86, 105.84, 307.02°)
OKLaboklab(43.33% 0.0354 -0.244)
OKLCHoklch(43.33% 0.247 278.3)
XYZxyz(14.2678, 6.5940, 61.4811)
Luminance0.0659 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421BD2 #ABD21B
analogous
#1B50D2 #421BD2 #9E1BD2
triadic
#421BD2 #D2421B #1BD242
tetradic
#421BD2 #D21B50 #ABD21B #1BD29E
square
#421BD2 #D21B50 #ABD21B #1BD29E
split-complementary
#421BD2 #D29E1B #50D21B
monochromatic
#200D66 #31149C #421BD2 #6643E7 #927AEE

Accessibility & contrast

On white

9.06
#421BD2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#421BD2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421BD2
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421BD2#FFFFFF#000000##FFFFFF
##421BD21.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FD7
Deuteranopia (green-blind)
#0041CF
Tritanopia (blue-blind)
#00597D
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #421bd2;
/* rgb */ color: rgb(66, 27, 210);
/* oklch */ color: oklch(43.3% 0.247 278.3);
Tailwind
colors: {
  custom: {
    50: '#8c62e1',
    500: '#421bd2',
    950: '#000000',
  },
}
SCSS
$custom: #421bd2;
$custom-light: #8c62e1;
$custom-dark: #000000;
JSON
{
  "hex": "#421bd2",
  "rgb": {
    "r": 66,
    "g": 27,
    "b": 210
  },
  "hsl": {
    "h": 252.787,
    "s": 77.215,
    "l": 46.471
  },
  "oklch": {
    "l": 0.43333,
    "c": 0.24653,
    "h": 278.3
  },
  "luminance": 0.06595
}

Semantic roles & 50–950 ramp

primary
#421BD2
secondary
#C0D573
accent
#F434CB
background
#F9F6FE
surface
#F2EBFC
border
#CCC6D5
text
#0E0616
muted
#7E7A84

Preview Lab

Preview with #421BD2

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

Preview Lab → · Contrast checker → · Palette generator →

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