#421D9D#421D9D

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

Color values

HEX#421D9D
RGBrgb(66, 29, 157)
HSLhsl(257, 69%, 36%)
HSVhsv(257, 82%, 62%)
CMYKcmyk(58%, 81.5%, 0%, 38.4%)
CIE-LABlab(25.17, 48.48, -62.39)
CIE-LCHlch(25.17, 79.01, 307.85°)
OKLaboklab(37.7% 0.0532 -0.1797)
OKLCHoklch(37.7% 0.187 286.5)
XYZxyz(8.7701, 4.4708, 32.2926)
Luminance0.0447 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421D9D #789D1D
analogous
#1D389D #421D9D #821D9D
triadic
#421D9D #9D421D #1D9D42
tetradic
#421D9D #9D1D38 #789D1D #1D9D82
square
#421D9D #9D1D38 #789D1D #1D9D82
split-complementary
#421D9D #9D821D #389D1D
monochromatic
#170A36 #2C1369 #421D9D #5827D1 #7D55E0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##421D9D#FFFFFF#000000##FFFFFF
##421D9D1.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)
#003FA0
Deuteranopia (green-blind)
#00389B
Tritanopia (blue-blind)
#14435E
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #421d9d;
/* rgb */ color: rgb(66, 29, 157);
/* oklch */ color: oklch(37.7% 0.187 286.5);
Tailwind
colors: {
  custom: {
    50: '#825fbb',
    500: '#421d9d',
    950: '#000000',
  },
}
SCSS
$custom: #421d9d;
$custom-light: #825fbb;
$custom-dark: #000000;
JSON
{
  "hex": "#421d9d",
  "rgb": {
    "r": 66,
    "g": 29,
    "b": 157
  },
  "hsl": {
    "h": 257.344,
    "s": 68.817,
    "l": 36.471
  },
  "oklch": {
    "l": 0.377,
    "c": 0.18741,
    "h": 286.5
  },
  "luminance": 0.04471
}

Semantic roles & 50–950 ramp

primary
#421D9D
secondary
#A2C353
accent
#EC3CB9
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0512
muted
#7D7981

Preview Lab

Preview with #421D9D

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

Preview Lab → · Contrast checker → · Palette generator →

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