#420A42#420A42

#420A42 is a dark, moderate purple. Relative luminance 0.018; OKLCH L 27.5% C 0.110 H 328.1°. Best body text is #FFFFFF at 15.51:1 contrast (WCAG AA passes).

Color values

HEX#420A42
RGBrgb(66, 10, 66)
HSLhsl(300, 74%, 15%)
HSVhsv(300, 85%, 26%)
CMYKcmyk(0%, 84.8%, 0%, 74.1%)
CIE-LABlab(14.22, 33.47, -21.00)
CIE-LCHlch(14.22, 39.51, 327.90°)
OKLaboklab(27.51% 0.0934 -0.0582)
OKLCHoklch(27.51% 0.11 328.1)
XYZxyz(3.3386, 1.7689, 5.3188)
Luminance0.0177 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#420A42 #0A420A
analogous
#260A42 #420A42 #420A26
triadic
#420A42 #42420A #0A4242
tetradic
#420A42 #42260A #0A420A #0A2642
square
#420A42 #42260A #0A420A #0A2642
split-complementary
#420A42 #26420A #0A4226
monochromatic
#1B041B #1B041B #420A42 #771277 #AC1AAC

Accessibility & contrast

On white

15.51
#420A42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#420A42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #420A42
15.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##420A42#FFFFFF#000000##FFFFFF
##420A421.0015.511.3515.51
#FFFFFF15.511.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#011F43
Deuteranopia (green-blind)
#1A2741
Tritanopia (blue-blind)
#441325
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #420a42;
/* rgb */ color: rgb(66, 10, 66);
/* oklch */ color: oklch(27.5% 0.110 328.1);
Tailwind
colors: {
  custom: {
    50: '#795176',
    500: '#420a42',
    950: '#000000',
  },
}
SCSS
$custom: #420a42;
$custom-light: #795176;
$custom-dark: #000000;
JSON
{
  "hex": "#420a42",
  "rgb": {
    "r": 66,
    "g": 10,
    "b": 66
  },
  "hsl": {
    "h": 300,
    "s": 73.684,
    "l": 14.902
  },
  "oklch": {
    "l": 0.27513,
    "c": 0.11007,
    "h": 328.1
  },
  "luminance": 0.01769
}

Semantic roles & 50–950 ramp

primary
#420A42
secondary
#297F29
accent
#F03737
background
#F7F4F7
surface
#EEE7ED
border
#C9C3C8
text
#090208
muted
#7B787B

Preview Lab

Preview with #420A42

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

Preview Lab → · Contrast checker → · Palette generator →

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