#47175C#47175C

#47175C is a dark, vivid purple. Relative luminance 0.027; OKLCH L 31.6% C 0.121 H 313.5°. Best body text is #FFFFFF at 13.59:1 contrast (WCAG AA passes).

Color values

HEX#47175C
RGBrgb(71, 23, 92)
HSLhsl(282, 60%, 23%)
HSVhsv(282, 75%, 36%)
CMYKcmyk(22.8%, 75%, 0%, 63.9%)
CIE-LABlab(18.91, 34.82, -31.22)
CIE-LCHlch(18.91, 46.76, 318.12°)
OKLaboklab(31.63% 0.0837 -0.088)
OKLCHoklch(31.63% 0.121 313.5)
XYZxyz(4.8364, 2.7252, 10.3944)
Luminance0.0272 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47175C #2C5C17
analogous
#24175C #47175C #5C174F
triadic
#47175C #5C4717 #175C47
tetradic
#47175C #5C2417 #2C5C17 #174F5C
square
#47175C #5C2417 #2C5C17 #174F5C
split-complementary
#47175C #4F5C17 #175C24
monochromatic
#130618 #210B2B #47175C #6D238D #932FBE

Accessibility & contrast

On white

13.59
#47175C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#47175C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #47175C
13.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47175C#FFFFFF#000000##FFFFFF
##47175C1.0013.591.5513.59
#FFFFFF13.591.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B5E
Deuteranopia (green-blind)
#122F5A
Tritanopia (blue-blind)
#452537
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #47175c;
/* rgb */ color: rgb(71, 23, 92);
/* oklch */ color: oklch(31.6% 0.121 313.5);
Tailwind
colors: {
  custom: {
    50: '#7d598b',
    500: '#47175c',
    950: '#000000',
  },
}
SCSS
$custom: #47175c;
$custom-light: #7d598b;
$custom-dark: #000000;
JSON
{
  "hex": "#47175c",
  "rgb": {
    "r": 71,
    "g": 23,
    "b": 92
  },
  "hsl": {
    "h": 281.739,
    "s": 60,
    "l": 22.549
  },
  "oklch": {
    "l": 0.31626,
    "c": 0.12145,
    "h": 313.5
  },
  "luminance": 0.02725
}

Semantic roles & 50–950 ramp

primary
#47175C
secondary
#56933C
accent
#E34575
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#0A040C
muted
#7C797D

Preview Lab

Preview with #47175C

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

Preview Lab → · Contrast checker → · Palette generator →

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