#420C41#420C41

#420C41 is a dark, moderate purple. Relative luminance 0.018; OKLCH L 27.6% C 0.107 H 328.8°. Best body text is #FFFFFF at 15.43:1 contrast (WCAG AA passes).

Color values

HEX#420C41
RGBrgb(66, 12, 65)
HSLhsl(301, 69%, 15%)
HSVhsv(301, 82%, 26%)
CMYKcmyk(0%, 81.8%, 1.5%, 74.1%)
CIE-LABlab(14.42, 32.53, -19.99)
CIE-LCHlch(14.42, 38.18, 328.43°)
OKLaboklab(27.63% 0.0913 -0.0553)
OKLCHoklch(27.63% 0.107 328.8)
XYZxyz(3.3323, 1.8031, 5.1725)
Luminance0.0180 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#420C41 #0C420D
analogous
#280C42 #420C41 #420C26
triadic
#420C41 #41420C #0C4142
tetradic
#420C41 #42280C #0C420D #0C2642
square
#420C41 #42280C #0C420D #0C2642
split-complementary
#420C41 #26420C #0C4228
monochromatic
#1A051A #1A051A #420C41 #761574 #AA1FA7

Accessibility & contrast

On white

15.43
#420C41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#420C41 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #420C41
15.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##420C41#FFFFFF#000000##FFFFFF
##420C411.0015.431.3615.43
#FFFFFF15.431.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#042042
Deuteranopia (green-blind)
#1B2740
Tritanopia (blue-blind)
#451425
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #420c41;
/* rgb */ color: rgb(66, 12, 65);
/* oklch */ color: oklch(27.6% 0.107 328.8);
Tailwind
colors: {
  custom: {
    50: '#795276',
    500: '#420c41',
    950: '#000000',
  },
}
SCSS
$custom: #420c41;
$custom-light: #795276;
$custom-dark: #000000;
JSON
{
  "hex": "#420c41",
  "rgb": {
    "r": 66,
    "g": 12,
    "b": 65
  },
  "hsl": {
    "h": 301.111,
    "s": 69.231,
    "l": 15.294
  },
  "oklch": {
    "l": 0.2763,
    "c": 0.10675,
    "h": 328.8
  },
  "luminance": 0.01803
}

Semantic roles & 50–950 ramp

primary
#420C41
secondary
#2C7E2D
accent
#EC3F3C
background
#F7F4F7
surface
#EEE7ED
border
#C9C3C8
text
#090208
muted
#7B787B

Preview Lab

Preview with #420C41

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

Preview Lab → · Contrast checker → · Palette generator →

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