#420C3F#420C3F

#420C3F is a dark, moderate purple. Relative luminance 0.018; OKLCH L 27.5% C 0.105 H 330.4°. Best body text is #FFFFFF at 15.49:1 contrast (WCAG AA passes).

Color values

HEX#420C3F
RGBrgb(66, 12, 63)
HSLhsl(303, 69%, 15%)
HSVhsv(303, 82%, 26%)
CMYKcmyk(0%, 81.8%, 4.5%, 74.1%)
CIE-LABlab(14.29, 32.15, -18.78)
CIE-LCHlch(14.29, 37.24, 329.70°)
OKLaboklab(27.5% 0.0913 -0.0518)
OKLCHoklch(27.5% 0.105 330.4)
XYZxyz(3.2754, 1.7803, 4.8728)
Luminance0.0178 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#420C3F #0C420F
analogous
#2A0C42 #420C3F #420C24
triadic
#420C3F #3F420C #0C3F42
tetradic
#420C3F #422A0C #0C420F #0C2442
square
#420C3F #422A0C #0C420F #0C2442
split-complementary
#420C3F #24420C #0C422A
monochromatic
#1A0519 #1A0519 #420C3F #761570 #AA1FA2

Accessibility & contrast

On white

15.49
#420C3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #420C3F
15.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##420C3F#FFFFFF#000000##FFFFFF
##420C3F1.0015.491.3615.49
#FFFFFF15.491.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#071F40
Deuteranopia (green-blind)
#1C273E
Tritanopia (blue-blind)
#451324
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #420c3f;
/* rgb */ color: rgb(66, 12, 63);
/* oklch */ color: oklch(27.5% 0.105 330.4);
Tailwind
colors: {
  custom: {
    50: '#795174',
    500: '#420c3f',
    950: '#000000',
  },
}
SCSS
$custom: #420c3f;
$custom-light: #795174;
$custom-dark: #000000;
JSON
{
  "hex": "#420c3f",
  "rgb": {
    "r": 66,
    "g": 12,
    "b": 63
  },
  "hsl": {
    "h": 303.333,
    "s": 69.231,
    "l": 15.294
  },
  "oklch": {
    "l": 0.27496,
    "c": 0.10495,
    "h": 330.4
  },
  "luminance": 0.0178
}

Semantic roles & 50–950 ramp

primary
#420C3F
secondary
#2C7E30
accent
#EC463C
background
#F7F4F7
surface
#EEE7ED
border
#C9C3C8
text
#090208
muted
#7B787B

Preview Lab

Preview with #420C3F

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

Preview Lab → · Contrast checker → · Palette generator →

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