#47174E#47174E

#47174E is a dark, moderate purple. Relative luminance 0.025; OKLCH L 30.6% C 0.107 H 322.4°. Best body text is #FFFFFF at 14.00:1 contrast (WCAG AA passes).

Color values

HEX#47174E
RGBrgb(71, 23, 78)
HSLhsl(292, 54%, 20%)
HSVhsv(292, 71%, 31%)
CMYKcmyk(9%, 70.5%, 0%, 69.4%)
CIE-LABlab(17.93, 31.63, -23.35)
CIE-LCHlch(17.93, 39.32, 323.56°)
OKLaboklab(30.61% 0.0844 -0.065)
OKLCHoklch(30.61% 0.107 322.4)
XYZxyz(4.2799, 2.5027, 7.4639)
Luminance0.0250 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47174E #1E4E17
analogous
#2C174E #47174E #4E1739
triadic
#47174E #4E4717 #174E47
tetradic
#47174E #4E2C17 #1E4E17 #17394E
square
#47174E #4E2C17 #1E4E17 #17394E
split-complementary
#47174E #394E17 #174E2C
monochromatic
#160718 #1C091F #47174E #72257D #9D33AD

Accessibility & contrast

On white

14.00
#47174E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#47174E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #47174E
14.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47174E#FFFFFF#000000##FFFFFF
##47174E1.0014.001.5014.00
#FFFFFF14.001.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A2850
Deuteranopia (green-blind)
#1E2E4D
Tritanopia (blue-blind)
#482030
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #47174e;
/* rgb */ color: rgb(71, 23, 78);
/* oklch */ color: oklch(30.6% 0.107 322.4);
Tailwind
colors: {
  custom: {
    50: '#7c5880',
    500: '#47174e',
    950: '#000000',
  },
}
SCSS
$custom: #47174e;
$custom-light: #7c5880;
$custom-dark: #000000;
JSON
{
  "hex": "#47174e",
  "rgb": {
    "r": 71,
    "g": 23,
    "b": 78
  },
  "hsl": {
    "h": 292.364,
    "s": 54.455,
    "l": 19.804
  },
  "oklch": {
    "l": 0.3061,
    "c": 0.10651,
    "h": 322.4
  },
  "luminance": 0.02502
}

Semantic roles & 50–950 ramp

primary
#47174E
secondary
#45853C
accent
#DE4A5D
background
#F7F5F7
surface
#EEE9EE
border
#C9C5C9
text
#0A030A
muted
#7C787C

Preview Lab

Preview with #47174E

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

Preview Lab → · Contrast checker → · Palette generator →

#47174E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva