#420639#420639

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

Color values

HEX#420639
RGBrgb(66, 6, 57)
HSLhsl(309, 83%, 14%)
HSVhsv(309, 91%, 26%)
CMYKcmyk(0%, 90.9%, 13.6%, 74.1%)
CIE-LABlab(13.13, 33.32, -16.34)
CIE-LCHlch(13.13, 37.11, 333.88°)
OKLaboklab(26.55% 0.0976 -0.0447)
OKLCHoklch(26.55% 0.107 335.4)
XYZxyz(3.0505, 1.5842, 4.0152)
Luminance0.0158 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#420639 #06420F
analogous
#2D0642 #420639 #42061B
triadic
#420639 #394206 #063942
tetradic
#420639 #422D06 #06420F #061B42
square
#420639 #422D06 #06420F #061B42
split-complementary
#420639 #1B4206 #06422D
monochromatic
#1C0318 #1C0318 #420639 #7A0B69 #B2109A

Accessibility & contrast

On white

15.95
#420639 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#420639 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #420639
15.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##420639#FFFFFF#000000##FFFFFF
##4206391.0015.951.3215.95
#FFFFFF15.951.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.951.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #420639;
/* rgb */ color: rgb(66, 6, 57);
/* oklch */ color: oklch(26.5% 0.107 335.4);
Tailwind
colors: {
  custom: {
    50: '#794f6f',
    500: '#420639',
    950: '#000000',
  },
}
SCSS
$custom: #420639;
$custom-light: #794f6f;
$custom-dark: #000000;
JSON
{
  "hex": "#420639",
  "rgb": {
    "r": 66,
    "g": 6,
    "b": 57
  },
  "hsl": {
    "h": 309,
    "s": 83.333,
    "l": 14.118
  },
  "oklch": {
    "l": 0.26547,
    "c": 0.10732,
    "h": 335.4
  },
  "luminance": 0.01584
}

Semantic roles & 50–950 ramp

primary
#420639
secondary
#228230
accent
#FA4D2E
background
#F7F4F6
surface
#EEE7EC
border
#C9C3C7
text
#090207
muted
#7B787A

Preview Lab

Preview with #420639

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

Preview Lab → · Contrast checker → · Palette generator →

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