#420F3E#420F3E

#420F3E is a dark, moderate purple. Relative luminance 0.018; OKLCH L 27.7% C 0.100 H 331.2°. Best body text is #FFFFFF at 15.33:1 contrast (WCAG AA passes).

Color values

HEX#420F3E
RGBrgb(66, 15, 62)
HSLhsl(305, 63%, 16%)
HSVhsv(305, 77%, 26%)
CMYKcmyk(0%, 77.3%, 6.1%, 74.1%)
CIE-LABlab(14.67, 30.71, -17.48)
CIE-LCHlch(14.67, 35.34, 330.35°)
OKLaboklab(27.75% 0.0876 -0.0481)
OKLCHoklch(27.75% 0.1 331.2)
XYZxyz(3.2871, 1.8480, 4.7401)
Luminance0.0185 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#420F3E #0F4213
analogous
#2C0F42 #420F3E #420F24
triadic
#420F3E #3E420F #0F3E42
tetradic
#420F3E #422C0F #0F4213 #0F2442
square
#420F3E #422C0F #0F4213 #0F2442
split-complementary
#420F3E #24420F #0F422C
monochromatic
#190617 #190617 #420F3E #741A6D #A6269C

Accessibility & contrast

On white

15.33
#420F3E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#420F3E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #420F3E
15.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##420F3E#FFFFFF#000000##FFFFFF
##420F3E1.0015.331.3715.33
#FFFFFF15.331.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B203F
Deuteranopia (green-blind)
#1E283D
Tritanopia (blue-blind)
#451525
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #420f3e;
/* rgb */ color: rgb(66, 15, 62);
/* oklch */ color: oklch(27.7% 0.100 331.2);
Tailwind
colors: {
  custom: {
    50: '#795373',
    500: '#420f3e',
    950: '#000000',
  },
}
SCSS
$custom: #420f3e;
$custom-light: #795373;
$custom-dark: #000000;
JSON
{
  "hex": "#420f3e",
  "rgb": {
    "r": 66,
    "g": 15,
    "b": 62
  },
  "hsl": {
    "h": 304.706,
    "s": 62.963,
    "l": 15.882
  },
  "oklch": {
    "l": 0.27748,
    "c": 0.09993,
    "h": 331.2
  },
  "luminance": 0.01848
}

Semantic roles & 50–950 ramp

primary
#420F3E
secondary
#307C36
accent
#E64F42
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#090208
muted
#7B787B

Preview Lab

Preview with #420F3E

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

Preview Lab → · Contrast checker → · Palette generator →

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