#47176F#47176F

#47176F is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.2% C 0.142 H 304.3°. Best body text is #FFFFFF at 12.96:1 contrast (WCAG AA passes).

Color values

HEX#47176F
RGBrgb(71, 23, 111)
HSLhsl(273, 66%, 26%)
HSVhsv(273, 79%, 44%)
CMYKcmyk(36%, 79.3%, 0%, 56.5%)
CIE-LABlab(20.44, 39.48, -41.22)
CIE-LCHlch(20.44, 57.07, 313.76°)
OKLaboklab(33.19% 0.0802 -0.1174)
OKLCHoklch(33.19% 0.142 304.3)
XYZxyz(5.7735, 3.1001, 15.3301)
Luminance0.0310 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47176F #3F6F17
analogous
#1B176F #47176F #6F176B
triadic
#47176F #6F4717 #176F47
tetradic
#47176F #6F1B17 #3F6F17 #176B6F
square
#47176F #6F1B17 #3F6F17 #176B6F
split-complementary
#47176F #6B6F17 #176F1B
monochromatic
#100519 #270C3C #47176F #6722A2 #882DD3

Accessibility & contrast

On white

12.96
#47176F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#47176F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #47176F
12.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47176F#FFFFFF#000000##FFFFFF
##47176F1.0012.961.6212.96
#FFFFFF12.961.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003071
Deuteranopia (green-blind)
#00316D
Tritanopia (blue-blind)
#3F2D42
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #47176f;
/* rgb */ color: rgb(71, 23, 111);
/* oklch */ color: oklch(33.2% 0.142 304.3);
Tailwind
colors: {
  custom: {
    50: '#7f5a99',
    500: '#47176f',
    950: '#000000',
  },
}
SCSS
$custom: #47176f;
$custom-light: #7f5a99;
$custom-dark: #000000;
JSON
{
  "hex": "#47176f",
  "rgb": {
    "r": 71,
    "g": 23,
    "b": 111
  },
  "hsl": {
    "h": 272.727,
    "s": 65.672,
    "l": 26.275
  },
  "oklch": {
    "l": 0.33194,
    "c": 0.14218,
    "h": 304.3
  },
  "luminance": 0.031
}

Semantic roles & 50–950 ramp

primary
#47176F
secondary
#6CA53D
accent
#E93F8C
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #47176F

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

Preview Lab → · Contrast checker → · Palette generator →

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