#47175F#47175F

#47175F is a dark, vivid purple. Relative luminance 0.028; OKLCH L 31.9% C 0.125 H 311.9°. Best body text is #FFFFFF at 13.50:1 contrast (WCAG AA passes).

Color values

HEX#47175F
RGBrgb(71, 23, 95)
HSLhsl(280, 61%, 23%)
HSVhsv(280, 76%, 37%)
CMYKcmyk(25.3%, 75.8%, 0%, 62.7%)
CIE-LABlab(19.13, 35.53, -32.85)
CIE-LCHlch(19.13, 48.39, 317.25°)
OKLaboklab(31.86% 0.0833 -0.0928)
OKLCHoklch(31.86% 0.125 311.9)
XYZxyz(4.9701, 2.7787, 11.0988)
Luminance0.0278 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47175F #2F5F17
analogous
#23175F #47175F #5F1753
triadic
#47175F #5F4717 #175F47
tetradic
#47175F #5F2317 #2F5F17 #17535F
square
#47175F #5F2317 #2F5F17 #17535F
split-complementary
#47175F #535F17 #175F23
monochromatic
#120619 #220B2E #47175F #6C2390 #912FC2

Accessibility & contrast

On white

13.50
#47175F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#47175F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #47175F
13.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47175F#FFFFFF#000000##FFFFFF
##47175F1.0013.501.5613.50
#FFFFFF13.501.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C61
Deuteranopia (green-blind)
#0E2F5D
Tritanopia (blue-blind)
#442739
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #47175f;
/* rgb */ color: rgb(71, 23, 95);
/* oklch */ color: oklch(31.9% 0.125 311.9);
Tailwind
colors: {
  custom: {
    50: '#7d598d',
    500: '#47175f',
    950: '#000000',
  },
}
SCSS
$custom: #47175f;
$custom-light: #7d598d;
$custom-dark: #000000;
JSON
{
  "hex": "#47175f",
  "rgb": {
    "r": 71,
    "g": 23,
    "b": 95
  },
  "hsl": {
    "h": 280,
    "s": 61.017,
    "l": 23.137
  },
  "oklch": {
    "l": 0.3186,
    "c": 0.12471,
    "h": 311.9
  },
  "luminance": 0.02779
}

Semantic roles & 50–950 ramp

primary
#47175F
secondary
#5A963C
accent
#E44479
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#0A040C
muted
#7C797D

Preview Lab

Preview with #47175F

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

Preview Lab → · Contrast checker → · Palette generator →

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