#47175D#47175D

#47175D is a dark, vivid purple. Relative luminance 0.027; OKLCH L 31.7% C 0.123 H 313.0°. Best body text is #FFFFFF at 13.56:1 contrast (WCAG AA passes).

Color values

HEX#47175D
RGBrgb(71, 23, 93)
HSLhsl(281, 60%, 23%)
HSVhsv(281, 75%, 36%)
CMYKcmyk(23.7%, 75.3%, 0%, 63.5%)
CIE-LABlab(18.98, 35.05, -31.77)
CIE-LCHlch(18.98, 47.30, 317.82°)
OKLaboklab(31.7% 0.0836 -0.0896)
OKLCHoklch(31.7% 0.123 313)
XYZxyz(4.8804, 2.7428, 10.6261)
Luminance0.0274 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47175D #2D5D17
analogous
#24175D #47175D #5D1750
triadic
#47175D #5D4717 #175D47
tetradic
#47175D #5D2417 #2D5D17 #17505D
square
#47175D #5D2417 #2D5D17 #17505D
split-complementary
#47175D #505D17 #175D24
monochromatic
#130619 #220B2C #47175D #6C238E #922FBF

Accessibility & contrast

On white

13.56
#47175D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#47175D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #47175D
13.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47175D#FFFFFF#000000##FFFFFF
##47175D1.0013.561.5513.56
#FFFFFF13.561.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C5F
Deuteranopia (green-blind)
#112F5B
Tritanopia (blue-blind)
#452638
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #47175d;
/* rgb */ color: rgb(71, 23, 93);
/* oklch */ color: oklch(31.7% 0.123 313.0);
Tailwind
colors: {
  custom: {
    50: '#7d598b',
    500: '#47175d',
    950: '#000000',
  },
}
SCSS
$custom: #47175d;
$custom-light: #7d598b;
$custom-dark: #000000;
JSON
{
  "hex": "#47175d",
  "rgb": {
    "r": 71,
    "g": 23,
    "b": 93
  },
  "hsl": {
    "h": 281.143,
    "s": 60.345,
    "l": 22.745
  },
  "oklch": {
    "l": 0.31703,
    "c": 0.12253,
    "h": 313
  },
  "luminance": 0.02743
}

Semantic roles & 50–950 ramp

primary
#47175D
secondary
#58943C
accent
#E34476
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#0A040C
muted
#7C797D

Preview Lab

Preview with #47175D

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

Preview Lab → · Contrast checker → · Palette generator →

#47175D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva