#420B39#420B39

#420B39 is a dark, moderate purple. Relative luminance 0.017; OKLCH L 27.0% C 0.101 H 335.6°. Best body text is #FFFFFF at 15.69:1 contrast (WCAG AA passes).

Color values

HEX#420B39
RGBrgb(66, 11, 57)
HSLhsl(310, 71%, 15%)
HSVhsv(310, 83%, 26%)
CMYKcmyk(0%, 83.3%, 13.6%, 74.1%)
CIE-LABlab(13.79, 31.44, -15.31)
CIE-LCHlch(13.79, 34.97, 334.03°)
OKLaboklab(27.02% 0.092 -0.0418)
OKLCHoklch(27.02% 0.101 335.6)
XYZxyz(3.1050, 1.6933, 4.0334)
Luminance0.0169 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#420B39 #0B4214
analogous
#2F0B42 #420B39 #420B1E
triadic
#420B39 #39420B #0B3942
tetradic
#420B39 #422F0B #0B4214 #0B1E42
square
#420B39 #422F0B #0B4214 #0B1E42
split-complementary
#420B39 #1E420B #0B422F
monochromatic
#1A0417 #1A0417 #420B39 #761466 #AB1C94

Accessibility & contrast

On white

15.69
#420B39 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#420B39 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #420B39
15.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##420B39#FFFFFF#000000##FFFFFF
##420B391.0015.691.3415.69
#FFFFFF15.691.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B1E3A
Deuteranopia (green-blind)
#1F2638
Tritanopia (blue-blind)
#460F21
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #420b39;
/* rgb */ color: rgb(66, 11, 57);
/* oklch */ color: oklch(27.0% 0.101 335.6);
Tailwind
colors: {
  custom: {
    50: '#79516f',
    500: '#420b39',
    950: '#000000',
  },
}
SCSS
$custom: #420b39;
$custom-light: #79516f;
$custom-dark: #000000;
JSON
{
  "hex": "#420b39",
  "rgb": {
    "r": 66,
    "g": 11,
    "b": 57
  },
  "hsl": {
    "h": 309.818,
    "s": 71.429,
    "l": 15.098
  },
  "oklch": {
    "l": 0.27016,
    "c": 0.10104,
    "h": 335.6
  },
  "luminance": 0.01693
}

Semantic roles & 50–950 ramp

primary
#420B39
secondary
#2A7F38
accent
#EE573A
background
#F7F4F6
surface
#EEE7EC
border
#C9C3C7
text
#090207
muted
#7B787A

Preview Lab

Preview with #420B39

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

Preview Lab → · Contrast checker → · Palette generator →

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