#421EBC#421EBC

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

Color values

HEX#421EBC
RGBrgb(66, 30, 188)
HSLhsl(254, 72%, 43%)
HSVhsv(254, 84%, 74%)
CMYKcmyk(64.9%, 84%, 0%, 26.3%)
CIE-LABlab(28.69, 56.72, -75.22)
CIE-LCHlch(28.69, 94.21, 307.02°)
OKLaboklab(41.12% 0.042 -0.2171)
OKLCHoklch(41.12% 0.221 281)
XYZxyz(11.7853, 5.7167, 48.0496)
Luminance0.0572 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421EBC #98BC1E
analogous
#1E49BC #421EBC #911EBC
triadic
#421EBC #BC421E #1EBC42
tetradic
#421EBC #BC1E49 #98BC1E #1EBC91
square
#421EBC #BC1E49 #98BC1E #1EBC91
split-complementary
#421EBC #BC911E #49BC1E
monochromatic
#1D0D52 #2F1687 #421EBC #5E38DF #896DE8

Accessibility & contrast

On white

9.80
#421EBC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#421EBC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421EBC
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421EBC#FFFFFF#000000##FFFFFF
##421EBC1.009.802.149.80
#FFFFFF9.801.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.801.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #421ebc;
/* rgb */ color: rgb(66, 30, 188);
/* oklch */ color: oklch(41.1% 0.221 281.0);
Tailwind
colors: {
  custom: {
    50: '#8862d2',
    500: '#421ebc',
    950: '#000000',
  },
}
SCSS
$custom: #421ebc;
$custom-light: #8862d2;
$custom-dark: #000000;
JSON
{
  "hex": "#421ebc",
  "rgb": {
    "r": 66,
    "g": 30,
    "b": 188
  },
  "hsl": {
    "h": 253.671,
    "s": 72.477,
    "l": 42.745
  },
  "oklch": {
    "l": 0.41115,
    "c": 0.22111,
    "h": 281
  },
  "luminance": 0.05718
}

Semantic roles & 50–950 ramp

primary
#421EBC
secondary
#B7CE68
accent
#EF39C6
background
#F9F6FD
surface
#F1EBFA
border
#CBC6D3
text
#0D0514
muted
#7E7A83

Preview Lab

Preview with #421EBC

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

Preview Lab → · Contrast checker → · Palette generator →

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