#420A3C#420A3C

#420A3C is a dark, moderate purple. Relative luminance 0.017; OKLCH L 27.1% C 0.105 H 332.9°. Best body text is #FFFFFF at 15.67:1 contrast (WCAG AA passes).

Color values

HEX#420A3C
RGBrgb(66, 10, 60)
HSLhsl(306, 74%, 15%)
HSVhsv(306, 85%, 26%)
CMYKcmyk(0%, 84.8%, 9.1%, 74.1%)
CIE-LABlab(13.84, 32.35, -17.37)
CIE-LCHlch(13.84, 36.72, 331.76°)
OKLaboklab(27.11% 0.0933 -0.0477)
OKLCHoklch(27.11% 0.105 332.9)
XYZxyz(3.1709, 1.7018, 4.4356)
Luminance0.0170 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#420A3C #0A4210
analogous
#2C0A42 #420A3C #420A20
triadic
#420A3C #3C420A #0A3C42
tetradic
#420A3C #422C0A #0A4210 #0A2042
square
#420A3C #422C0A #0A4210 #0A2042
split-complementary
#420A3C #20420A #0A422C
monochromatic
#1B0418 #1B0418 #420A3C #77126C #AC1A9D

Accessibility & contrast

On white

15.67
#420A3C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#420A3C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #420A3C
15.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##420A3C#FFFFFF#000000##FFFFFF
##420A3C1.0015.671.3415.67
#FFFFFF15.671.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#071E3D
Deuteranopia (green-blind)
#1D263B
Tritanopia (blue-blind)
#451022
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #420a3c;
/* rgb */ color: rgb(66, 10, 60);
/* oklch */ color: oklch(27.1% 0.105 332.9);
Tailwind
colors: {
  custom: {
    50: '#795072',
    500: '#420a3c',
    950: '#000000',
  },
}
SCSS
$custom: #420a3c;
$custom-light: #795072;
$custom-dark: #000000;
JSON
{
  "hex": "#420a3c",
  "rgb": {
    "r": 66,
    "g": 10,
    "b": 60
  },
  "hsl": {
    "h": 306.429,
    "s": 73.684,
    "l": 14.902
  },
  "oklch": {
    "l": 0.27111,
    "c": 0.10481,
    "h": 332.9
  },
  "luminance": 0.01702
}

Semantic roles & 50–950 ramp

primary
#420A3C
secondary
#297F32
accent
#F04B37
background
#F7F4F6
surface
#EEE7EC
border
#C9C3C7
text
#090208
muted
#7B787B

Preview Lab

Preview with #420A3C

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

Preview Lab → · Contrast checker → · Palette generator →

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