#420E4A#420E4A

#420E4A is a dark, moderate purple. Relative luminance 0.020; OKLCH L 28.5% C 0.113 H 322.0°. Best body text is #FFFFFF at 15.07:1 contrast (WCAG AA passes).

Color values

HEX#420E4A
RGBrgb(66, 14, 74)
HSLhsl(292, 68%, 17%)
HSVhsv(292, 81%, 29%)
CMYKcmyk(10.8%, 81.1%, 0%, 71%)
CIE-LABlab(15.31, 33.56, -24.83)
CIE-LCHlch(15.31, 41.75, 323.50°)
OKLaboklab(28.47% 0.0888 -0.0694)
OKLCHoklch(28.47% 0.113 322)
XYZxyz(3.6397, 1.9669, 6.6652)
Luminance0.0197 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#420E4A #164A0E
analogous
#240E4A #420E4A #4A0E34
triadic
#420E4A #4A420E #0E4A42
tetradic
#420E4A #4A240E #164A0E #0E344A
square
#420E4A #4A240E #164A0E #0E344A
split-complementary
#420E4A #344A0E #0E4A24
monochromatic
#17051A #17051A #420E4A #70187D #9E21B1

Accessibility & contrast

On white

15.07
#420E4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#420E4A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #420E4A
15.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##420E4A#FFFFFF#000000##FFFFFF
##420E4A1.0015.071.3915.07
#FFFFFF15.071.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00234C
Deuteranopia (green-blind)
#162849
Tritanopia (blue-blind)
#43192B
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #420e4a;
/* rgb */ color: rgb(66, 14, 74);
/* oklch */ color: oklch(28.5% 0.113 322.0);
Tailwind
colors: {
  custom: {
    50: '#79537d',
    500: '#420e4a',
    950: '#000000',
  },
}
SCSS
$custom: #420e4a;
$custom-light: #79537d;
$custom-dark: #000000;
JSON
{
  "hex": "#420e4a",
  "rgb": {
    "r": 66,
    "g": 14,
    "b": 74
  },
  "hsl": {
    "h": 292,
    "s": 68.182,
    "l": 17.255
  },
  "oklch": {
    "l": 0.28467,
    "c": 0.11271,
    "h": 322
  },
  "luminance": 0.01967
}

Semantic roles & 50–950 ramp

primary
#420E4A
secondary
#3A852F
accent
#EB3D54
background
#F7F4F7
surface
#EEE7EE
border
#C9C3C9
text
#090309
muted
#7B787B

Preview Lab

Preview with #420E4A

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

Preview Lab → · Contrast checker → · Palette generator →

#420E4A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva