#421D85#421D85

#421D85 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.3% C 0.160 H 292.4°. Best body text is #FFFFFF at 12.03:1 contrast (WCAG AA passes).

Color values

HEX#421D85
RGBrgb(66, 29, 133)
HSLhsl(261, 64%, 32%)
HSVhsv(261, 78%, 52%)
CMYKcmyk(50.4%, 78.2%, 0%, 47.8%)
CIE-LABlab(22.76, 41.70, -51.49)
CIE-LCHlch(22.76, 66.26, 309.01°)
OKLaboklab(35.29% 0.0608 -0.1478)
OKLCHoklch(35.29% 0.16 292.4)
XYZxyz(6.9186, 3.7302, 22.5412)
Luminance0.0373 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421D85 #60851D
analogous
#1D2C85 #421D85 #761D85
triadic
#421D85 #85421D #1D8542
tetradic
#421D85 #851D2C #60851D #1D8576
square
#421D85 #851D2C #60851D #1D8576
split-complementary
#421D85 #85761D #2C851D
monochromatic
#100721 #291253 #421D85 #5B28B7 #7946D7

Accessibility & contrast

On white

12.03
#421D85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#421D85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421D85
12.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421D85#FFFFFF#000000##FFFFFF
##421D851.0012.031.7512.03
#FFFFFF12.031.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003888
Deuteranopia (green-blind)
#003483
Tritanopia (blue-blind)
#2C3A50
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #421d85;
/* rgb */ color: rgb(66, 29, 133);
/* oklch */ color: oklch(35.3% 0.160 292.4);
Tailwind
colors: {
  custom: {
    50: '#7e5da9',
    500: '#421d85',
    950: '#000000',
  },
}
SCSS
$custom: #421d85;
$custom-light: #7e5da9;
$custom-dark: #000000;
JSON
{
  "hex": "#421d85",
  "rgb": {
    "r": 66,
    "g": 29,
    "b": 133
  },
  "hsl": {
    "h": 261.346,
    "s": 64.198,
    "l": 31.765
  },
  "oklch": {
    "l": 0.35293,
    "c": 0.15982,
    "h": 292.4
  },
  "luminance": 0.0373
}

Semantic roles & 50–950 ramp

primary
#421D85
secondary
#8FB846
accent
#E741AC
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B0410
muted
#7C797F

Preview Lab

Preview with #421D85

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

Preview Lab → · Contrast checker → · Palette generator →

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