#420B45#420B45

#420B45 is a dark, moderate purple. Relative luminance 0.018; OKLCH L 27.8% C 0.112 H 325.8°. Best body text is #FFFFFF at 15.38:1 contrast (WCAG AA passes).

Color values

HEX#420B45
RGBrgb(66, 11, 69)
HSLhsl(297, 73%, 16%)
HSVhsv(297, 84%, 27%)
CMYKcmyk(4.3%, 84.1%, 0%, 72.9%)
CIE-LABlab(14.55, 33.70, -22.57)
CIE-LCHlch(14.55, 40.56, 326.18°)
OKLaboklab(27.81% 0.0923 -0.0628)
OKLCHoklch(27.81% 0.112 325.8)
XYZxyz(3.4405, 1.8275, 5.8006)
Luminance0.0183 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#420B45 #0E450B
analogous
#250B45 #420B45 #450B2B
triadic
#420B45 #45420B #0B4542
tetradic
#420B45 #45250B #0E450B #0B2B45
square
#420B45 #45250B #0E450B #0B2B45
split-complementary
#420B45 #2B450B #0B4525
monochromatic
#19041A #19041A #420B45 #74137A #A71CAF

Accessibility & contrast

On white

15.38
#420B45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#420B45 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #420B45
15.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##420B45#FFFFFF#000000##FFFFFF
##420B451.0015.381.3715.38
#FFFFFF15.381.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002047
Deuteranopia (green-blind)
#182744
Tritanopia (blue-blind)
#441527
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #420b45;
/* rgb */ color: rgb(66, 11, 69);
/* oklch */ color: oklch(27.8% 0.112 325.8);
Tailwind
colors: {
  custom: {
    50: '#795179',
    500: '#420b45',
    950: '#000000',
  },
}
SCSS
$custom: #420b45;
$custom-light: #795179;
$custom-dark: #000000;
JSON
{
  "hex": "#420b45",
  "rgb": {
    "r": 66,
    "g": 11,
    "b": 69
  },
  "hsl": {
    "h": 296.897,
    "s": 72.5,
    "l": 15.686
  },
  "oklch": {
    "l": 0.27814,
    "c": 0.11164,
    "h": 325.8
  },
  "luminance": 0.01827
}

Semantic roles & 50–950 ramp

primary
#420B45
secondary
#2F812A
accent
#EF3942
background
#F7F4F7
surface
#EEE7ED
border
#C9C3C8
text
#090209
muted
#7B787B

Preview Lab

Preview with #420B45

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

Preview Lab → · Contrast checker → · Palette generator →

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