#420D4A#420D4A

#420D4A is a dark, moderate purple. Relative luminance 0.019; OKLCH L 28.4% C 0.114 H 322.1°. Best body text is #FFFFFF at 15.13:1 contrast (WCAG AA passes).

Color values

HEX#420D4A
RGBrgb(66, 13, 74)
HSLhsl(292, 70%, 17%)
HSVhsv(292, 82%, 29%)
CMYKcmyk(10.8%, 82.4%, 0%, 71%)
CIE-LABlab(15.17, 33.96, -25.06)
CIE-LCHlch(15.17, 42.21, 323.58°)
OKLaboklab(28.37% 0.0899 -0.0701)
OKLCHoklch(28.37% 0.114 322.1)
XYZxyz(3.6266, 1.9407, 6.6608)
Luminance0.0194 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#420D4A #154A0D
analogous
#240D4A #420D4A #4A0D34
triadic
#420D4A #4A420D #0D4A42
tetradic
#420D4A #4A240D #154A0D #0D344A
square
#420D4A #4A240D #154A0D #0D344A
split-complementary
#420D4A #344A0D #0D4A24
monochromatic
#17051A #17051A #420D4A #70167E #9F1FB2

Accessibility & contrast

On white

15.13
#420D4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #420D4A
15.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##420D4A#FFFFFF#000000##FFFFFF
##420D4A1.0015.131.3915.13
#FFFFFF15.131.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.131.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #420d4a;
/* rgb */ color: rgb(66, 13, 74);
/* oklch */ color: oklch(28.4% 0.114 322.1);
Tailwind
colors: {
  custom: {
    50: '#79527d',
    500: '#420d4a',
    950: '#000000',
  },
}
SCSS
$custom: #420d4a;
$custom-light: #79527d;
$custom-dark: #000000;
JSON
{
  "hex": "#420d4a",
  "rgb": {
    "r": 66,
    "g": 13,
    "b": 74
  },
  "hsl": {
    "h": 292.131,
    "s": 70.115,
    "l": 17.059
  },
  "oklch": {
    "l": 0.28367,
    "c": 0.11396,
    "h": 322.1
  },
  "luminance": 0.01941
}

Semantic roles & 50–950 ramp

primary
#420D4A
secondary
#39852E
accent
#ED3B52
background
#F7F4F7
surface
#EEE7EE
border
#C9C3C9
text
#090309
muted
#7B787B

Preview Lab

Preview with #420D4A

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

Preview Lab → · Contrast checker → · Palette generator →

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