#471840#471840

#471840 is a dark, moderate purple. Relative luminance 0.024; OKLCH L 29.9% C 0.091 H 333.8°. Best body text is #FFFFFF at 14.26:1 contrast (WCAG AA passes).

Color values

HEX#471840
RGBrgb(71, 24, 64)
HSLhsl(309, 49%, 19%)
HSVhsv(309, 66%, 28%)
CMYKcmyk(0%, 66.2%, 9.9%, 72.2%)
CIE-LABlab(17.29, 28.24, -14.71)
CIE-LCHlch(17.29, 31.84, 332.48°)
OKLaboklab(29.87% 0.0815 -0.0401)
OKLCHoklch(29.87% 0.091 333.8)
XYZxyz(3.8506, 2.3633, 5.1029)
Luminance0.0236 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471840 #18471F
analogous
#361847 #471840 #471828
triadic
#471840 #404718 #184047
tetradic
#471840 #473618 #18471F #182847
square
#471840 #473618 #18471F #182847
split-complementary
#471840 #284718 #184736
monochromatic
#170815 #190917 #471840 #752769 #A23792

Accessibility & contrast

On white

14.26
#471840 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#471840 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #471840
14.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471840#FFFFFF#000000##FFFFFF
##4718401.0014.261.4714.26
#FFFFFF14.261.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#172641
Deuteranopia (green-blind)
#262D3F
Tritanopia (blue-blind)
#4A1B29
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #471840;
/* rgb */ color: rgb(71, 24, 64);
/* oklch */ color: oklch(29.9% 0.091 333.8);
Tailwind
colors: {
  custom: {
    50: '#7c5875',
    500: '#471840',
    950: '#000000',
  },
}
SCSS
$custom: #471840;
$custom-light: #7c5875;
$custom-dark: #000000;
JSON
{
  "hex": "#471840",
  "rgb": {
    "r": 71,
    "g": 24,
    "b": 64
  },
  "hsl": {
    "h": 308.936,
    "s": 49.474,
    "l": 18.627
  },
  "oklch": {
    "l": 0.29874,
    "c": 0.09085,
    "h": 333.8
  },
  "luminance": 0.02363
}

Semantic roles & 50–950 ramp

primary
#471840
secondary
#3D7E47
accent
#D9634F
background
#F7F5F7
surface
#EEE9ED
border
#C9C5C8
text
#0A0308
muted
#7C787B

Preview Lab

Preview with #471840

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

Preview Lab → · Contrast checker → · Palette generator →

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