#420844#420844

#420844 is a dark, moderate purple. Relative luminance 0.017; OKLCH L 27.5% C 0.114 H 326.6°. Best body text is #FFFFFF at 15.56:1 contrast (WCAG AA passes).

Color values

HEX#420844
RGBrgb(66, 8, 68)
HSLhsl(298, 79%, 15%)
HSVhsv(298, 88%, 27%)
CMYKcmyk(2.9%, 88.2%, 0%, 73.3%)
CIE-LABlab(14.11, 34.57, -22.58)
CIE-LCHlch(14.11, 41.29, 326.85°)
OKLaboklab(27.48% 0.0953 -0.0628)
OKLCHoklch(27.48% 0.114 326.6)
XYZxyz(3.3769, 1.7495, 5.6275)
Luminance0.0175 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#420844 #0A4408
analogous
#240844 #420844 #440828
triadic
#420844 #444208 #084442
tetradic
#420844 #442408 #0A4408 #082844
square
#420844 #442408 #0A4408 #082844
split-complementary
#420844 #284408 #084424
monochromatic
#1B031B #1B031B #420844 #770E7B #AC15B2

Accessibility & contrast

On white

15.56
#420844 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#420844 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #420844
15.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##420844#FFFFFF#000000##FFFFFF
##4208441.0015.561.3515.56
#FFFFFF15.561.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F46
Deuteranopia (green-blind)
#182643
Tritanopia (blue-blind)
#441326
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #420844;
/* rgb */ color: rgb(66, 8, 68);
/* oklch */ color: oklch(27.5% 0.114 326.6);
Tailwind
colors: {
  custom: {
    50: '#795078',
    500: '#420844',
    950: '#000000',
  },
}
SCSS
$custom: #420844;
$custom-light: #795078;
$custom-dark: #000000;
JSON
{
  "hex": "#420844",
  "rgb": {
    "r": 66,
    "g": 8,
    "b": 68
  },
  "hsl": {
    "h": 298,
    "s": 78.947,
    "l": 14.902
  },
  "oklch": {
    "l": 0.27478,
    "c": 0.11416,
    "h": 326.6
  },
  "luminance": 0.01749
}

Semantic roles & 50–950 ramp

primary
#420844
secondary
#298226
accent
#F53239
background
#F7F4F7
surface
#EEE7ED
border
#C9C3C8
text
#090209
muted
#7B787B

Preview Lab

Preview with #420844

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

Preview Lab → · Contrast checker → · Palette generator →

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