#47175E#47175E

#47175E is a dark, vivid purple. Relative luminance 0.028; OKLCH L 31.8% C 0.124 H 312.4°. Best body text is #FFFFFF at 13.53:1 contrast (WCAG AA passes).

Color values

HEX#47175E
RGBrgb(71, 23, 94)
HSLhsl(281, 61%, 23%)
HSVhsv(281, 76%, 37%)
CMYKcmyk(24.5%, 75.5%, 0%, 63.1%)
CIE-LABlab(19.06, 35.29, -32.31)
CIE-LCHlch(19.06, 47.84, 317.53°)
OKLaboklab(31.78% 0.0834 -0.0912)
OKLCHoklch(31.78% 0.124 312.4)
XYZxyz(4.9249, 2.7607, 10.8609)
Luminance0.0276 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47175E #2E5E17
analogous
#23175E #47175E #5E1751
triadic
#47175E #5E4717 #175E47
tetradic
#47175E #5E2317 #2E5E17 #17515E
square
#47175E #5E2317 #2E5E17 #17515E
split-complementary
#47175E #515E17 #175E23
monochromatic
#130619 #220B2D #47175E #6C238F #912FC0

Accessibility & contrast

On white

13.53
#47175E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #47175E
13.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47175E#FFFFFF#000000##FFFFFF
##47175E1.0013.531.5513.53
#FFFFFF13.531.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C60
Deuteranopia (green-blind)
#102F5C
Tritanopia (blue-blind)
#442639
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #47175e;
/* rgb */ color: rgb(71, 23, 94);
/* oklch */ color: oklch(31.8% 0.124 312.4);
Tailwind
colors: {
  custom: {
    50: '#7d598c',
    500: '#47175e',
    950: '#000000',
  },
}
SCSS
$custom: #47175e;
$custom-light: #7d598c;
$custom-dark: #000000;
JSON
{
  "hex": "#47175e",
  "rgb": {
    "r": 71,
    "g": 23,
    "b": 94
  },
  "hsl": {
    "h": 280.563,
    "s": 60.684,
    "l": 22.941
  },
  "oklch": {
    "l": 0.31781,
    "c": 0.12363,
    "h": 312.4
  },
  "luminance": 0.02761
}

Semantic roles & 50–950 ramp

primary
#47175E
secondary
#59953C
accent
#E44478
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#0A040C
muted
#7C797D

Preview Lab

Preview with #47175E

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

Preview Lab → · Contrast checker → · Palette generator →

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