#421CE2#421CE2

#421CE2 is a mid, highly saturated violet. Relative luminance 0.075; OKLCH L 45.2% C 0.263 H 276.5°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#421CE2
RGBrgb(66, 28, 226)
HSLhsl(252, 78%, 50%)
HSVhsv(252, 88%, 89%)
CMYKcmyk(70.8%, 87.6%, 0%, 11.4%)
CIE-LABlab(32.87, 67.62, -90.40)
CIE-LCHlch(32.87, 112.89, 306.80°)
OKLaboklab(45.24% 0.0297 -0.2611)
OKLCHoklch(45.24% 0.263 276.5)
XYZxyz(16.3850, 7.4782, 72.5167)
Luminance0.0748 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421CE2 #BCE21C
analogous
#1C59E2 #421CE2 #A51CE2
triadic
#421CE2 #E2421C #1CE242
tetradic
#421CE2 #E21C59 #BCE21C #1CE2A5
square
#421CE2 #E21C59 #BCE21C #1CE2A5
split-complementary
#421CE2 #E2A51C #59E21C
monochromatic
#220F75 #3215AC #421CE2 #6F52EA #9C88F0

Accessibility & contrast

On white

8.41
#421CE2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#421CE2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421CE2
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421CE2#FFFFFF#000000##FFFFFF
##421CE21.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055E7
Deuteranopia (green-blind)
#0045DF
Tritanopia (blue-blind)
#006186
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #421ce2;
/* rgb */ color: rgb(66, 28, 226);
/* oklch */ color: oklch(45.2% 0.263 276.5);
Tailwind
colors: {
  custom: {
    50: '#8f64ed',
    500: '#421ce2',
    950: '#000000',
  },
}
SCSS
$custom: #421ce2;
$custom-light: #8f64ed;
$custom-dark: #000000;
JSON
{
  "hex": "#421ce2",
  "rgb": {
    "r": 66,
    "g": 28,
    "b": 226
  },
  "hsl": {
    "h": 251.515,
    "s": 77.953,
    "l": 49.804
  },
  "oklch": {
    "l": 0.45236,
    "c": 0.26275,
    "h": 276.5
  },
  "luminance": 0.0748
}

Semantic roles & 50–950 ramp

primary
#421CE2
secondary
#C9DA80
accent
#F433CF
background
#F9F6FE
surface
#F2EBFD
border
#CCC6D5
text
#0F0617
muted
#7E7A85

Preview Lab

Preview with #421CE2

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

Preview Lab → · Contrast checker → · Palette generator →

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