#421E8A#421E8A

#421E8A is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.9% C 0.165 H 290.8°. Best body text is #FFFFFF at 11.77:1 contrast (WCAG AA passes).

Color values

HEX#421E8A
RGBrgb(66, 30, 138)
HSLhsl(260, 64%, 33%)
HSVhsv(260, 78%, 54%)
CMYKcmyk(52.2%, 78.3%, 0%, 45.9%)
CIE-LABlab(23.41, 42.64, -53.55)
CIE-LCHlch(23.41, 68.45, 308.53°)
OKLaboklab(35.9% 0.0585 -0.1538)
OKLCHoklch(35.9% 0.165 290.8)
XYZxyz(7.2972, 3.9215, 24.4123)
Luminance0.0392 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421E8A #668A1E
analogous
#1E308A #421E8A #781E8A
triadic
#421E8A #8A421E #1E8A42
tetradic
#421E8A #8A1E30 #668A1E #1E8A78
square
#421E8A #8A1E30 #668A1E #1E8A78
split-complementary
#421E8A #8A781E #308A1E
monochromatic
#120825 #2A1358 #421E8A #5A29BC #7A4BD8

Accessibility & contrast

On white

11.77
#421E8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#421E8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421E8A
11.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421E8A#FFFFFF#000000##FFFFFF
##421E8A1.0011.771.7811.77
#FFFFFF11.771.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A8D
Deuteranopia (green-blind)
#003588
Tritanopia (blue-blind)
#293C53
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #421e8a;
/* rgb */ color: rgb(66, 30, 138);
/* oklch */ color: oklch(35.9% 0.165 290.8);
Tailwind
colors: {
  custom: {
    50: '#7f5ead',
    500: '#421e8a',
    950: '#000000',
  },
}
SCSS
$custom: #421e8a;
$custom-light: #7f5ead;
$custom-dark: #000000;
JSON
{
  "hex": "#421e8a",
  "rgb": {
    "r": 66,
    "g": 30,
    "b": 138
  },
  "hsl": {
    "h": 260,
    "s": 64.286,
    "l": 32.941
  },
  "oklch": {
    "l": 0.35896,
    "c": 0.16461,
    "h": 290.8
  },
  "luminance": 0.03922
}

Semantic roles & 50–950 ramp

primary
#421E8A
secondary
#95BA4A
accent
#E741B0
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #421E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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