#420539#420539

#420539 is a dark, moderate purple. Relative luminance 0.016; OKLCH L 26.5% C 0.109 H 335.4°. Best body text is #FFFFFF at 16.00:1 contrast (WCAG AA passes).

Color values

HEX#420539
RGBrgb(66, 5, 57)
HSLhsl(309, 86%, 14%)
HSVhsv(309, 92%, 26%)
CMYKcmyk(0%, 92.4%, 13.6%, 74.1%)
CIE-LABlab(13.00, 33.71, -16.55)
CIE-LCHlch(13.00, 37.55, 333.85°)
OKLaboklab(26.45% 0.0987 -0.0453)
OKLCHoklch(26.45% 0.109 335.4)
XYZxyz(3.0396, 1.5625, 4.0116)
Luminance0.0156 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#420539 #05420E
analogous
#2D0542 #420539 #42051B
triadic
#420539 #394205 #053942
tetradic
#420539 #422D05 #05420E #051B42
square
#420539 #422D05 #05420E #051B42
split-complementary
#420539 #1B4205 #05422D
monochromatic
#1C0219 #1C0219 #420539 #7B096A #B40E9B

Accessibility & contrast

On white

16.00
#420539 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#420539 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #420539
16.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##420539#FFFFFF#000000##FFFFFF
##4205391.0016.001.3116.00
#FFFFFF16.001.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#051C3A
Deuteranopia (green-blind)
#1D2538
Tritanopia (blue-blind)
#460A1F
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #420539;
/* rgb */ color: rgb(66, 5, 57);
/* oklch */ color: oklch(26.5% 0.109 335.4);
Tailwind
colors: {
  custom: {
    50: '#794e6f',
    500: '#420539',
    950: '#000000',
  },
}
SCSS
$custom: #420539;
$custom-light: #794e6f;
$custom-dark: #000000;
JSON
{
  "hex": "#420539",
  "rgb": {
    "r": 66,
    "g": 5,
    "b": 57
  },
  "hsl": {
    "h": 308.852,
    "s": 85.915,
    "l": 13.922
  },
  "oklch": {
    "l": 0.26451,
    "c": 0.10862,
    "h": 335.4
  },
  "luminance": 0.01562
}

Semantic roles & 50–950 ramp

primary
#420539
secondary
#20822F
accent
#FC4A2C
background
#F7F4F6
surface
#EEE7EC
border
#C9C3C7
text
#090207
muted
#7B787A

Preview Lab

Preview with #420539

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

Preview Lab → · Contrast checker → · Palette generator →

#420539 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva