#421F9A#421F9A

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

Color values

HEX#421F9A
RGBrgb(66, 31, 154)
HSLhsl(257, 66%, 36%)
HSVhsv(257, 80%, 60%)
CMYKcmyk(57.1%, 79.9%, 0%, 39.6%)
CIE-LABlab(25.17, 46.73, -60.56)
CIE-LCHlch(25.17, 76.49, 307.66°)
OKLaboklab(37.61% 0.0529 -0.1743)
OKLCHoklch(37.61% 0.182 286.9)
XYZxyz(8.5677, 4.4708, 30.9771)
Luminance0.0447 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421F9A #779A1F
analogous
#1F3A9A #421F9A #801F9A
triadic
#421F9A #9A421F #1F9A42
tetradic
#421F9A #9A1F3A #779A1F #1F9A80
square
#421F9A #9A1F3A #779A1F #1F9A80
split-complementary
#421F9A #9A801F #3A9A1F
monochromatic
#160A34 #2C1567 #421F9A #5829CD #7D56DD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##421F9A#FFFFFF#000000##FFFFFF
##421F9A1.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)
#003F9D
Deuteranopia (green-blind)
#003898
Tritanopia (blue-blind)
#19435C
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #421f9a;
/* rgb */ color: rgb(66, 31, 154);
/* oklch */ color: oklch(37.6% 0.182 286.9);
Tailwind
colors: {
  custom: {
    50: '#8160b9',
    500: '#421f9a',
    950: '#000000',
  },
}
SCSS
$custom: #421f9a;
$custom-light: #8160b9;
$custom-dark: #000000;
JSON
{
  "hex": "#421f9a",
  "rgb": {
    "r": 66,
    "g": 31,
    "b": 154
  },
  "hsl": {
    "h": 257.073,
    "s": 66.486,
    "l": 36.275
  },
  "oklch": {
    "l": 0.37607,
    "c": 0.1822,
    "h": 286.9
  },
  "luminance": 0.04471
}

Semantic roles & 50–950 ramp

primary
#421F9A
secondary
#A2C154
accent
#E93EB9
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #421F9A

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

Preview Lab → · Contrast checker → · Palette generator →

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