#472153#472153

#472153 is a dark, moderate purple. Relative luminance 0.031; OKLCH L 32.4% C 0.095 H 317.5°. Best body text is #FFFFFF at 13.04:1 contrast (WCAG AA passes).

Color values

HEX#472153
RGBrgb(71, 33, 83)
HSLhsl(286, 43%, 23%)
HSVhsv(286, 60%, 33%)
CMYKcmyk(14.5%, 60.2%, 0%, 67.5%)
CIE-LABlab(20.25, 27.31, -23.05)
CIE-LCHlch(20.25, 35.74, 319.84°)
OKLaboklab(32.4% 0.07 -0.0642)
OKLCHoklch(32.4% 0.095 317.5)
XYZxyz(4.7035, 3.0520, 8.5233)
Luminance0.0305 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472153 #2D5321
analogous
#2E2153 #472153 #532146
triadic
#472153 #534721 #215347
tetradic
#472153 #532E21 #2D5321 #214653
square
#472153 #532E21 #2D5321 #214653
split-complementary
#472153 #465321 #21532E
monochromatic
#130916 #221027 #472153 #6C327F #9244AB

Accessibility & contrast

On white

13.04
#472153 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #472153
13.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472153#FFFFFF#000000##FFFFFF
##4721531.0013.041.6113.04
#FFFFFF13.041.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#162E55
Deuteranopia (green-blind)
#233252
Tritanopia (blue-blind)
#472936
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #472153;
/* rgb */ color: rgb(71, 33, 83);
/* oklch */ color: oklch(32.4% 0.095 317.5);
Tailwind
colors: {
  custom: {
    50: '#7c5e83',
    500: '#472153',
    950: '#000000',
  },
}
SCSS
$custom: #472153;
$custom-light: #7c5e83;
$custom-dark: #000000;
JSON
{
  "hex": "#472153",
  "rgb": {
    "r": 71,
    "g": 33,
    "b": 83
  },
  "hsl": {
    "h": 285.6,
    "s": 43.103,
    "l": 22.745
  },
  "oklch": {
    "l": 0.32402,
    "c": 0.095,
    "h": 317.5
  },
  "luminance": 0.03052
}

Semantic roles & 50–950 ramp

primary
#472153
secondary
#588749
accent
#D35573
background
#F7F5F8
surface
#EEE9EF
border
#C9C5CA
text
#09040A
muted
#7B797C

Preview Lab

Preview with #472153

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

Preview Lab → · Contrast checker → · Palette generator →

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