#47174A#47174A

#47174A is a dark, moderate purple. Relative luminance 0.024; OKLCH L 30.3% C 0.102 H 325.3°. Best body text is #FFFFFF at 14.10:1 contrast (WCAG AA passes).

Color values

HEX#47174A
RGBrgb(71, 23, 74)
HSLhsl(296, 53%, 19%)
HSVhsv(296, 69%, 29%)
CMYKcmyk(4.1%, 68.9%, 0%, 71%)
CIE-LABlab(17.68, 30.78, -21.02)
CIE-LCHlch(17.68, 37.27, 325.67°)
OKLaboklab(30.35% 0.0842 -0.0582)
OKLCHoklch(30.35% 0.102 325.3)
XYZxyz(4.1409, 2.4470, 6.7315)
Luminance0.0245 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47174A #1A4A17
analogous
#2E174A #47174A #4A1734
triadic
#47174A #4A4717 #174A47
tetradic
#47174A #4A2E17 #1A4A17 #17344A
square
#47174A #4A2E17 #1A4A17 #17344A
split-complementary
#47174A #344A17 #174A2E
monochromatic
#160717 #1A081B #47174A #742679 #A134A7

Accessibility & contrast

On white

14.10
#47174A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#47174A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #47174A
14.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47174A#FFFFFF#000000##FFFFFF
##47174A1.0014.101.4914.10
#FFFFFF14.101.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F274C
Deuteranopia (green-blind)
#212D49
Tritanopia (blue-blind)
#491E2E
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #47174a;
/* rgb */ color: rgb(71, 23, 74);
/* oklch */ color: oklch(30.3% 0.102 325.3);
Tailwind
colors: {
  custom: {
    50: '#7c587d',
    500: '#47174a',
    950: '#000000',
  },
}
SCSS
$custom: #47174a;
$custom-light: #7c587d;
$custom-dark: #000000;
JSON
{
  "hex": "#47174a",
  "rgb": {
    "r": 71,
    "g": 23,
    "b": 74
  },
  "hsl": {
    "h": 296.471,
    "s": 52.577,
    "l": 19.02
  },
  "oklch": {
    "l": 0.30345,
    "c": 0.10238,
    "h": 325.3
  },
  "luminance": 0.02447
}

Semantic roles & 50–950 ramp

primary
#47174A
secondary
#40813C
accent
#DC4C54
background
#F7F5F7
surface
#EEE9EE
border
#C9C5C9
text
#0A0309
muted
#7C787B

Preview Lab

Preview with #47174A

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

Preview Lab → · Contrast checker → · Palette generator →

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