#420D4C#420D4C

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

Color values

HEX#420D4C
RGBrgb(66, 13, 76)
HSLhsl(290, 71%, 17%)
HSVhsv(290, 83%, 30%)
CMYKcmyk(13.2%, 82.9%, 0%, 70.2%)
CIE-LABlab(15.32, 34.38, -26.20)
CIE-LCHlch(15.32, 43.23, 322.69°)
OKLaboklab(28.52% 0.0897 -0.0734)
OKLCHoklch(28.52% 0.116 320.7)
XYZxyz(3.6950, 1.9681, 7.0213)
Luminance0.0197 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#420D4C #174C0D
analogous
#220D4C #420D4C #4C0D37
triadic
#420D4C #4C420D #0D4C42
tetradic
#420D4C #4C220D #174C0D #0D374C
square
#420D4C #4C220D #174C0D #0D374C
split-complementary
#420D4C #374C0D #0D4C22
monochromatic
#17041A #17041A #420D4C #6F1680 #9D1FB5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##420D4C#FFFFFF#000000##FFFFFF
##420D4C1.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)
#00234E
Deuteranopia (green-blind)
#14284B
Tritanopia (blue-blind)
#421A2C
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #420d4c;
/* rgb */ color: rgb(66, 13, 76);
/* oklch */ color: oklch(28.5% 0.116 320.7);
Tailwind
colors: {
  custom: {
    50: '#79537e',
    500: '#420d4c',
    950: '#000000',
  },
}
SCSS
$custom: #420d4c;
$custom-light: #79537e;
$custom-dark: #000000;
JSON
{
  "hex": "#420d4c",
  "rgb": {
    "r": 66,
    "g": 13,
    "b": 76
  },
  "hsl": {
    "h": 290.476,
    "s": 70.787,
    "l": 17.451
  },
  "oklch": {
    "l": 0.28517,
    "c": 0.11589,
    "h": 320.7
  },
  "luminance": 0.01968
}

Semantic roles & 50–950 ramp

primary
#420D4C
secondary
#3C872E
accent
#EE3A57
background
#F7F4F7
surface
#EEE7EE
border
#C9C3C9
text
#09030A
muted
#7B787C

Preview Lab

Preview with #420D4C

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

Preview Lab → · Contrast checker → · Palette generator →

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