#420E3F#420E3F

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

Color values

HEX#420E3F
RGBrgb(66, 14, 63)
HSLhsl(303, 65%, 16%)
HSVhsv(303, 79%, 26%)
CMYKcmyk(0%, 78.8%, 4.5%, 74.1%)
CIE-LABlab(14.58, 31.33, -18.33)
CIE-LCHlch(14.58, 36.30, 329.67°)
OKLaboklab(27.7% 0.0889 -0.0505)
OKLCHoklch(27.7% 0.102 330.4)
XYZxyz(3.3010, 1.8315, 4.8813)
Luminance0.0183 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#420E3F #0E4211
analogous
#2B0E42 #420E3F #420E25
triadic
#420E3F #3F420E #0E3F42
tetradic
#420E3F #422B0E #0E4211 #0E2542
square
#420E3F #422B0E #0E4211 #0E2542
split-complementary
#420E3F #25420E #0E422B
monochromatic
#190518 #190518 #420E3F #74196F #A7239F

Accessibility & contrast

On white

15.37
#420E3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #420E3F
15.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##420E3F#FFFFFF#000000##FFFFFF
##420E3F1.0015.371.3715.37
#FFFFFF15.371.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#092040
Deuteranopia (green-blind)
#1D273E
Tritanopia (blue-blind)
#451425
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #420e3f;
/* rgb */ color: rgb(66, 14, 63);
/* oklch */ color: oklch(27.7% 0.102 330.4);
Tailwind
colors: {
  custom: {
    50: '#795274',
    500: '#420e3f',
    950: '#000000',
  },
}
SCSS
$custom: #420e3f;
$custom-light: #795274;
$custom-dark: #000000;
JSON
{
  "hex": "#420e3f",
  "rgb": {
    "r": 66,
    "g": 14,
    "b": 63
  },
  "hsl": {
    "h": 303.462,
    "s": 65,
    "l": 15.686
  },
  "oklch": {
    "l": 0.27702,
    "c": 0.10226,
    "h": 330.4
  },
  "luminance": 0.01831
}

Semantic roles & 50–950 ramp

primary
#420E3F
secondary
#2F7D33
accent
#E84A40
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#090208
muted
#7B787B

Preview Lab

Preview with #420E3F

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

Preview Lab → · Contrast checker → · Palette generator →

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