#421D7C#421D7C

#421D7C is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.4% C 0.149 H 295.1°. Best body text is #FFFFFF at 12.36:1 contrast (WCAG AA passes).

Color values

HEX#421D7C
RGBrgb(66, 29, 124)
HSLhsl(263, 62%, 30%)
HSVhsv(263, 77%, 49%)
CMYKcmyk(46.8%, 76.6%, 0%, 51.4%)
CIE-LABlab(21.92, 39.17, -47.18)
CIE-LCHlch(21.92, 61.32, 309.70°)
OKLaboklab(34.44% 0.0633 -0.1352)
OKLCHoklch(34.44% 0.149 295.1)
XYZxyz(6.3232, 3.4921, 19.4058)
Luminance0.0349 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421D7C #577C1D
analogous
#1D287C #421D7C #711D7C
triadic
#421D7C #7C421D #1D7C42
tetradic
#421D7C #7C1D28 #577C1D #1D7C71
square
#421D7C #7C1D28 #577C1D #1D7C71
split-complementary
#421D7C #7C711D #287C1D
monochromatic
#0D0619 #28114A #421D7C #5C29AE #7A41D3

Accessibility & contrast

On white

12.36
#421D7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #421D7C
12.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421D7C#FFFFFF#000000##FFFFFF
##421D7C1.0012.361.7012.36
#FFFFFF12.361.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00357F
Deuteranopia (green-blind)
#00337A
Tritanopia (blue-blind)
#32364B
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #421d7c;
/* rgb */ color: rgb(66, 29, 124);
/* oklch */ color: oklch(34.4% 0.149 295.1);
Tailwind
colors: {
  custom: {
    50: '#7d5da3',
    500: '#421d7c',
    950: '#000000',
  },
}
SCSS
$custom: #421d7c;
$custom-light: #7d5da3;
$custom-dark: #000000;
JSON
{
  "hex": "#421d7c",
  "rgb": {
    "r": 66,
    "g": 29,
    "b": 124
  },
  "hsl": {
    "h": 263.368,
    "s": 62.092,
    "l": 30
  },
  "oklch": {
    "l": 0.34442,
    "c": 0.14924,
    "h": 295.1
  },
  "luminance": 0.03492
}

Semantic roles & 50–950 ramp

primary
#421D7C
secondary
#86B045
accent
#E543A6
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A040F
muted
#7C797F

Preview Lab

Preview with #421D7C

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

Preview Lab → · Contrast checker → · Palette generator →

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