#420A41#420A41

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

Color values

HEX#420A41
RGBrgb(66, 10, 65)
HSLhsl(301, 74%, 15%)
HSVhsv(301, 85%, 26%)
CMYKcmyk(0%, 84.8%, 1.5%, 74.1%)
CIE-LABlab(14.16, 33.28, -20.40)
CIE-LCHlch(14.16, 39.04, 328.49°)
OKLaboklab(27.44% 0.0934 -0.0565)
OKLCHoklch(27.44% 0.109 328.8)
XYZxyz(3.3094, 1.7572, 5.1649)
Luminance0.0176 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#420A41 #0A420B
analogous
#270A42 #420A41 #420A25
triadic
#420A41 #41420A #0A4142
tetradic
#420A41 #42270A #0A420B #0A2542
square
#420A41 #42270A #0A420B #0A2542
split-complementary
#420A41 #25420A #0A4227
monochromatic
#1B041A #1B041A #420A41 #771275 #AC1AAA

Accessibility & contrast

On white

15.54
#420A41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#420A41 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #420A41
15.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##420A41#FFFFFF#000000##FFFFFF
##420A411.0015.541.3515.54
#FFFFFF15.541.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#021F42
Deuteranopia (green-blind)
#1A2640
Tritanopia (blue-blind)
#451325
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #420a41;
/* rgb */ color: rgb(66, 10, 65);
/* oklch */ color: oklch(27.4% 0.109 328.8);
Tailwind
colors: {
  custom: {
    50: '#795176',
    500: '#420a41',
    950: '#000000',
  },
}
SCSS
$custom: #420a41;
$custom-light: #795176;
$custom-dark: #000000;
JSON
{
  "hex": "#420a41",
  "rgb": {
    "r": 66,
    "g": 10,
    "b": 65
  },
  "hsl": {
    "h": 301.071,
    "s": 73.684,
    "l": 14.902
  },
  "oklch": {
    "l": 0.27444,
    "c": 0.10917,
    "h": 328.8
  },
  "luminance": 0.01757
}

Semantic roles & 50–950 ramp

primary
#420A41
secondary
#297F2A
accent
#F03B37
background
#F7F4F7
surface
#EEE7ED
border
#C9C3C8
text
#090208
muted
#7B787B

Preview Lab

Preview with #420A41

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

Preview Lab → · Contrast checker → · Palette generator →

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