#47176C#47176C

#47176C is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.9% C 0.139 H 305.6°. Best body text is #FFFFFF at 13.07:1 contrast (WCAG AA passes).

Color values

HEX#47176C
RGBrgb(71, 23, 108)
HSLhsl(274, 65%, 26%)
HSVhsv(274, 79%, 42%)
CMYKcmyk(34.3%, 78.7%, 0%, 57.6%)
CIE-LABlab(20.18, 38.72, -39.69)
CIE-LCHlch(20.18, 55.45, 314.30°)
OKLaboklab(32.93% 0.0809 -0.1129)
OKLCHoklch(32.93% 0.139 305.6)
XYZxyz(5.6111, 3.0351, 14.4747)
Luminance0.0303 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47176C #3C6C17
analogous
#1C176C #47176C #6C1766
triadic
#47176C #6C4717 #176C47
tetradic
#47176C #6C1C17 #3C6C17 #17666C
square
#47176C #6C1C17 #3C6C17 #17666C
split-complementary
#47176C #666C17 #176C1C
monochromatic
#110519 #260C3A #47176C #68229E #892CD1

Accessibility & contrast

On white

13.07
#47176C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#47176C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #47176C
13.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47176C#FFFFFF#000000##FFFFFF
##47176C1.0013.071.6113.07
#FFFFFF13.071.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F6E
Deuteranopia (green-blind)
#00316A
Tritanopia (blue-blind)
#402C40
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #47176c;
/* rgb */ color: rgb(71, 23, 108);
/* oklch */ color: oklch(32.9% 0.139 305.6);
Tailwind
colors: {
  custom: {
    50: '#7e5a97',
    500: '#47176c',
    950: '#000000',
  },
}
SCSS
$custom: #47176c;
$custom-light: #7e5a97;
$custom-dark: #000000;
JSON
{
  "hex": "#47176c",
  "rgb": {
    "r": 71,
    "g": 23,
    "b": 108
  },
  "hsl": {
    "h": 273.882,
    "s": 64.885,
    "l": 25.686
  },
  "oklch": {
    "l": 0.32934,
    "c": 0.1389,
    "h": 305.6
  },
  "luminance": 0.03035
}

Semantic roles & 50–950 ramp

primary
#47176C
secondary
#69A23D
accent
#E84089
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0A040D
muted
#7C797E

Preview Lab

Preview with #47176C

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

Preview Lab → · Contrast checker → · Palette generator →

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