#420940#420940

#420940 is a dark, moderate purple. Relative luminance 0.017; OKLCH L 27.3% C 0.109 H 329.7°. Best body text is #FFFFFF at 15.62:1 contrast (WCAG AA passes).

Color values

HEX#420940
RGBrgb(66, 9, 64)
HSLhsl(302, 76%, 15%)
HSVhsv(302, 86%, 26%)
CMYKcmyk(0%, 86.4%, 3%, 74.1%)
CIE-LABlab(13.97, 33.45, -20.00)
CIE-LCHlch(13.97, 38.97, 329.12°)
OKLaboklab(27.29% 0.0945 -0.0553)
OKLCHoklch(27.29% 0.109 329.7)
XYZxyz(3.2698, 1.7240, 5.0100)
Luminance0.0172 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#420940 #09420B
analogous
#280942 #420940 #420924
triadic
#420940 #404209 #094042
tetradic
#420940 #422809 #09420B #092442
square
#420940 #422809 #09420B #092442
split-complementary
#420940 #244209 #094228
monochromatic
#1B041A #1B041A #420940 #781074 #AE18A8

Accessibility & contrast

On white

15.62
#420940 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#420940 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #420940
15.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##420940#FFFFFF#000000##FFFFFF
##4209401.0015.621.3415.62
#FFFFFF15.621.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#021F41
Deuteranopia (green-blind)
#1B263F
Tritanopia (blue-blind)
#451224
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #420940;
/* rgb */ color: rgb(66, 9, 64);
/* oklch */ color: oklch(27.3% 0.109 329.7);
Tailwind
colors: {
  custom: {
    50: '#795075',
    500: '#420940',
    950: '#000000',
  },
}
SCSS
$custom: #420940;
$custom-light: #795075;
$custom-dark: #000000;
JSON
{
  "hex": "#420940",
  "rgb": {
    "r": 66,
    "g": 9,
    "b": 64
  },
  "hsl": {
    "h": 302.105,
    "s": 76,
    "l": 14.706
  },
  "oklch": {
    "l": 0.27286,
    "c": 0.10947,
    "h": 329.7
  },
  "luminance": 0.01724
}

Semantic roles & 50–950 ramp

primary
#420940
secondary
#27802A
accent
#F33C35
background
#F7F4F7
surface
#EEE7ED
border
#C9C3C8
text
#090208
muted
#7B787B

Preview Lab

Preview with #420940

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

Preview Lab → · Contrast checker → · Palette generator →

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