#420B43#420B43

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

Color values

HEX#420B43
RGBrgb(66, 11, 67)
HSLhsl(299, 72%, 15%)
HSVhsv(299, 84%, 26%)
CMYKcmyk(1.5%, 83.6%, 0%, 73.7%)
CIE-LABlab(14.42, 33.30, -21.39)
CIE-LCHlch(14.42, 39.58, 327.28°)
OKLaboklab(27.67% 0.0924 -0.0594)
OKLCHoklch(27.67% 0.11 327.3)
XYZxyz(3.3795, 1.8031, 5.4791)
Luminance0.0180 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#420B43 #0C430B
analogous
#260B43 #420B43 #430B28
triadic
#420B43 #43420B #0B4342
tetradic
#420B43 #43260B #0C430B #0B2843
square
#420B43 #43260B #0C430B #0B2843
split-complementary
#420B43 #28430B #0B4326
monochromatic
#1A041A #1A041A #420B43 #761478 #AA1CAC

Accessibility & contrast

On white

15.43
#420B43 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #420B43
15.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##420B43#FFFFFF#000000##FFFFFF
##420B431.0015.431.3615.43
#FFFFFF15.431.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.431.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #420b43;
/* rgb */ color: rgb(66, 11, 67);
/* oklch */ color: oklch(27.7% 0.110 327.3);
Tailwind
colors: {
  custom: {
    50: '#795177',
    500: '#420b43',
    950: '#000000',
  },
}
SCSS
$custom: #420b43;
$custom-light: #795177;
$custom-dark: #000000;
JSON
{
  "hex": "#420b43",
  "rgb": {
    "r": 66,
    "g": 11,
    "b": 67
  },
  "hsl": {
    "h": 298.929,
    "s": 71.795,
    "l": 15.294
  },
  "oklch": {
    "l": 0.27672,
    "c": 0.1098,
    "h": 327.3
  },
  "luminance": 0.01803
}

Semantic roles & 50–950 ramp

primary
#420B43
secondary
#2C802A
accent
#EF393D
background
#F7F4F7
surface
#EEE7ED
border
#C9C3C8
text
#090208
muted
#7B787B

Preview Lab

Preview with #420B43

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

Preview Lab → · Contrast checker → · Palette generator →

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