#420D41#420D41

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

Color values

HEX#420D41
RGBrgb(66, 13, 65)
HSLhsl(301, 67%, 15%)
HSVhsv(301, 80%, 26%)
CMYKcmyk(0%, 80.3%, 1.5%, 74.1%)
CIE-LABlab(14.56, 32.14, -19.77)
CIE-LCHlch(14.56, 37.73, 328.40°)
OKLaboklab(27.73% 0.0902 -0.0547)
OKLCHoklch(27.73% 0.105 328.8)
XYZxyz(3.3448, 1.8280, 5.1767)
Luminance0.0183 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#420D41 #0D420E
analogous
#280D42 #420D41 #420D26
triadic
#420D41 #41420D #0D4142
tetradic
#420D41 #42280D #0D420E #0D2642
square
#420D41 #42280D #0D420E #0D2642
split-complementary
#420D41 #26420D #0D4228
monochromatic
#1A0519 #1A0519 #420D41 #751773 #A821A6

Accessibility & contrast

On white

15.38
#420D41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #420D41
15.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##420D41#FFFFFF#000000##FFFFFF
##420D411.0015.381.3715.38
#FFFFFF15.381.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#062042
Deuteranopia (green-blind)
#1C2740
Tritanopia (blue-blind)
#441526
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #420d41;
/* rgb */ color: rgb(66, 13, 65);
/* oklch */ color: oklch(27.7% 0.105 328.8);
Tailwind
colors: {
  custom: {
    50: '#795276',
    500: '#420d41',
    950: '#000000',
  },
}
SCSS
$custom: #420d41;
$custom-light: #795276;
$custom-dark: #000000;
JSON
{
  "hex": "#420d41",
  "rgb": {
    "r": 66,
    "g": 13,
    "b": 65
  },
  "hsl": {
    "h": 301.132,
    "s": 67.089,
    "l": 15.49
  },
  "oklch": {
    "l": 0.2773,
    "c": 0.10546,
    "h": 328.8
  },
  "luminance": 0.01828
}

Semantic roles & 50–950 ramp

primary
#420D41
secondary
#2D7E2F
accent
#EA413E
background
#F7F4F7
surface
#EEE7ED
border
#C9C3C8
text
#090208
muted
#7B787B

Preview Lab

Preview with #420D41

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

Preview Lab → · Contrast checker → · Palette generator →

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