#420C48#420C48

#420C48 is a dark, moderate purple. Relative luminance 0.019; OKLCH L 28.1% C 0.113 H 323.5°. Best body text is #FFFFFF at 15.24:1 contrast (WCAG AA passes).

Color values

HEX#420C48
RGBrgb(66, 12, 72)
HSLhsl(294, 71%, 16%)
HSVhsv(294, 83%, 28%)
CMYKcmyk(8.3%, 83.3%, 0%, 71.8%)
CIE-LABlab(14.90, 33.93, -24.12)
CIE-LCHlch(14.90, 41.63, 324.60°)
OKLaboklab(28.12% 0.0911 -0.0673)
OKLCHoklch(28.12% 0.113 323.5)
XYZxyz(3.5478, 1.8893, 6.3074)
Luminance0.0189 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#420C48 #12480C
analogous
#240C48 #420C48 #480C30
triadic
#420C48 #48420C #0C4842
tetradic
#420C48 #48240C #12480C #0C3048
square
#420C48 #48240C #12480C #0C3048
split-complementary
#420C48 #30480C #0C4824
monochromatic
#18041A #18041A #420C48 #72157C #A21DB1

Accessibility & contrast

On white

15.24
#420C48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#420C48 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #420C48
15.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##420C48#FFFFFF#000000##FFFFFF
##420C481.0015.241.3815.24
#FFFFFF15.241.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00214A
Deuteranopia (green-blind)
#172847
Tritanopia (blue-blind)
#431729
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #420c48;
/* rgb */ color: rgb(66, 12, 72);
/* oklch */ color: oklch(28.1% 0.113 323.5);
Tailwind
colors: {
  custom: {
    50: '#79527b',
    500: '#420c48',
    950: '#000000',
  },
}
SCSS
$custom: #420c48;
$custom-light: #79527b;
$custom-dark: #000000;
JSON
{
  "hex": "#420c48",
  "rgb": {
    "r": 66,
    "g": 12,
    "b": 72
  },
  "hsl": {
    "h": 294,
    "s": 71.429,
    "l": 16.471
  },
  "oklch": {
    "l": 0.28124,
    "c": 0.11326,
    "h": 323.5
  },
  "luminance": 0.01889
}

Semantic roles & 50–950 ramp

primary
#420C48
secondary
#35842C
accent
#EE3A4C
background
#F7F4F7
surface
#EEE7EE
border
#C9C3C9
text
#090209
muted
#7B787B

Preview Lab

Preview with #420C48

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

Preview Lab → · Contrast checker → · Palette generator →

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