#420B42#420B42

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

Color values

HEX#420B42
RGBrgb(66, 11, 66)
HSLhsl(300, 71%, 15%)
HSVhsv(300, 83%, 26%)
CMYKcmyk(0%, 83.3%, 0%, 74.1%)
CIE-LABlab(14.35, 33.11, -20.80)
CIE-LCHlch(14.35, 39.10, 327.86°)
OKLaboklab(27.6% 0.0924 -0.0576)
OKLCHoklch(27.6% 0.109 328)
XYZxyz(3.3498, 1.7912, 5.3225)
Luminance0.0179 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#420B42 #0B420B
analogous
#260B42 #420B42 #420B26
triadic
#420B42 #42420B #0B4242
tetradic
#420B42 #42260B #0B420B #0B2642
square
#420B42 #42260B #0B420B #0B2642
split-complementary
#420B42 #26420B #0B4226
monochromatic
#1A041A #1A041A #420B42 #761476 #AB1CAB

Accessibility & contrast

On white

15.46
#420B42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #420B42
15.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##420B42#FFFFFF#000000##FFFFFF
##420B421.0015.461.3615.46
#FFFFFF15.461.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#022043
Deuteranopia (green-blind)
#1A2741
Tritanopia (blue-blind)
#441426
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #420b42;
/* rgb */ color: rgb(66, 11, 66);
/* oklch */ color: oklch(27.6% 0.109 328.0);
Tailwind
colors: {
  custom: {
    50: '#795176',
    500: '#420b42',
    950: '#000000',
  },
}
SCSS
$custom: #420b42;
$custom-light: #795176;
$custom-dark: #000000;
JSON
{
  "hex": "#420b42",
  "rgb": {
    "r": 66,
    "g": 11,
    "b": 66
  },
  "hsl": {
    "h": 300,
    "s": 71.429,
    "l": 15.098
  },
  "oklch": {
    "l": 0.27603,
    "c": 0.1089,
    "h": 328
  },
  "luminance": 0.01791
}

Semantic roles & 50–950 ramp

primary
#420B42
secondary
#2A7F2A
accent
#EE3A3A
background
#F7F4F7
surface
#EEE7ED
border
#C9C3C8
text
#090208
muted
#7B787B

Preview Lab

Preview with #420B42

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

Preview Lab → · Contrast checker → · Palette generator →

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