#420839#420839

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

Color values

HEX#420839
RGBrgb(66, 8, 57)
HSLhsl(309, 78%, 15%)
HSVhsv(309, 88%, 26%)
CMYKcmyk(0%, 87.9%, 13.6%, 74.1%)
CIE-LABlab(13.40, 32.56, -15.93)
CIE-LCHlch(13.40, 36.25, 333.94°)
OKLaboklab(26.74% 0.0953 -0.0435)
OKLCHoklch(26.74% 0.105 335.5)
XYZxyz(3.0722, 1.6276, 4.0225)
Luminance0.0163 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#420839 #084211
analogous
#2E0842 #420839 #42081C
triadic
#420839 #394208 #083942
tetradic
#420839 #422E08 #084211 #081C42
square
#420839 #422E08 #084211 #081C42
split-complementary
#420839 #1C4208 #08422E
monochromatic
#1B0318 #1B0318 #420839 #790F68 #AF1597

Accessibility & contrast

On white

15.84
#420839 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #420839
15.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##420839#FFFFFF#000000##FFFFFF
##4208391.0015.841.3315.84
#FFFFFF15.841.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#081D3A
Deuteranopia (green-blind)
#1E2538
Tritanopia (blue-blind)
#460D20
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #420839;
/* rgb */ color: rgb(66, 8, 57);
/* oklch */ color: oklch(26.7% 0.105 335.5);
Tailwind
colors: {
  custom: {
    50: '#794f6f',
    500: '#420839',
    950: '#000000',
  },
}
SCSS
$custom: #420839;
$custom-light: #794f6f;
$custom-dark: #000000;
JSON
{
  "hex": "#420839",
  "rgb": {
    "r": 66,
    "g": 8,
    "b": 57
  },
  "hsl": {
    "h": 309.31,
    "s": 78.378,
    "l": 14.51
  },
  "oklch": {
    "l": 0.26736,
    "c": 0.10478,
    "h": 335.5
  },
  "luminance": 0.01627
}

Semantic roles & 50–950 ramp

primary
#420839
secondary
#258034
accent
#F55133
background
#F7F4F6
surface
#EEE7EC
border
#C9C3C7
text
#090207
muted
#7B787A

Preview Lab

Preview with #420839

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

Preview Lab → · Contrast checker → · Palette generator →

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