#421A97#421A97

#421A97 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.8% C 0.183 H 288.2°. Best body text is #FFFFFF at 11.50:1 contrast (WCAG AA passes).

Color values

HEX#421A97
RGBrgb(66, 26, 151)
HSLhsl(259, 71%, 35%)
HSVhsv(259, 83%, 59%)
CMYKcmyk(56.3%, 82.8%, 0%, 40.8%)
CIE-LABlab(24.10, 48.09, -60.48)
CIE-LCHlch(24.10, 77.27, 308.49°)
OKLaboklab(36.77% 0.0572 -0.1741)
OKLCHoklch(36.77% 0.183 288.2)
XYZxyz(8.2004, 4.1310, 29.6374)
Luminance0.0413 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421A97 #6F971A
analogous
#1A3197 #421A97 #811A97
triadic
#421A97 #97421A #1A9742
tetradic
#421A97 #971A31 #6F971A #1A9781
square
#421A97 #971A31 #6F971A #1A9781
split-complementary
#421A97 #97811A #31971A
monochromatic
#14082F #2B1163 #421A97 #5923CB #7B4BE0

Accessibility & contrast

On white

11.50
#421A97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#421A97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421A97
11.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421A97#FFFFFF#000000##FFFFFF
##421A971.0011.501.8311.50
#FFFFFF11.501.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C9A
Deuteranopia (green-blind)
#003695
Tritanopia (blue-blind)
#1D405A
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #421a97;
/* rgb */ color: rgb(66, 26, 151);
/* oklch */ color: oklch(36.8% 0.183 288.2);
Tailwind
colors: {
  custom: {
    50: '#815db7',
    500: '#421a97',
    950: '#000000',
  },
}
SCSS
$custom: #421a97;
$custom-light: #815db7;
$custom-dark: #000000;
JSON
{
  "hex": "#421a97",
  "rgb": {
    "r": 66,
    "g": 26,
    "b": 151
  },
  "hsl": {
    "h": 259.2,
    "s": 70.621,
    "l": 34.706
  },
  "oklch": {
    "l": 0.36772,
    "c": 0.18321,
    "h": 288.2
  },
  "luminance": 0.04131
}

Semantic roles & 50–950 ramp

primary
#421A97
secondary
#9CC24B
accent
#ED3AB4
background
#F8F5FB
surface
#F0E9F6
border
#CBC5D0
text
#0B0411
muted
#7C7980

Preview Lab

Preview with #421A97

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

Preview Lab → · Contrast checker → · Palette generator →

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