#420841#420841

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

Color values

HEX#420841
RGBrgb(66, 8, 65)
HSLhsl(301, 78%, 15%)
HSVhsv(301, 88%, 26%)
CMYKcmyk(0%, 87.9%, 1.5%, 74.1%)
CIE-LABlab(13.91, 34.00, -20.80)
CIE-LCHlch(13.91, 39.86, 328.54°)
OKLaboklab(27.27% 0.0955 -0.0576)
OKLCHoklch(27.27% 0.112 328.9)
XYZxyz(3.2877, 1.7138, 5.1576)
Luminance0.0171 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#420841 #084209
analogous
#260842 #420841 #420824
triadic
#420841 #414208 #084142
tetradic
#420841 #422608 #084209 #082442
square
#420841 #422608 #084209 #082442
split-complementary
#420841 #244208 #084226
monochromatic
#1B031B #1B031B #420841 #790F77 #AF15AD

Accessibility & contrast

On white

15.64
#420841 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #420841
15.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##420841#FFFFFF#000000##FFFFFF
##4208411.0015.641.3415.64
#FFFFFF15.641.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F42
Deuteranopia (green-blind)
#1A2640
Tritanopia (blue-blind)
#451124
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #420841;
/* rgb */ color: rgb(66, 8, 65);
/* oklch */ color: oklch(27.3% 0.112 328.9);
Tailwind
colors: {
  custom: {
    50: '#795076',
    500: '#420841',
    950: '#000000',
  },
}
SCSS
$custom: #420841;
$custom-light: #795076;
$custom-dark: #000000;
JSON
{
  "hex": "#420841",
  "rgb": {
    "r": 66,
    "g": 8,
    "b": 65
  },
  "hsl": {
    "h": 301.034,
    "s": 78.378,
    "l": 14.51
  },
  "oklch": {
    "l": 0.27265,
    "c": 0.11153,
    "h": 328.9
  },
  "luminance": 0.01714
}

Semantic roles & 50–950 ramp

primary
#420841
secondary
#258027
accent
#F53633
background
#F7F4F7
surface
#EEE7ED
border
#C9C3C8
text
#090208
muted
#7B787B

Preview Lab

Preview with #420841

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

Preview Lab → · Contrast checker → · Palette generator →

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