#471847#471847

#471847 is a dark, moderate purple. Relative luminance 0.024; OKLCH L 30.3% C 0.098 H 327.7°. Best body text is #FFFFFF at 14.10:1 contrast (WCAG AA passes).

Color values

HEX#471847
RGBrgb(71, 24, 71)
HSLhsl(300, 49%, 19%)
HSVhsv(300, 66%, 28%)
CMYKcmyk(0%, 66.2%, 0%, 72.2%)
CIE-LABlab(17.68, 29.64, -18.95)
CIE-LCHlch(17.68, 35.17, 327.41°)
OKLaboklab(30.29% 0.0825 -0.0523)
OKLCHoklch(30.29% 0.098 327.7)
XYZxyz(4.0624, 2.4481, 6.2186)
Luminance0.0245 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471847 #184718
analogous
#2F1847 #471847 #47182F
triadic
#471847 #474718 #184747
tetradic
#471847 #472F18 #184718 #182F47
square
#471847 #472F18 #184718 #182F47
split-complementary
#471847 #2F4718 #18472F
monochromatic
#170817 #190919 #471847 #752775 #A237A2

Accessibility & contrast

On white

14.10
#471847 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#471847 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #471847
14.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471847#FFFFFF#000000##FFFFFF
##4718471.0014.101.4914.10
#FFFFFF14.101.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#132748
Deuteranopia (green-blind)
#232E46
Tritanopia (blue-blind)
#491E2D
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #471847;
/* rgb */ color: rgb(71, 24, 71);
/* oklch */ color: oklch(30.3% 0.098 327.7);
Tailwind
colors: {
  custom: {
    50: '#7c587a',
    500: '#471847',
    950: '#000000',
  },
}
SCSS
$custom: #471847;
$custom-light: #7c587a;
$custom-dark: #000000;
JSON
{
  "hex": "#471847",
  "rgb": {
    "r": 71,
    "g": 24,
    "b": 71
  },
  "hsl": {
    "h": 300,
    "s": 49.474,
    "l": 18.627
  },
  "oklch": {
    "l": 0.3029,
    "c": 0.09768,
    "h": 327.7
  },
  "luminance": 0.02448
}

Semantic roles & 50–950 ramp

primary
#471847
secondary
#3D7E3D
accent
#D94F4F
background
#F7F5F7
surface
#EEE9ED
border
#C9C5C8
text
#0A0309
muted
#7C787B

Preview Lab

Preview with #471847

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

Preview Lab → · Contrast checker → · Palette generator →

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