#420F41#420F41

#420F41 is a dark, moderate purple. Relative luminance 0.019; OKLCH L 27.9% C 0.103 H 328.7°. Best body text is #FFFFFF at 15.26:1 contrast (WCAG AA passes).

Color values

HEX#420F41
RGBrgb(66, 15, 65)
HSLhsl(301, 63%, 16%)
HSVhsv(301, 77%, 26%)
CMYKcmyk(0%, 77.3%, 1.5%, 74.1%)
CIE-LABlab(14.85, 31.30, -19.30)
CIE-LCHlch(14.85, 36.77, 328.34°)
OKLaboklab(27.94% 0.0878 -0.0533)
OKLCHoklch(27.94% 0.103 328.7)
XYZxyz(3.3717, 1.8818, 5.1856)
Luminance0.0188 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#420F41 #0F4210
analogous
#290F42 #420F41 #420F27
triadic
#420F41 #41420F #0F4142
tetradic
#420F41 #42290F #0F4210 #0F2742
square
#420F41 #42290F #0F4210 #0F2742
split-complementary
#420F41 #27420F #0F4229
monochromatic
#190619 #190619 #420F41 #741A72 #A626A3

Accessibility & contrast

On white

15.26
#420F41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#420F41 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #420F41
15.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##420F41#FFFFFF#000000##FFFFFF
##420F411.0015.261.3815.26
#FFFFFF15.261.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#082142
Deuteranopia (green-blind)
#1D2840
Tritanopia (blue-blind)
#441626
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #420f41;
/* rgb */ color: rgb(66, 15, 65);
/* oklch */ color: oklch(27.9% 0.103 328.7);
Tailwind
colors: {
  custom: {
    50: '#795376',
    500: '#420f41',
    950: '#000000',
  },
}
SCSS
$custom: #420f41;
$custom-light: #795376;
$custom-dark: #000000;
JSON
{
  "hex": "#420f41",
  "rgb": {
    "r": 66,
    "g": 15,
    "b": 65
  },
  "hsl": {
    "h": 301.176,
    "s": 62.963,
    "l": 15.882
  },
  "oklch": {
    "l": 0.27943,
    "c": 0.10272,
    "h": 328.7
  },
  "luminance": 0.01882
}

Semantic roles & 50–950 ramp

primary
#420F41
secondary
#307C32
accent
#E64542
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#090308
muted
#7B787B

Preview Lab

Preview with #420F41

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

Preview Lab → · Contrast checker → · Palette generator →

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