#420D3F#420D3F

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

Color values

HEX#420D3F
RGBrgb(66, 13, 63)
HSLhsl(303, 67%, 15%)
HSVhsv(303, 80%, 26%)
CMYKcmyk(0%, 80.3%, 4.5%, 74.1%)
CIE-LABlab(14.43, 31.75, -18.56)
CIE-LCHlch(14.43, 36.78, 329.69°)
OKLaboklab(27.6% 0.0901 -0.0512)
OKLCHoklch(27.6% 0.104 330.4)
XYZxyz(3.2879, 1.8052, 4.8769)
Luminance0.0181 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#420D3F #0D4210
analogous
#2A0D42 #420D3F #420D24
triadic
#420D3F #3F420D #0D3F42
tetradic
#420D3F #422A0D #0D4210 #0D2442
square
#420D3F #422A0D #0D4210 #0D2442
split-complementary
#420D3F #24420D #0D422A
monochromatic
#1A0518 #1A0518 #420D3F #751770 #A821A1

Accessibility & contrast

On white

15.43
#420D3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#420D3F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #420D3F
15.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##420D3F#FFFFFF#000000##FFFFFF
##420D3F1.0015.431.3615.43
#FFFFFF15.431.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.431.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #420d3f;
/* rgb */ color: rgb(66, 13, 63);
/* oklch */ color: oklch(27.6% 0.104 330.4);
Tailwind
colors: {
  custom: {
    50: '#795274',
    500: '#420d3f',
    950: '#000000',
  },
}
SCSS
$custom: #420d3f;
$custom-light: #795274;
$custom-dark: #000000;
JSON
{
  "hex": "#420d3f",
  "rgb": {
    "r": 66,
    "g": 13,
    "b": 63
  },
  "hsl": {
    "h": 303.396,
    "s": 67.089,
    "l": 15.49
  },
  "oklch": {
    "l": 0.27597,
    "c": 0.10364,
    "h": 330.4
  },
  "luminance": 0.01805
}

Semantic roles & 50–950 ramp

primary
#420D3F
secondary
#2D7E32
accent
#EA483E
background
#F7F4F7
surface
#EEE7ED
border
#C9C3C8
text
#090208
muted
#7B787B

Preview Lab

Preview with #420D3F

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

Preview Lab → · Contrast checker → · Palette generator →

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