#421A9E#421A9E

#421A9E is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.5% C 0.191 H 286.6°. Best body text is #FFFFFF at 11.21:1 contrast (WCAG AA passes).

Color values

HEX#421A9E
RGBrgb(66, 26, 158)
HSLhsl(258, 72%, 36%)
HSVhsv(258, 84%, 62%)
CMYKcmyk(58.2%, 83.5%, 0%, 38%)
CIE-LABlab(24.84, 50.02, -63.54)
CIE-LCHlch(24.84, 80.87, 308.21°)
OKLaboklab(37.51% 0.0547 -0.183)
OKLCHoklch(37.51% 0.191 286.6)
XYZxyz(8.7859, 4.3652, 32.7207)
Luminance0.0437 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421A9E #769E1A
analogous
#1A349E #421A9E #841A9E
triadic
#421A9E #9E421A #1A9E42
tetradic
#421A9E #9E1A34 #769E1A #1A9E84
square
#421A9E #9E1A34 #769E1A #1A9E84
split-complementary
#421A9E #9E841A #349E1A
monochromatic
#160935 #2C1169 #421A9E #5823D3 #7C50E2

Accessibility & contrast

On white

11.21
#421A9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#421A9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421A9E
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421A9E#FFFFFF#000000##FFFFFF
##421A9E1.0011.211.8711.21
#FFFFFF11.211.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003EA2
Deuteranopia (green-blind)
#00379C
Tritanopia (blue-blind)
#13435E
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #421a9e;
/* rgb */ color: rgb(66, 26, 158);
/* oklch */ color: oklch(37.5% 0.191 286.6);
Tailwind
colors: {
  custom: {
    50: '#825ebc',
    500: '#421a9e',
    950: '#000000',
  },
}
SCSS
$custom: #421a9e;
$custom-light: #825ebc;
$custom-dark: #000000;
JSON
{
  "hex": "#421a9e",
  "rgb": {
    "r": 66,
    "g": 26,
    "b": 158
  },
  "hsl": {
    "h": 258.182,
    "s": 71.739,
    "l": 36.078
  },
  "oklch": {
    "l": 0.37506,
    "c": 0.191,
    "h": 286.6
  },
  "luminance": 0.04366
}

Semantic roles & 50–950 ramp

primary
#421A9E
secondary
#A1C54F
accent
#EE39B8
background
#F8F5FB
surface
#F0E9F7
border
#CBC5D0
text
#0C0512
muted
#7D7981

Preview Lab

Preview with #421A9E

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

Preview Lab → · Contrast checker → · Palette generator →

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