#420939#420939

#420939 is a dark, moderate purple. Relative luminance 0.016; OKLCH L 26.8% C 0.104 H 335.5°. Best body text is #FFFFFF at 15.79:1 contrast (WCAG AA passes).

Color values

HEX#420939
RGBrgb(66, 9, 57)
HSLhsl(309, 76%, 15%)
HSVhsv(309, 86%, 26%)
CMYKcmyk(0%, 86.4%, 13.6%, 74.1%)
CIE-LABlab(13.53, 32.19, -15.72)
CIE-LCHlch(13.53, 35.82, 333.97°)
OKLaboklab(26.83% 0.0942 -0.0429)
OKLCHoklch(26.83% 0.104 335.5)
XYZxyz(3.0830, 1.6493, 4.0261)
Luminance0.0165 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#420939 #094212
analogous
#2F0942 #420939 #42091C
triadic
#420939 #394209 #093942
tetradic
#420939 #422F09 #094212 #091C42
square
#420939 #422F09 #094212 #091C42
split-complementary
#420939 #1C4209 #09422F
monochromatic
#1B0417 #1B0417 #420939 #781068 #AE1896

Accessibility & contrast

On white

15.79
#420939 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#420939 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #420939
15.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##420939#FFFFFF#000000##FFFFFF
##4209391.0015.791.3315.79
#FFFFFF15.791.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#091D3A
Deuteranopia (green-blind)
#1E2638
Tritanopia (blue-blind)
#460E20
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #420939;
/* rgb */ color: rgb(66, 9, 57);
/* oklch */ color: oklch(26.8% 0.104 335.5);
Tailwind
colors: {
  custom: {
    50: '#79506f',
    500: '#420939',
    950: '#000000',
  },
}
SCSS
$custom: #420939;
$custom-light: #79506f;
$custom-dark: #000000;
JSON
{
  "hex": "#420939",
  "rgb": {
    "r": 66,
    "g": 9,
    "b": 57
  },
  "hsl": {
    "h": 309.474,
    "s": 76,
    "l": 14.706
  },
  "oklch": {
    "l": 0.26829,
    "c": 0.10353,
    "h": 335.5
  },
  "luminance": 0.01649
}

Semantic roles & 50–950 ramp

primary
#420939
secondary
#278035
accent
#F35335
background
#F7F4F6
surface
#EEE7EC
border
#C9C3C7
text
#090207
muted
#7B787A

Preview Lab

Preview with #420939

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

Preview Lab → · Contrast checker → · Palette generator →

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