#47174D#47174D

#47174D is a dark, moderate purple. Relative luminance 0.025; OKLCH L 30.5% C 0.105 H 323.1°. Best body text is #FFFFFF at 14.02:1 contrast (WCAG AA passes).

Color values

HEX#47174D
RGBrgb(71, 23, 77)
HSLhsl(293, 54%, 20%)
HSVhsv(293, 70%, 30%)
CMYKcmyk(7.8%, 70.1%, 0%, 69.8%)
CIE-LABlab(17.87, 31.42, -22.77)
CIE-LCHlch(17.87, 38.80, 324.06°)
OKLaboklab(30.54% 0.0843 -0.0633)
OKLCHoklch(30.54% 0.105 323.1)
XYZxyz(4.2444, 2.4884, 7.2765)
Luminance0.0249 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47174D #1D4D17
analogous
#2C174D #47174D #4D1738
triadic
#47174D #4D4717 #174D47
tetradic
#47174D #4D2C17 #1D4D17 #17384D
square
#47174D #4D2C17 #1D4D17 #17384D
split-complementary
#47174D #384D17 #174D2C
monochromatic
#160718 #1C091E #47174D #72257C #9E33AB

Accessibility & contrast

On white

14.02
#47174D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#47174D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #47174D
14.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47174D#FFFFFF#000000##FFFFFF
##47174D1.0014.021.5014.02
#FFFFFF14.021.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B284F
Deuteranopia (green-blind)
#1F2E4C
Tritanopia (blue-blind)
#481F2F
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #47174d;
/* rgb */ color: rgb(71, 23, 77);
/* oklch */ color: oklch(30.5% 0.105 323.1);
Tailwind
colors: {
  custom: {
    50: '#7c587f',
    500: '#47174d',
    950: '#000000',
  },
}
SCSS
$custom: #47174d;
$custom-light: #7c587f;
$custom-dark: #000000;
JSON
{
  "hex": "#47174d",
  "rgb": {
    "r": 71,
    "g": 23,
    "b": 77
  },
  "hsl": {
    "h": 293.333,
    "s": 54,
    "l": 19.608
  },
  "oklch": {
    "l": 0.30543,
    "c": 0.10546,
    "h": 323.1
  },
  "luminance": 0.02488
}

Semantic roles & 50–950 ramp

primary
#47174D
secondary
#44843C
accent
#DD4A5B
background
#F7F5F7
surface
#EEE9EE
border
#C9C5C9
text
#0A030A
muted
#7C787C

Preview Lab

Preview with #47174D

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

Preview Lab → · Contrast checker → · Palette generator →

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