#420B41#420B41

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

Color values

HEX#420B41
RGBrgb(66, 11, 65)
HSLhsl(301, 71%, 15%)
HSVhsv(301, 83%, 26%)
CMYKcmyk(0%, 83.3%, 1.5%, 74.1%)
CIE-LABlab(14.28, 32.91, -20.20)
CIE-LCHlch(14.28, 38.62, 328.46°)
OKLaboklab(27.53% 0.0924 -0.0559)
OKLCHoklch(27.53% 0.108 328.8)
XYZxyz(3.3205, 1.7795, 5.1686)
Luminance0.0178 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#420B41 #0B420C
analogous
#270B42 #420B41 #420B25
triadic
#420B41 #41420B #0B4142
tetradic
#420B41 #42270B #0B420C #0B2542
square
#420B41 #42270B #0B420C #0B2542
split-complementary
#420B41 #25420B #0B4227
monochromatic
#1A041A #1A041A #420B41 #761475 #AB1CA8

Accessibility & contrast

On white

15.49
#420B41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #420B41
15.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##420B41#FFFFFF#000000##FFFFFF
##420B411.0015.491.3615.49
#FFFFFF15.491.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#032042
Deuteranopia (green-blind)
#1B2740
Tritanopia (blue-blind)
#451325
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #420b41;
/* rgb */ color: rgb(66, 11, 65);
/* oklch */ color: oklch(27.5% 0.108 328.8);
Tailwind
colors: {
  custom: {
    50: '#795176',
    500: '#420b41',
    950: '#000000',
  },
}
SCSS
$custom: #420b41;
$custom-light: #795176;
$custom-dark: #000000;
JSON
{
  "hex": "#420b41",
  "rgb": {
    "r": 66,
    "g": 11,
    "b": 65
  },
  "hsl": {
    "h": 301.091,
    "s": 71.429,
    "l": 15.098
  },
  "oklch": {
    "l": 0.27534,
    "c": 0.108,
    "h": 328.8
  },
  "luminance": 0.01779
}

Semantic roles & 50–950 ramp

primary
#420B41
secondary
#2A7F2C
accent
#EE3D3A
background
#F7F4F7
surface
#EEE7ED
border
#C9C3C8
text
#090208
muted
#7B787B

Preview Lab

Preview with #420B41

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

Preview Lab → · Contrast checker → · Palette generator →

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