#421D7D#421D7D

#421D7D is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.5% C 0.150 H 294.8°. Best body text is #FFFFFF at 12.33:1 contrast (WCAG AA passes).

Color values

HEX#421D7D
RGBrgb(66, 29, 125)
HSLhsl(263, 62%, 30%)
HSVhsv(263, 77%, 49%)
CMYKcmyk(47.2%, 76.8%, 0%, 51%)
CIE-LABlab(22.01, 39.45, -47.67)
CIE-LCHlch(22.01, 61.87, 309.61°)
OKLaboklab(34.53% 0.063 -0.1366)
OKLCHoklch(34.53% 0.15 294.8)
XYZxyz(6.3868, 3.5175, 19.7405)
Luminance0.0352 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421D7D #587D1D
analogous
#1D287D #421D7D #721D7D
triadic
#421D7D #7D421D #1D7D42
tetradic
#421D7D #7D1D28 #587D1D #1D7D72
square
#421D7D #7D1D28 #587D1D #1D7D72
split-complementary
#421D7D #7D721D #287D1D
monochromatic
#0E061A #28114B #421D7D #5C29AF #7A41D3

Accessibility & contrast

On white

12.33
#421D7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#421D7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421D7D
12.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421D7D#FFFFFF#000000##FFFFFF
##421D7D1.0012.331.7012.33
#FFFFFF12.331.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003680
Deuteranopia (green-blind)
#00337B
Tritanopia (blue-blind)
#31364B
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #421d7d;
/* rgb */ color: rgb(66, 29, 125);
/* oklch */ color: oklch(34.5% 0.150 294.8);
Tailwind
colors: {
  custom: {
    50: '#7d5da3',
    500: '#421d7d',
    950: '#000000',
  },
}
SCSS
$custom: #421d7d;
$custom-light: #7d5da3;
$custom-dark: #000000;
JSON
{
  "hex": "#421d7d",
  "rgb": {
    "r": 66,
    "g": 29,
    "b": 125
  },
  "hsl": {
    "h": 263.125,
    "s": 62.338,
    "l": 30.196
  },
  "oklch": {
    "l": 0.34535,
    "c": 0.15041,
    "h": 294.8
  },
  "luminance": 0.03518
}

Semantic roles & 50–950 ramp

primary
#421D7D
secondary
#87B145
accent
#E542A7
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A040F
muted
#7C797F

Preview Lab

Preview with #421D7D

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

Preview Lab → · Contrast checker → · Palette generator →

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