#472147#472147

#472147 is a dark, moderate purple. Relative luminance 0.029; OKLCH L 31.7% C 0.081 H 327.3°. Best body text is #FFFFFF at 13.32:1 contrast (WCAG AA passes).

Color values

HEX#472147
RGBrgb(71, 33, 71)
HSLhsl(300, 37%, 20%)
HSVhsv(300, 54%, 28%)
CMYKcmyk(0%, 53.5%, 0%, 72.2%)
CIE-LABlab(19.57, 24.57, -16.00)
CIE-LCHlch(19.57, 29.32, 326.94°)
OKLaboklab(31.67% 0.0683 -0.0439)
OKLCHoklch(31.67% 0.081 327.3)
XYZxyz(4.2796, 2.8825, 6.2910)
Luminance0.0288 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472147 #214721
analogous
#342147 #472147 #472134
triadic
#472147 #474721 #214747
tetradic
#472147 #473421 #214721 #213447
square
#472147 #473421 #214721 #213447
split-complementary
#472147 #344721 #214734
monochromatic
#150A15 #1D0E1D #472147 #713471 #9B489B

Accessibility & contrast

On white

13.32
#472147 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#472147 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #472147
13.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472147#FFFFFF#000000##FFFFFF
##4721471.0013.321.5813.32
#FFFFFF13.321.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E2C48
Deuteranopia (green-blind)
#293146
Tritanopia (blue-blind)
#492530
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #472147;
/* rgb */ color: rgb(71, 33, 71);
/* oklch */ color: oklch(31.7% 0.081 327.3);
Tailwind
colors: {
  custom: {
    50: '#7b5e7a',
    500: '#472147',
    950: '#000000',
  },
}
SCSS
$custom: #472147;
$custom-light: #7b5e7a;
$custom-dark: #000000;
JSON
{
  "hex": "#472147",
  "rgb": {
    "r": 71,
    "g": 33,
    "b": 71
  },
  "hsl": {
    "h": 300,
    "s": 36.538,
    "l": 20.392
  },
  "oklch": {
    "l": 0.31675,
    "c": 0.08114,
    "h": 327.3
  },
  "luminance": 0.02882
}

Semantic roles & 50–950 ramp

primary
#472147
secondary
#497B49
accent
#CD5B5B
background
#F7F5F7
surface
#EEE9ED
border
#C9C5C8
text
#090409
muted
#7B797B

Preview Lab

Preview with #472147

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

Preview Lab → · Contrast checker → · Palette generator →

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