#47175B#47175B

#47175B is a dark, vivid purple. Relative luminance 0.027; OKLCH L 31.5% C 0.120 H 314.1°. Best body text is #FFFFFF at 13.62:1 contrast (WCAG AA passes).

Color values

HEX#47175B
RGBrgb(71, 23, 91)
HSLhsl(282, 60%, 22%)
HSVhsv(282, 75%, 36%)
CMYKcmyk(22%, 74.7%, 0%, 64.3%)
CIE-LABlab(18.83, 34.58, -30.67)
CIE-LCHlch(18.83, 46.22, 318.43°)
OKLaboklab(31.55% 0.0838 -0.0864)
OKLCHoklch(31.55% 0.12 314.1)
XYZxyz(4.7929, 2.7079, 10.1657)
Luminance0.0271 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47175B #2B5B17
analogous
#25175B #47175B #5B174D
triadic
#47175B #5B4717 #175B47
tetradic
#47175B #5B2517 #2B5B17 #174D5B
square
#47175B #5B2517 #2B5B17 #174D5B
split-complementary
#47175B #4D5B17 #175B25
monochromatic
#130618 #210B2A #47175B #6D238C #9330BD

Accessibility & contrast

On white

13.62
#47175B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #47175B
13.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47175B#FFFFFF#000000##FFFFFF
##47175B1.0013.621.5413.62
#FFFFFF13.621.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B5D
Deuteranopia (green-blind)
#132F59
Tritanopia (blue-blind)
#452537
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #47175b;
/* rgb */ color: rgb(71, 23, 91);
/* oklch */ color: oklch(31.5% 0.120 314.1);
Tailwind
colors: {
  custom: {
    50: '#7d598a',
    500: '#47175b',
    950: '#000000',
  },
}
SCSS
$custom: #47175b;
$custom-light: #7d598a;
$custom-dark: #000000;
JSON
{
  "hex": "#47175b",
  "rgb": {
    "r": 71,
    "g": 23,
    "b": 91
  },
  "hsl": {
    "h": 282.353,
    "s": 59.649,
    "l": 22.353
  },
  "oklch": {
    "l": 0.31549,
    "c": 0.12037,
    "h": 314.1
  },
  "luminance": 0.02708
}

Semantic roles & 50–950 ramp

primary
#47175B
secondary
#55923C
accent
#E34573
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#0A040C
muted
#7C797D

Preview Lab

Preview with #47175B

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

Preview Lab → · Contrast checker → · Palette generator →

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