#420C3D#420C3D

#420C3D is a dark, moderate purple. Relative luminance 0.018; OKLCH L 27.4% C 0.103 H 332.1°. Best body text is #FFFFFF at 15.54:1 contrast (WCAG AA passes).

Color values

HEX#420C3D
RGBrgb(66, 12, 61)
HSLhsl(306, 69%, 15%)
HSVhsv(306, 82%, 26%)
CMYKcmyk(0%, 81.8%, 7.6%, 74.1%)
CIE-LABlab(14.16, 31.78, -17.57)
CIE-LCHlch(14.16, 36.31, 331.07°)
OKLaboklab(27.37% 0.0912 -0.0483)
OKLCHoklch(27.37% 0.103 332.1)
XYZxyz(3.2206, 1.7584, 4.5838)
Luminance0.0176 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#420C3D #0C4211
analogous
#2C0C42 #420C3D #420C22
triadic
#420C3D #3D420C #0C3D42
tetradic
#420C3D #422C0C #0C4211 #0C2242
square
#420C3D #422C0C #0C4211 #0C2242
split-complementary
#420C3D #22420C #0C422C
monochromatic
#1A0518 #1A0518 #420C3D #76156D #AA1F9D

Accessibility & contrast

On white

15.54
#420C3D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#420C3D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #420C3D
15.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##420C3D#FFFFFF#000000##FFFFFF
##420C3D1.0015.541.3515.54
#FFFFFF15.541.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#091F3E
Deuteranopia (green-blind)
#1D273C
Tritanopia (blue-blind)
#451223
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #420c3d;
/* rgb */ color: rgb(66, 12, 61);
/* oklch */ color: oklch(27.4% 0.103 332.1);
Tailwind
colors: {
  custom: {
    50: '#795172',
    500: '#420c3d',
    950: '#000000',
  },
}
SCSS
$custom: #420c3d;
$custom-light: #795172;
$custom-dark: #000000;
JSON
{
  "hex": "#420c3d",
  "rgb": {
    "r": 66,
    "g": 12,
    "b": 61
  },
  "hsl": {
    "h": 305.556,
    "s": 69.231,
    "l": 15.294
  },
  "oklch": {
    "l": 0.27366,
    "c": 0.10318,
    "h": 332.1
  },
  "luminance": 0.01758
}

Semantic roles & 50–950 ramp

primary
#420C3D
secondary
#2C7E33
accent
#EC4C3C
background
#F7F4F6
surface
#EEE7EC
border
#C9C3C7
text
#090208
muted
#7B787B

Preview Lab

Preview with #420C3D

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

Preview Lab → · Contrast checker → · Palette generator →

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