#47175A#47175A

#47175A is a dark, moderate purple. Relative luminance 0.027; OKLCH L 31.5% C 0.119 H 314.7°. Best body text is #FFFFFF at 13.65:1 contrast (WCAG AA passes).

Color values

HEX#47175A
RGBrgb(71, 23, 90)
HSLhsl(283, 59%, 22%)
HSVhsv(283, 74%, 35%)
CMYKcmyk(21.1%, 74.4%, 0%, 64.7%)
CIE-LABlab(18.76, 34.34, -30.12)
CIE-LCHlch(18.76, 45.68, 318.75°)
OKLaboklab(31.47% 0.0839 -0.0848)
OKLCHoklch(31.47% 0.119 314.7)
XYZxyz(4.7501, 2.6907, 9.9400)
Luminance0.0269 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47175A #2A5A17
analogous
#26175A #47175A #5A174C
triadic
#47175A #5A4717 #175A47
tetradic
#47175A #5A2617 #2A5A17 #174C5A
square
#47175A #5A2617 #2A5A17 #174C5A
split-complementary
#47175A #4C5A17 #175A26
monochromatic
#130618 #210B29 #47175A #6D238B #9430BB

Accessibility & contrast

On white

13.65
#47175A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#47175A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #47175A
13.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47175A#FFFFFF#000000##FFFFFF
##47175A1.0013.651.5413.65
#FFFFFF13.651.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B5C
Deuteranopia (green-blind)
#142F58
Tritanopia (blue-blind)
#452536
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #47175a;
/* rgb */ color: rgb(71, 23, 90);
/* oklch */ color: oklch(31.5% 0.119 314.7);
Tailwind
colors: {
  custom: {
    50: '#7d5989',
    500: '#47175a',
    950: '#000000',
  },
}
SCSS
$custom: #47175a;
$custom-light: #7d5989;
$custom-dark: #000000;
JSON
{
  "hex": "#47175a",
  "rgb": {
    "r": 71,
    "g": 23,
    "b": 90
  },
  "hsl": {
    "h": 282.985,
    "s": 59.292,
    "l": 22.157
  },
  "oklch": {
    "l": 0.31473,
    "c": 0.11929,
    "h": 314.7
  },
  "luminance": 0.02691
}

Semantic roles & 50–950 ramp

primary
#47175A
secondary
#54913C
accent
#E24572
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#0A040B
muted
#7C797C

Preview Lab

Preview with #47175A

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

Preview Lab → · Contrast checker → · Palette generator →

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