#420C3E#420C3E

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

Color values

HEX#420C3E
RGBrgb(66, 12, 62)
HSLhsl(304, 69%, 15%)
HSVhsv(304, 82%, 26%)
CMYKcmyk(0%, 81.8%, 6.1%, 74.1%)
CIE-LABlab(14.23, 31.96, -18.18)
CIE-LCHlch(14.23, 36.77, 330.37°)
OKLaboklab(27.43% 0.0912 -0.05)
OKLCHoklch(27.43% 0.104 331.3)
XYZxyz(3.2477, 1.7693, 4.7269)
Luminance0.0177 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#420C3E #0C4210
analogous
#2B0C42 #420C3E #420C23
triadic
#420C3E #3E420C #0C3E42
tetradic
#420C3E #422B0C #0C4210 #0C2342
square
#420C3E #422B0C #0C4210 #0C2342
split-complementary
#420C3E #23420C #0C422B
monochromatic
#1A0518 #1A0518 #420C3E #76156F #AA1F9F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##420C3E#FFFFFF#000000##FFFFFF
##420C3E1.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)
#081F3F
Deuteranopia (green-blind)
#1D273D
Tritanopia (blue-blind)
#451224
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #420c3e;
/* rgb */ color: rgb(66, 12, 62);
/* oklch */ color: oklch(27.4% 0.104 331.3);
Tailwind
colors: {
  custom: {
    50: '#795173',
    500: '#420c3e',
    950: '#000000',
  },
}
SCSS
$custom: #420c3e;
$custom-light: #795173;
$custom-dark: #000000;
JSON
{
  "hex": "#420c3e",
  "rgb": {
    "r": 66,
    "g": 12,
    "b": 62
  },
  "hsl": {
    "h": 304.444,
    "s": 69.231,
    "l": 15.294
  },
  "oklch": {
    "l": 0.2743,
    "c": 0.10406,
    "h": 331.3
  },
  "luminance": 0.01769
}

Semantic roles & 50–950 ramp

primary
#420C3E
secondary
#2C7E32
accent
#EC493C
background
#F7F4F7
surface
#EEE7ED
border
#C9C3C8
text
#090208
muted
#7B787B

Preview Lab

Preview with #420C3E

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

Preview Lab → · Contrast checker → · Palette generator →

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