#472152#472152

#472152 is a dark, moderate purple. Relative luminance 0.030; OKLCH L 32.3% C 0.094 H 318.2°. Best body text is #FFFFFF at 13.06:1 contrast (WCAG AA passes).

Color values

HEX#472152
RGBrgb(71, 33, 82)
HSLhsl(287, 43%, 23%)
HSVhsv(287, 60%, 32%)
CMYKcmyk(13.4%, 59.8%, 0%, 67.8%)
CIE-LABlab(20.19, 27.08, -22.48)
CIE-LCHlch(20.19, 35.19, 320.30°)
OKLaboklab(32.34% 0.0699 -0.0626)
OKLCHoklch(32.34% 0.094 318.2)
XYZxyz(4.6652, 3.0367, 8.3214)
Luminance0.0304 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472152 #2C5221
analogous
#2F2152 #472152 #522144
triadic
#472152 #524721 #215247
tetradic
#472152 #522F21 #2C5221 #214452
square
#472152 #522F21 #2C5221 #214452
split-complementary
#472152 #445221 #21522F
monochromatic
#130916 #210F26 #472152 #6D337E #9344A9

Accessibility & contrast

On white

13.06
#472152 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#472152 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #472152
13.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472152#FFFFFF#000000##FFFFFF
##4721521.0013.061.6113.06
#FFFFFF13.061.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#172E54
Deuteranopia (green-blind)
#233251
Tritanopia (blue-blind)
#472836
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #472152;
/* rgb */ color: rgb(71, 33, 82);
/* oklch */ color: oklch(32.3% 0.094 318.2);
Tailwind
colors: {
  custom: {
    50: '#7c5e83',
    500: '#472152',
    950: '#000000',
  },
}
SCSS
$custom: #472152;
$custom-light: #7c5e83;
$custom-dark: #000000;
JSON
{
  "hex": "#472152",
  "rgb": {
    "r": 71,
    "g": 33,
    "b": 82
  },
  "hsl": {
    "h": 286.531,
    "s": 42.609,
    "l": 22.549
  },
  "oklch": {
    "l": 0.32338,
    "c": 0.09381,
    "h": 318.2
  },
  "luminance": 0.03037
}

Semantic roles & 50–950 ramp

primary
#472152
secondary
#568649
accent
#D25571
background
#F7F5F8
surface
#EEE9EF
border
#C9C5CA
text
#09040A
muted
#7B797C

Preview Lab

Preview with #472152

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

Preview Lab → · Contrast checker → · Palette generator →

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