#471652#471652

#471652 is a dark, moderate purple. Relative luminance 0.025; OKLCH L 30.8% C 0.112 H 319.7°. Best body text is #FFFFFF at 13.96:1 contrast (WCAG AA passes).

Color values

HEX#471652
RGBrgb(71, 22, 82)
HSLhsl(289, 58%, 20%)
HSVhsv(289, 73%, 32%)
CMYKcmyk(13.4%, 73.2%, 0%, 67.8%)
CIE-LABlab(18.02, 33.00, -25.92)
CIE-LCHlch(18.02, 41.96, 321.85°)
OKLaboklab(30.76% 0.0856 -0.0725)
OKLCHoklch(30.76% 0.112 319.7)
XYZxyz(4.4082, 2.5228, 8.2358)
Luminance0.0252 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471652 #215216
analogous
#291652 #471652 #52163F
triadic
#471652 #524716 #165247
tetradic
#471652 #522916 #215216 #163F52
square
#471652 #522916 #215216 #163F52
split-complementary
#471652 #3F5216 #165229
monochromatic
#150618 #1D0922 #471652 #712382 #9B30B3

Accessibility & contrast

On white

13.96
#471652 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #471652
13.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471652#FFFFFF#000000##FFFFFF
##4716521.0013.961.5013.96
#FFFFFF13.961.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#022954
Deuteranopia (green-blind)
#1B2E51
Tritanopia (blue-blind)
#472132
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #471652;
/* rgb */ color: rgb(71, 22, 82);
/* oklch */ color: oklch(30.8% 0.112 319.7);
Tailwind
colors: {
  custom: {
    50: '#7d5883',
    500: '#471652',
    950: '#000000',
  },
}
SCSS
$custom: #471652;
$custom-light: #7d5883;
$custom-dark: #000000;
JSON
{
  "hex": "#471652",
  "rgb": {
    "r": 71,
    "g": 22,
    "b": 82
  },
  "hsl": {
    "h": 289,
    "s": 57.692,
    "l": 20.392
  },
  "oklch": {
    "l": 0.30762,
    "c": 0.11221,
    "h": 319.7
  },
  "luminance": 0.02523
}

Semantic roles & 50–950 ramp

primary
#471652
secondary
#49893A
accent
#E14763
background
#F7F5F8
surface
#EEE9EF
border
#C9C5CA
text
#0A030A
muted
#7C787C

Preview Lab

Preview with #471652

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

Preview Lab → · Contrast checker → · Palette generator →

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