#420843#420843

#420843 is a dark, moderate purple. Relative luminance 0.017; OKLCH L 27.4% C 0.113 H 327.4°. Best body text is #FFFFFF at 15.59:1 contrast (WCAG AA passes).

Color values

HEX#420843
RGBrgb(66, 8, 67)
HSLhsl(299, 79%, 15%)
HSVhsv(299, 88%, 26%)
CMYKcmyk(1.5%, 88.1%, 0%, 73.7%)
CIE-LABlab(14.04, 34.38, -21.99)
CIE-LCHlch(14.04, 40.81, 327.40°)
OKLaboklab(27.41% 0.0954 -0.0611)
OKLCHoklch(27.41% 0.113 327.4)
XYZxyz(3.3467, 1.7374, 5.4682)
Luminance0.0174 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#420843 #094308
analogous
#250843 #420843 #430827
triadic
#420843 #434208 #084342
tetradic
#420843 #432508 #094308 #082743
square
#420843 #432508 #094308 #082743
split-complementary
#420843 #274308 #084325
monochromatic
#1B031B #1B031B #420843 #780F7A #AE15B0

Accessibility & contrast

On white

15.59
#420843 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #420843
15.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##420843#FFFFFF#000000##FFFFFF
##4208431.0015.591.3515.59
#FFFFFF15.591.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F45
Deuteranopia (green-blind)
#182642
Tritanopia (blue-blind)
#441226
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #420843;
/* rgb */ color: rgb(66, 8, 67);
/* oklch */ color: oklch(27.4% 0.113 327.4);
Tailwind
colors: {
  custom: {
    50: '#795077',
    500: '#420843',
    950: '#000000',
  },
}
SCSS
$custom: #420843;
$custom-light: #795077;
$custom-dark: #000000;
JSON
{
  "hex": "#420843",
  "rgb": {
    "r": 66,
    "g": 8,
    "b": 67
  },
  "hsl": {
    "h": 298.983,
    "s": 78.667,
    "l": 14.706
  },
  "oklch": {
    "l": 0.27406,
    "c": 0.11328,
    "h": 327.4
  },
  "luminance": 0.01737
}

Semantic roles & 50–950 ramp

primary
#420843
secondary
#278125
accent
#F53336
background
#F7F4F7
surface
#EEE7ED
border
#C9C3C8
text
#090209
muted
#7B787B

Preview Lab

Preview with #420843

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

Preview Lab → · Contrast checker → · Palette generator →

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