#420C3B#420C3B

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

Color values

HEX#420C3B
RGBrgb(66, 12, 59)
HSLhsl(308, 69%, 15%)
HSVhsv(308, 82%, 26%)
CMYKcmyk(0%, 81.8%, 10.6%, 74.1%)
CIE-LABlab(14.04, 31.41, -16.34)
CIE-LCHlch(14.04, 35.41, 332.52°)
OKLaboklab(27.24% 0.091 -0.0447)
OKLCHoklch(27.24% 0.101 333.8)
XYZxyz(3.1677, 1.7372, 4.3053)
Luminance0.0174 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#420C3B #0C4213
analogous
#2E0C42 #420C3B #420C20
triadic
#420C3B #3B420C #0C3B42
tetradic
#420C3B #422E0C #0C4213 #0C2042
square
#420C3B #422E0C #0C4213 #0C2042
split-complementary
#420C3B #20420C #0C422E
monochromatic
#1A0517 #1A0517 #420C3B #761569 #AA1F98

Accessibility & contrast

On white

15.59
#420C3B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #420C3B
15.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##420C3B#FFFFFF#000000##FFFFFF
##420C3B1.0015.591.3515.59
#FFFFFF15.591.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B1F3C
Deuteranopia (green-blind)
#1E263A
Tritanopia (blue-blind)
#451122
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #420c3b;
/* rgb */ color: rgb(66, 12, 59);
/* oklch */ color: oklch(27.2% 0.101 333.8);
Tailwind
colors: {
  custom: {
    50: '#795171',
    500: '#420c3b',
    950: '#000000',
  },
}
SCSS
$custom: #420c3b;
$custom-light: #795171;
$custom-dark: #000000;
JSON
{
  "hex": "#420c3b",
  "rgb": {
    "r": 66,
    "g": 12,
    "b": 59
  },
  "hsl": {
    "h": 307.778,
    "s": 69.231,
    "l": 15.294
  },
  "oklch": {
    "l": 0.27239,
    "c": 0.10143,
    "h": 333.8
  },
  "luminance": 0.01737
}

Semantic roles & 50–950 ramp

primary
#420C3B
secondary
#2C7E36
accent
#EC533C
background
#F7F4F6
surface
#EEE7EC
border
#C9C3C7
text
#090207
muted
#7B787A

Preview Lab

Preview with #420C3B

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

Preview Lab → · Contrast checker → · Palette generator →

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