#420C44#420C44

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

Color values

HEX#420C44
RGBrgb(66, 12, 68)
HSLhsl(298, 70%, 16%)
HSVhsv(298, 82%, 27%)
CMYKcmyk(2.9%, 82.4%, 0%, 73.3%)
CIE-LABlab(14.62, 33.12, -21.78)
CIE-LCHlch(14.62, 39.64, 326.68°)
OKLaboklab(27.84% 0.0913 -0.0605)
OKLCHoklch(27.84% 0.11 326.5)
XYZxyz(3.4216, 1.8388, 5.6424)
Luminance0.0184 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#420C44 #0E440C
analogous
#260C44 #420C44 #440C2A
triadic
#420C44 #44420C #0C4442
tetradic
#420C44 #44260C #0E440C #0C2A44
square
#420C44 #44260C #0E440C #0C2A44
split-complementary
#420C44 #2A440C #0C4426
monochromatic
#19051A #19051A #420C44 #741578 #A71EAC

Accessibility & contrast

On white

15.35
#420C44 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #420C44
15.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##420C44#FFFFFF#000000##FFFFFF
##420C441.0015.351.3715.35
#FFFFFF15.351.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#012146
Deuteranopia (green-blind)
#192743
Tritanopia (blue-blind)
#441527
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #420c44;
/* rgb */ color: rgb(66, 12, 68);
/* oklch */ color: oklch(27.8% 0.110 326.5);
Tailwind
colors: {
  custom: {
    50: '#795278',
    500: '#420c44',
    950: '#000000',
  },
}
SCSS
$custom: #420c44;
$custom-light: #795278;
$custom-dark: #000000;
JSON
{
  "hex": "#420c44",
  "rgb": {
    "r": 66,
    "g": 12,
    "b": 68
  },
  "hsl": {
    "h": 297.857,
    "s": 70,
    "l": 15.686
  },
  "oklch": {
    "l": 0.27836,
    "c": 0.10951,
    "h": 326.5
  },
  "luminance": 0.01839
}

Semantic roles & 50–950 ramp

primary
#420C44
secondary
#2F802C
accent
#ED3B41
background
#F7F4F7
surface
#EEE7ED
border
#C9C3C8
text
#090209
muted
#7B787B

Preview Lab

Preview with #420C44

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

Preview Lab → · Contrast checker → · Palette generator →

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