#420C46#420C46

#420C46 is a dark, moderate purple. Relative luminance 0.019; OKLCH L 28.0% C 0.111 H 325.0°. Best body text is #FFFFFF at 15.30:1 contrast (WCAG AA passes).

Color values

HEX#420C46
RGBrgb(66, 12, 70)
HSLhsl(296, 71%, 16%)
HSVhsv(296, 83%, 27%)
CMYKcmyk(5.7%, 82.9%, 0%, 72.5%)
CIE-LABlab(14.75, 33.52, -22.95)
CIE-LCHlch(14.75, 40.63, 325.60°)
OKLaboklab(27.98% 0.0912 -0.0639)
OKLCHoklch(27.98% 0.111 325)
XYZxyz(3.4836, 1.8636, 5.9694)
Luminance0.0186 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#420C46 #10460C
analogous
#250C46 #420C46 #460C2D
triadic
#420C46 #46420C #0C4642
tetradic
#420C46 #46250C #10460C #0C2D46
square
#420C46 #46250C #10460C #0C2D46
split-complementary
#420C46 #2D460C #0C4625
monochromatic
#19041A #19041A #420C46 #73157A #A51EAE

Accessibility & contrast

On white

15.30
#420C46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #420C46
15.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##420C46#FFFFFF#000000##FFFFFF
##420C461.0015.301.3715.30
#FFFFFF15.301.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002148
Deuteranopia (green-blind)
#182745
Tritanopia (blue-blind)
#441628
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #420c46;
/* rgb */ color: rgb(66, 12, 70);
/* oklch */ color: oklch(28.0% 0.111 325.0);
Tailwind
colors: {
  custom: {
    50: '#79527a',
    500: '#420c46',
    950: '#000000',
  },
}
SCSS
$custom: #420c46;
$custom-light: #79527a;
$custom-dark: #000000;
JSON
{
  "hex": "#420c46",
  "rgb": {
    "r": 66,
    "g": 12,
    "b": 70
  },
  "hsl": {
    "h": 295.862,
    "s": 70.732,
    "l": 16.078
  },
  "oklch": {
    "l": 0.27978,
    "c": 0.11137,
    "h": 325
  },
  "luminance": 0.01863
}

Semantic roles & 50–950 ramp

primary
#420C46
secondary
#32822C
accent
#ED3A47
background
#F7F4F7
surface
#EEE7ED
border
#C9C3C8
text
#090209
muted
#7B787B

Preview Lab

Preview with #420C46

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

Preview Lab → · Contrast checker → · Palette generator →

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