#421AA1#421AA1

#421AA1 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.8% C 0.194 H 286.0°. Best body text is #FFFFFF at 11.09:1 contrast (WCAG AA passes).

Color values

HEX#421AA1
RGBrgb(66, 26, 161)
HSLhsl(258, 72%, 37%)
HSVhsv(258, 84%, 63%)
CMYKcmyk(59%, 83.9%, 0%, 36.9%)
CIE-LABlab(25.17, 50.85, -64.84)
CIE-LCHlch(25.17, 82.40, 308.11°)
OKLaboklab(37.82% 0.0536 -0.1868)
OKLCHoklch(37.82% 0.194 286)
XYZxyz(9.0472, 4.4697, 34.0973)
Luminance0.0447 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421AA1 #79A11A
analogous
#1A35A1 #421AA1 #861AA1
triadic
#421AA1 #A1421A #1AA142
tetradic
#421AA1 #A11A35 #79A11A #1AA186
square
#421AA1 #A11A35 #79A11A #1AA186
split-complementary
#421AA1 #A1861A #35A11A
monochromatic
#170938 #2C116C #421AA1 #5823D6 #7D52E3

Accessibility & contrast

On white

11.09
#421AA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#421AA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421AA1
11.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421AA1#FFFFFF#000000##FFFFFF
##421AA11.0011.091.8911.09
#FFFFFF11.091.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003FA5
Deuteranopia (green-blind)
#00389F
Tritanopia (blue-blind)
#0D4460
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #421aa1;
/* rgb */ color: rgb(66, 26, 161);
/* oklch */ color: oklch(37.8% 0.194 286.0);
Tailwind
colors: {
  custom: {
    50: '#835ebe',
    500: '#421aa1',
    950: '#000000',
  },
}
SCSS
$custom: #421aa1;
$custom-light: #835ebe;
$custom-dark: #000000;
JSON
{
  "hex": "#421aa1",
  "rgb": {
    "r": 66,
    "g": 26,
    "b": 161
  },
  "hsl": {
    "h": 257.778,
    "s": 72.193,
    "l": 36.667
  },
  "oklch": {
    "l": 0.37825,
    "c": 0.19431,
    "h": 286
  },
  "luminance": 0.0447
}

Semantic roles & 50–950 ramp

primary
#421AA1
secondary
#A3C651
accent
#EF39B9
background
#F8F5FB
surface
#F0E9F7
border
#CBC5D0
text
#0C0512
muted
#7D7981

Preview Lab

Preview with #421AA1

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

Preview Lab → · Contrast checker → · Palette generator →

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