#420D43#420D43

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

Color values

HEX#420D43
RGBrgb(66, 13, 67)
HSLhsl(299, 68%, 16%)
HSVhsv(299, 81%, 26%)
CMYKcmyk(1.5%, 80.6%, 0%, 73.7%)
CIE-LABlab(14.69, 32.53, -20.96)
CIE-LCHlch(14.69, 38.70, 327.20°)
OKLaboklab(27.87% 0.0902 -0.0581)
OKLCHoklch(27.87% 0.107 327.2)
XYZxyz(3.4038, 1.8516, 5.4872)
Luminance0.0185 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#420D43 #0E430D
analogous
#270D43 #420D43 #430D29
triadic
#420D43 #43420D #0D4342
tetradic
#420D43 #43270D #0E430D #0D2943
square
#420D43 #43270D #0E430D #0D2943
split-complementary
#420D43 #29430D #0D4327
monochromatic
#19051A #19051A #420D43 #741776 #A721AA

Accessibility & contrast

On white

15.33
#420D43 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#420D43 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #420D43
15.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##420D43#FFFFFF#000000##FFFFFF
##420D431.0015.331.3715.33
#FFFFFF15.331.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#032144
Deuteranopia (green-blind)
#1B2742
Tritanopia (blue-blind)
#441627
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #420d43;
/* rgb */ color: rgb(66, 13, 67);
/* oklch */ color: oklch(27.9% 0.107 327.2);
Tailwind
colors: {
  custom: {
    50: '#795277',
    500: '#420d43',
    950: '#000000',
  },
}
SCSS
$custom: #420d43;
$custom-light: #795277;
$custom-dark: #000000;
JSON
{
  "hex": "#420d43",
  "rgb": {
    "r": 66,
    "g": 13,
    "b": 67
  },
  "hsl": {
    "h": 298.889,
    "s": 67.5,
    "l": 15.686
  },
  "oklch": {
    "l": 0.27866,
    "c": 0.10731,
    "h": 327.2
  },
  "luminance": 0.01851
}

Semantic roles & 50–950 ramp

primary
#420D43
secondary
#2F7E2D
accent
#EA3D41
background
#F7F4F7
surface
#EEE7ED
border
#C9C3C8
text
#090208
muted
#7B787B

Preview Lab

Preview with #420D43

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

Preview Lab → · Contrast checker → · Palette generator →

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