#421D7A#421D7A

#421D7A is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.3% C 0.147 H 295.7°. Best body text is #FFFFFF at 12.44:1 contrast (WCAG AA passes).

Color values

HEX#421D7A
RGBrgb(66, 29, 122)
HSLhsl(264, 62%, 30%)
HSVhsv(264, 76%, 48%)
CMYKcmyk(45.9%, 76.2%, 0%, 52.2%)
CIE-LABlab(21.73, 38.61, -46.20)
CIE-LCHlch(21.73, 60.21, 309.88°)
OKLaboklab(34.26% 0.0638 -0.1323)
OKLCHoklch(34.26% 0.147 295.7)
XYZxyz(6.1980, 3.4420, 18.7464)
Luminance0.0344 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421D7A #557A1D
analogous
#1D277A #421D7A #711D7A
triadic
#421D7A #7A421D #1D7A42
tetradic
#421D7A #7A1D27 #557A1D #1D7A71
square
#421D7A #7A1D27 #557A1D #1D7A71
split-complementary
#421D7A #7A711D #277A1D
monochromatic
#0D0619 #271149 #421D7A #5D29AB #7A40D2

Accessibility & contrast

On white

12.44
#421D7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#421D7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421D7A
12.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421D7A#FFFFFF#000000##FFFFFF
##421D7A1.0012.441.6912.44
#FFFFFF12.441.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00357D
Deuteranopia (green-blind)
#003378
Tritanopia (blue-blind)
#33354A
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #421d7a;
/* rgb */ color: rgb(66, 29, 122);
/* oklch */ color: oklch(34.3% 0.147 295.7);
Tailwind
colors: {
  custom: {
    50: '#7c5da1',
    500: '#421d7a',
    950: '#000000',
  },
}
SCSS
$custom: #421d7a;
$custom-light: #7c5da1;
$custom-dark: #000000;
JSON
{
  "hex": "#421d7a",
  "rgb": {
    "r": 66,
    "g": 29,
    "b": 122
  },
  "hsl": {
    "h": 263.871,
    "s": 61.589,
    "l": 29.608
  },
  "oklch": {
    "l": 0.34257,
    "c": 0.14686,
    "h": 295.7
  },
  "luminance": 0.03442
}

Semantic roles & 50–950 ramp

primary
#421D7A
secondary
#84AE45
accent
#E543A4
background
#F7F5FA
surface
#EEE9F3
border
#C9C5CD
text
#0A040F
muted
#7C797F

Preview Lab

Preview with #421D7A

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

Preview Lab → · Contrast checker → · Palette generator →

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