#420A40#420A40

#420A40 is a dark, moderate purple. Relative luminance 0.017; OKLCH L 27.4% C 0.108 H 329.6°. Best body text is #FFFFFF at 15.57:1 contrast (WCAG AA passes).

Color values

HEX#420A40
RGBrgb(66, 10, 64)
HSLhsl(302, 74%, 15%)
HSVhsv(302, 85%, 26%)
CMYKcmyk(0%, 84.8%, 3%, 74.1%)
CIE-LABlab(14.09, 33.09, -19.80)
CIE-LCHlch(14.09, 38.56, 329.10°)
OKLaboklab(27.38% 0.0934 -0.0547)
OKLCHoklch(27.38% 0.108 329.6)
XYZxyz(3.2807, 1.7458, 5.0137)
Luminance0.0175 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#420A40 #0A420C
analogous
#280A42 #420A40 #420A24
triadic
#420A40 #40420A #0A4042
tetradic
#420A40 #42280A #0A420C #0A2442
square
#420A40 #42280A #0A420C #0A2442
split-complementary
#420A40 #24420A #0A4228
monochromatic
#1B041A #1B041A #420A40 #771274 #AC1AA7

Accessibility & contrast

On white

15.57
#420A40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #420A40
15.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##420A40#FFFFFF#000000##FFFFFF
##420A401.0015.571.3515.57
#FFFFFF15.571.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#031F41
Deuteranopia (green-blind)
#1B263F
Tritanopia (blue-blind)
#451224
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #420a40;
/* rgb */ color: rgb(66, 10, 64);
/* oklch */ color: oklch(27.4% 0.108 329.6);
Tailwind
colors: {
  custom: {
    50: '#795175',
    500: '#420a40',
    950: '#000000',
  },
}
SCSS
$custom: #420a40;
$custom-light: #795175;
$custom-dark: #000000;
JSON
{
  "hex": "#420a40",
  "rgb": {
    "r": 66,
    "g": 10,
    "b": 64
  },
  "hsl": {
    "h": 302.143,
    "s": 73.684,
    "l": 14.902
  },
  "oklch": {
    "l": 0.27375,
    "c": 0.10829,
    "h": 329.6
  },
  "luminance": 0.01745
}

Semantic roles & 50–950 ramp

primary
#420A40
secondary
#297F2C
accent
#F03E37
background
#F7F4F7
surface
#EEE7ED
border
#C9C3C8
text
#090208
muted
#7B787B

Preview Lab

Preview with #420A40

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

Preview Lab → · Contrast checker → · Palette generator →

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