#420C4B#420C4B

#420C4B is a dark, moderate purple. Relative luminance 0.019; OKLCH L 28.3% C 0.116 H 321.4°. Best body text is #FFFFFF at 15.15:1 contrast (WCAG AA passes).

Color values

HEX#420C4B
RGBrgb(66, 12, 75)
HSLhsl(291, 72%, 17%)
HSVhsv(291, 84%, 29%)
CMYKcmyk(12%, 84%, 0%, 70.6%)
CIE-LABlab(15.11, 34.56, -25.85)
CIE-LCHlch(15.11, 43.15, 323.21°)
OKLaboklab(28.35% 0.0908 -0.0724)
OKLCHoklch(28.35% 0.116 321.4)
XYZxyz(3.6481, 1.9294, 6.8355)
Luminance0.0193 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#420C4B #154B0C
analogous
#230C4B #420C4B #4B0C35
triadic
#420C4B #4B420C #0C4B42
tetradic
#420C4B #4B230C #154B0C #0C354B
square
#420C4B #4B230C #154B0C #0C354B
split-complementary
#420C4B #354B0C #0C4B23
monochromatic
#17041A #17041A #420C4B #701480 #9F1DB5

Accessibility & contrast

On white

15.15
#420C4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#420C4B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #420C4B
15.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##420C4B#FFFFFF#000000##FFFFFF
##420C4B1.0015.151.3915.15
#FFFFFF15.151.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00224D
Deuteranopia (green-blind)
#14284A
Tritanopia (blue-blind)
#43192B
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #420c4b;
/* rgb */ color: rgb(66, 12, 75);
/* oklch */ color: oklch(28.3% 0.116 321.4);
Tailwind
colors: {
  custom: {
    50: '#79527e',
    500: '#420c4b',
    950: '#000000',
  },
}
SCSS
$custom: #420c4b;
$custom-light: #79527e;
$custom-dark: #000000;
JSON
{
  "hex": "#420c4b",
  "rgb": {
    "r": 66,
    "g": 12,
    "b": 75
  },
  "hsl": {
    "h": 291.429,
    "s": 72.414,
    "l": 17.059
  },
  "oklch": {
    "l": 0.28347,
    "c": 0.11611,
    "h": 321.4
  },
  "luminance": 0.01929
}

Semantic roles & 50–950 ramp

primary
#420C4B
secondary
#39872C
accent
#EF3953
background
#F7F4F7
surface
#EEE7EE
border
#C9C3C9
text
#09020A
muted
#7B787C

Preview Lab

Preview with #420C4B

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

Preview Lab → · Contrast checker → · Palette generator →

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