#470843#470843

#470843 is a dark, moderate purple. Relative luminance 0.019; OKLCH L 28.3% C 0.116 H 331.1°. Best body text is #FFFFFF at 15.18:1 contrast (WCAG AA passes).

Color values

HEX#470843
RGBrgb(71, 8, 67)
HSLhsl(304, 80%, 15%)
HSVhsv(304, 89%, 28%)
CMYKcmyk(0%, 88.7%, 5.6%, 72.2%)
CIE-LABlab(15.06, 35.57, -20.32)
CIE-LCHlch(15.06, 40.97, 330.27°)
OKLaboklab(28.32% 0.1015 -0.0561)
OKLCHoklch(28.32% 0.116 331.1)
XYZxyz(3.6985, 1.9188, 5.4847)
Luminance0.0192 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#470843 #08470C
analogous
#2B0847 #470843 #470823
triadic
#470843 #434708 #084347
tetradic
#470843 #472B08 #08470C #082347
square
#470843 #472B08 #08470C #082347
split-complementary
#470843 #234708 #08472B
monochromatic
#1C031A #1C031A #470843 #7E0E77 #B514AB

Accessibility & contrast

On white

15.18
#470843 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#470843 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #470843
15.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##470843#FFFFFF#000000##FFFFFF
##4708431.0015.181.3815.18
#FFFFFF15.181.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#022045
Deuteranopia (green-blind)
#1D2942
Tritanopia (blue-blind)
#4A1126
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #470843;
/* rgb */ color: rgb(71, 8, 67);
/* oklch */ color: oklch(28.3% 0.116 331.1);
Tailwind
colors: {
  custom: {
    50: '#7d5177',
    500: '#470843',
    950: '#000000',
  },
}
SCSS
$custom: #470843;
$custom-light: #7d5177;
$custom-dark: #000000;
JSON
{
  "hex": "#470843",
  "rgb": {
    "r": 71,
    "g": 8,
    "b": 67
  },
  "hsl": {
    "h": 303.81,
    "s": 79.747,
    "l": 15.49
  },
  "oklch": {
    "l": 0.28317,
    "c": 0.11595,
    "h": 331.1
  },
  "luminance": 0.01919
}

Semantic roles & 50–950 ramp

primary
#470843
secondary
#26852C
accent
#F63E32
background
#F7F4F7
surface
#EEE7ED
border
#C9C3C8
text
#0A0208
muted
#7C787B

Preview Lab

Preview with #470843

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

Preview Lab → · Contrast checker → · Palette generator →

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