#420C45#420C45

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

Color values

HEX#420C45
RGBrgb(66, 12, 69)
HSLhsl(297, 70%, 16%)
HSVhsv(297, 83%, 27%)
CMYKcmyk(4.3%, 82.6%, 0%, 72.9%)
CIE-LABlab(14.69, 33.32, -22.37)
CIE-LCHlch(14.69, 40.13, 326.13°)
OKLaboklab(27.91% 0.0913 -0.0622)
OKLCHoklch(27.91% 0.11 325.7)
XYZxyz(3.4523, 1.8511, 5.8045)
Luminance0.0185 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#420C45 #0F450C
analogous
#250C45 #420C45 #450C2B
triadic
#420C45 #45420C #0C4542
tetradic
#420C45 #45250C #0F450C #0C2B45
square
#420C45 #45250C #0F450C #0C2B45
split-complementary
#420C45 #2B450C #0C4525
monochromatic
#19051A #19051A #420C45 #741579 #A61EAD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##420C45#FFFFFF#000000##FFFFFF
##420C451.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)
#002147
Deuteranopia (green-blind)
#192744
Tritanopia (blue-blind)
#441628
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #420c45;
/* rgb */ color: rgb(66, 12, 69);
/* oklch */ color: oklch(27.9% 0.110 325.7);
Tailwind
colors: {
  custom: {
    50: '#795279',
    500: '#420c45',
    950: '#000000',
  },
}
SCSS
$custom: #420c45;
$custom-light: #795279;
$custom-dark: #000000;
JSON
{
  "hex": "#420c45",
  "rgb": {
    "r": 66,
    "g": 12,
    "b": 69
  },
  "hsl": {
    "h": 296.842,
    "s": 70.37,
    "l": 15.882
  },
  "oklch": {
    "l": 0.27907,
    "c": 0.11044,
    "h": 325.7
  },
  "luminance": 0.01851
}

Semantic roles & 50–950 ramp

primary
#420C45
secondary
#30812C
accent
#ED3B44
background
#F7F4F7
surface
#EEE7ED
border
#C9C3C8
text
#090209
muted
#7B787B

Preview Lab

Preview with #420C45

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

Preview Lab → · Contrast checker → · Palette generator →

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