#471D52#471D52

#471D52 is a dark, moderate purple. Relative luminance 0.028; OKLCH L 31.7% C 0.101 H 318.8°. Best body text is #FFFFFF at 13.41:1 contrast (WCAG AA passes).

Color values

HEX#471D52
RGBrgb(71, 29, 82)
HSLhsl(288, 48%, 22%)
HSVhsv(288, 65%, 32%)
CMYKcmyk(13.4%, 64.6%, 0%, 67.8%)
CIE-LABlab(19.34, 29.36, -23.82)
CIE-LCHlch(19.34, 37.81, 320.94°)
OKLaboklab(31.72% 0.076 -0.0664)
OKLCHoklch(31.72% 0.101 318.8)
XYZxyz(4.5607, 2.8277, 8.2866)
Luminance0.0283 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471D52 #28521D
analogous
#2D1D52 #471D52 #521D43
triadic
#471D52 #52471D #1D5247
tetradic
#471D52 #522D1D #28521D #1D4352
square
#471D52 #522D1D #28521D #1D4352
split-complementary
#471D52 #43521D #1D522D
monochromatic
#140817 #200D25 #471D52 #6E2D7F #953DAC

Accessibility & contrast

On white

13.41
#471D52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#471D52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #471D52
13.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471D52#FFFFFF#000000##FFFFFF
##471D521.0013.411.5713.41
#FFFFFF13.411.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#102C54
Deuteranopia (green-blind)
#203051
Tritanopia (blue-blind)
#472634
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #471d52;
/* rgb */ color: rgb(71, 29, 82);
/* oklch */ color: oklch(31.7% 0.101 318.8);
Tailwind
colors: {
  custom: {
    50: '#7c5c83',
    500: '#471d52',
    950: '#000000',
  },
}
SCSS
$custom: #471d52;
$custom-light: #7c5c83;
$custom-dark: #000000;
JSON
{
  "hex": "#471d52",
  "rgb": {
    "r": 71,
    "g": 29,
    "b": 82
  },
  "hsl": {
    "h": 287.547,
    "s": 47.748,
    "l": 21.765
  },
  "oklch": {
    "l": 0.31716,
    "c": 0.10093,
    "h": 318.8
  },
  "luminance": 0.02828
}

Semantic roles & 50–950 ramp

primary
#471D52
secondary
#528744
accent
#D7506C
background
#F7F5F8
surface
#EEE9EF
border
#C9C5CA
text
#0A040A
muted
#7C797C

Preview Lab

Preview with #471D52

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

Preview Lab → · Contrast checker → · Palette generator →

#471D52 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva