#421D9C#421D9C

#421D9C is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.6% C 0.186 H 286.7°. Best body text is #FFFFFF at 11.13:1 contrast (WCAG AA passes).

Color values

HEX#421D9C
RGBrgb(66, 29, 156)
HSLhsl(257, 69%, 36%)
HSVhsv(257, 81%, 61%)
CMYKcmyk(57.7%, 81.4%, 0%, 38.8%)
CIE-LABlab(25.07, 48.20, -61.95)
CIE-LCHlch(25.07, 78.49, 307.88°)
OKLaboklab(37.6% 0.0536 -0.1784)
OKLCHoklch(37.6% 0.186 286.7)
XYZxyz(8.6851, 4.4368, 31.8448)
Luminance0.0444 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421D9C #779C1D
analogous
#1D389C #421D9C #821D9C
triadic
#421D9C #9C421D #1D9C42
tetradic
#421D9C #9C1D38 #779C1D #1D9C82
square
#421D9C #9C1D38 #779C1D #1D9C82
split-complementary
#421D9C #9C821D #389C1D
monochromatic
#160A35 #2C1368 #421D9C #5827D0 #7D54DF

Accessibility & contrast

On white

11.13
#421D9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #421D9C
11.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421D9C#FFFFFF#000000##FFFFFF
##421D9C1.0011.131.8911.13
#FFFFFF11.131.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E9F
Deuteranopia (green-blind)
#00389A
Tritanopia (blue-blind)
#16435D
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #421d9c;
/* rgb */ color: rgb(66, 29, 156);
/* oklch */ color: oklch(37.6% 0.186 286.7);
Tailwind
colors: {
  custom: {
    50: '#825fba',
    500: '#421d9c',
    950: '#000000',
  },
}
SCSS
$custom: #421d9c;
$custom-light: #825fba;
$custom-dark: #000000;
JSON
{
  "hex": "#421d9c",
  "rgb": {
    "r": 66,
    "g": 29,
    "b": 156
  },
  "hsl": {
    "h": 257.48,
    "s": 68.649,
    "l": 36.275
  },
  "oklch": {
    "l": 0.37596,
    "c": 0.18628,
    "h": 286.7
  },
  "luminance": 0.04437
}

Semantic roles & 50–950 ramp

primary
#421D9C
secondary
#A2C252
accent
#EB3CB8
background
#F8F5FB
surface
#F0E9F6
border
#CBC5D0
text
#0C0512
muted
#7D7981

Preview Lab

Preview with #421D9C

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

Preview Lab → · Contrast checker → · Palette generator →

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