#421E99#421E99

#421E99 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.4% C 0.182 H 287.2°. Best body text is #FFFFFF at 11.19:1 contrast (WCAG AA passes).

Color values

HEX#421E99
RGBrgb(66, 30, 153)
HSLhsl(258, 67%, 36%)
HSVhsv(258, 80%, 60%)
CMYKcmyk(56.9%, 80.4%, 0%, 40%)
CIE-LABlab(24.91, 46.90, -60.37)
CIE-LCHlch(24.91, 76.45, 307.84°)
OKLaboklab(37.4% 0.0539 -0.1738)
OKLCHoklch(37.4% 0.182 287.2)
XYZxyz(8.4591, 4.3862, 30.5317)
Luminance0.0439 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421E99 #75991E
analogous
#1E3799 #421E99 #7F1E99
triadic
#421E99 #99421E #1E9942
tetradic
#421E99 #991E37 #75991E #1E997F
square
#421E99 #991E37 #75991E #1E997F
split-complementary
#421E99 #997F1E #37991E
monochromatic
#160A33 #2C1466 #421E99 #5828CC #7C54DD

Accessibility & contrast

On white

11.19
#421E99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#421E99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421E99
11.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421E99#FFFFFF#000000##FFFFFF
##421E991.0011.191.8811.19
#FFFFFF11.191.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E9C
Deuteranopia (green-blind)
#003897
Tritanopia (blue-blind)
#1A425C
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #421e99;
/* rgb */ color: rgb(66, 30, 153);
/* oklch */ color: oklch(37.4% 0.182 287.2);
Tailwind
colors: {
  custom: {
    50: '#815fb8',
    500: '#421e99',
    950: '#000000',
  },
}
SCSS
$custom: #421e99;
$custom-light: #815fb8;
$custom-dark: #000000;
JSON
{
  "hex": "#421e99",
  "rgb": {
    "r": 66,
    "g": 30,
    "b": 153
  },
  "hsl": {
    "h": 257.561,
    "s": 67.213,
    "l": 35.882
  },
  "oklch": {
    "l": 0.37395,
    "c": 0.18197,
    "h": 287.2
  },
  "luminance": 0.04387
}

Semantic roles & 50–950 ramp

primary
#421E99
secondary
#A0C152
accent
#EA3EB8
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #421E99

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

Preview Lab → · Contrast checker → · Palette generator →

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