#471552#471552

#471552 is a dark, moderate purple. Relative luminance 0.025; OKLCH L 30.6% C 0.114 H 319.9°. Best body text is #FFFFFF at 14.03:1 contrast (WCAG AA passes).

Color values

HEX#471552
RGBrgb(71, 21, 82)
HSLhsl(289, 59%, 20%)
HSVhsv(289, 74%, 32%)
CMYKcmyk(13.4%, 74.4%, 0%, 67.8%)
CIE-LABlab(17.85, 33.48, -26.20)
CIE-LCHlch(17.85, 42.51, 321.96°)
OKLaboklab(30.64% 0.0869 -0.0733)
OKLCHoklch(30.64% 0.114 319.9)
XYZxyz(4.3895, 2.4853, 8.2295)
Luminance0.0249 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471552 #205215
analogous
#281552 #471552 #52153F
triadic
#471552 #524715 #155247
tetradic
#471552 #522815 #205215 #153F52
square
#471552 #522815 #205215 #153F52
split-complementary
#471552 #3F5215 #155228
monochromatic
#150618 #1D0921 #471552 #712183 #9B2EB3

Accessibility & contrast

On white

14.03
#471552 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#471552 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #471552
14.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471552#FFFFFF#000000##FFFFFF
##4715521.0014.031.5014.03
#FFFFFF14.031.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#012854
Deuteranopia (green-blind)
#1A2D51
Tritanopia (blue-blind)
#472031
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #471552;
/* rgb */ color: rgb(71, 21, 82);
/* oklch */ color: oklch(30.6% 0.114 319.9);
Tailwind
colors: {
  custom: {
    50: '#7d5783',
    500: '#471552',
    950: '#000000',
  },
}
SCSS
$custom: #471552;
$custom-light: #7d5783;
$custom-dark: #000000;
JSON
{
  "hex": "#471552",
  "rgb": {
    "r": 71,
    "g": 21,
    "b": 82
  },
  "hsl": {
    "h": 289.18,
    "s": 59.223,
    "l": 20.196
  },
  "oklch": {
    "l": 0.3064,
    "c": 0.11369,
    "h": 319.9
  },
  "luminance": 0.02485
}

Semantic roles & 50–950 ramp

primary
#471552
secondary
#488A39
accent
#E24562
background
#F7F5F8
surface
#EEE9EF
border
#C9C5CA
text
#0A030A
muted
#7C787C

Preview Lab

Preview with #471552

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

Preview Lab → · Contrast checker → · Palette generator →

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