#47174F#47174F

#47174F is a dark, moderate purple. Relative luminance 0.025; OKLCH L 30.7% C 0.108 H 321.7°. Best body text is #FFFFFF at 13.97:1 contrast (WCAG AA passes).

Color values

HEX#47174F
RGBrgb(71, 23, 79)
HSLhsl(291, 55%, 20%)
HSVhsv(291, 71%, 31%)
CMYKcmyk(10.1%, 70.9%, 0%, 69%)
CIE-LABlab(18.00, 31.85, -23.93)
CIE-LCHlch(18.00, 39.84, 323.08°)
OKLaboklab(30.68% 0.0844 -0.0667)
OKLCHoklch(30.68% 0.108 321.7)
XYZxyz(4.3161, 2.5171, 7.6541)
Luminance0.0252 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47174F #1F4F17
analogous
#2B174F #47174F #4F173B
triadic
#47174F #4F4717 #174F47
tetradic
#47174F #4F2B17 #1F4F17 #173B4F
square
#47174F #4F2B17 #1F4F17 #173B4F
split-complementary
#47174F #3B4F17 #174F2B
monochromatic
#150718 #1C0920 #47174F #72257E #9C33AE

Accessibility & contrast

On white

13.97
#47174F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #47174F
13.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47174F#FFFFFF#000000##FFFFFF
##47174F1.0013.971.5013.97
#FFFFFF13.971.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#092951
Deuteranopia (green-blind)
#1E2E4E
Tritanopia (blue-blind)
#482030
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #47174f;
/* rgb */ color: rgb(71, 23, 79);
/* oklch */ color: oklch(30.7% 0.108 321.7);
Tailwind
colors: {
  custom: {
    50: '#7c5880',
    500: '#47174f',
    950: '#000000',
  },
}
SCSS
$custom: #47174f;
$custom-light: #7c5880;
$custom-dark: #000000;
JSON
{
  "hex": "#47174f",
  "rgb": {
    "r": 71,
    "g": 23,
    "b": 79
  },
  "hsl": {
    "h": 291.429,
    "s": 54.902,
    "l": 20
  },
  "oklch": {
    "l": 0.30679,
    "c": 0.10755,
    "h": 321.7
  },
  "luminance": 0.02517
}

Semantic roles & 50–950 ramp

primary
#47174F
secondary
#46863C
accent
#DE4A5F
background
#F7F5F7
surface
#EEE9EE
border
#C9C5C9
text
#0A030A
muted
#7C787C

Preview Lab

Preview with #47174F

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

Preview Lab → · Contrast checker → · Palette generator →

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