#420B3E#420B3E

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

Color values

HEX#420B3E
RGBrgb(66, 11, 62)
HSLhsl(304, 71%, 15%)
HSVhsv(304, 83%, 26%)
CMYKcmyk(0%, 83.3%, 6.1%, 74.1%)
CIE-LABlab(14.09, 32.35, -18.39)
CIE-LCHlch(14.09, 37.21, 330.38°)
OKLaboklab(27.33% 0.0923 -0.0507)
OKLCHoklch(27.33% 0.105 331.2)
XYZxyz(3.2359, 1.7457, 4.7230)
Luminance0.0175 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#420B3E #0B420F
analogous
#2B0B42 #420B3E #420B22
triadic
#420B3E #3E420B #0B3E42
tetradic
#420B3E #422B0B #0B420F #0B2242
square
#420B3E #422B0B #0B420F #0B2242
split-complementary
#420B3E #22420B #0B422B
monochromatic
#1A0419 #1A0419 #420B3E #76146F #AB1CA1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##420B3E#FFFFFF#000000##FFFFFF
##420B3E1.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)
#061F3F
Deuteranopia (green-blind)
#1C263D
Tritanopia (blue-blind)
#451223
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #420b3e;
/* rgb */ color: rgb(66, 11, 62);
/* oklch */ color: oklch(27.3% 0.105 331.2);
Tailwind
colors: {
  custom: {
    50: '#795173',
    500: '#420b3e',
    950: '#000000',
  },
}
SCSS
$custom: #420b3e;
$custom-light: #795173;
$custom-dark: #000000;
JSON
{
  "hex": "#420b3e",
  "rgb": {
    "r": 66,
    "g": 11,
    "b": 62
  },
  "hsl": {
    "h": 304.364,
    "s": 71.429,
    "l": 15.098
  },
  "oklch": {
    "l": 0.27333,
    "c": 0.10532,
    "h": 331.2
  },
  "luminance": 0.01745
}

Semantic roles & 50–950 ramp

primary
#420B3E
secondary
#2A7F30
accent
#EE473A
background
#F7F4F7
surface
#EEE7ED
border
#C9C3C8
text
#090208
muted
#7B787B

Preview Lab

Preview with #420B3E

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

Preview Lab → · Contrast checker → · Palette generator →

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