#420739#420739

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

Color values

HEX#420739
RGBrgb(66, 7, 57)
HSLhsl(309, 81%, 14%)
HSVhsv(309, 89%, 26%)
CMYKcmyk(0%, 89.4%, 13.6%, 74.1%)
CIE-LABlab(13.27, 32.94, -16.13)
CIE-LCHlch(13.27, 36.68, 333.91°)
OKLaboklab(26.64% 0.0964 -0.0441)
OKLCHoklch(26.64% 0.106 335.4)
XYZxyz(3.0613, 1.6059, 4.0188)
Luminance0.0161 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#420739 #074210
analogous
#2E0742 #420739 #42071C
triadic
#420739 #394207 #073942
tetradic
#420739 #422E07 #074210 #071C42
square
#420739 #422E07 #074210 #071C42
split-complementary
#420739 #1C4207 #07422E
monochromatic
#1C0318 #1C0318 #420739 #790D69 #B11399

Accessibility & contrast

On white

15.89
#420739 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #420739
15.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##420739#FFFFFF#000000##FFFFFF
##4207391.0015.891.3215.89
#FFFFFF15.891.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#071D3A
Deuteranopia (green-blind)
#1D2538
Tritanopia (blue-blind)
#460C20
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #420739;
/* rgb */ color: rgb(66, 7, 57);
/* oklch */ color: oklch(26.6% 0.106 335.4);
Tailwind
colors: {
  custom: {
    50: '#794f6f',
    500: '#420739',
    950: '#000000',
  },
}
SCSS
$custom: #420739;
$custom-light: #794f6f;
$custom-dark: #000000;
JSON
{
  "hex": "#420739",
  "rgb": {
    "r": 66,
    "g": 7,
    "b": 57
  },
  "hsl": {
    "h": 309.153,
    "s": 80.822,
    "l": 14.314
  },
  "oklch": {
    "l": 0.26642,
    "c": 0.10604,
    "h": 335.4
  },
  "luminance": 0.01606
}

Semantic roles & 50–950 ramp

primary
#420739
secondary
#248132
accent
#F74F31
background
#F7F4F6
surface
#EEE7EC
border
#C9C3C7
text
#090207
muted
#7B787A

Preview Lab

Preview with #420739

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

Preview Lab → · Contrast checker → · Palette generator →

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