#47176D#47176D

#47176D is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.0% C 0.140 H 305.2°. Best body text is #FFFFFF at 13.03:1 contrast (WCAG AA passes).

Color values

HEX#47176D
RGBrgb(71, 23, 109)
HSLhsl(273, 65%, 26%)
HSVhsv(273, 79%, 43%)
CMYKcmyk(34.9%, 78.9%, 0%, 57.3%)
CIE-LABlab(20.27, 38.97, -40.20)
CIE-LCHlch(20.27, 55.99, 314.11°)
OKLaboklab(33.02% 0.0807 -0.1144)
OKLCHoklch(33.02% 0.14 305.2)
XYZxyz(5.6646, 3.0565, 14.7566)
Luminance0.0306 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47176D #3D6D17
analogous
#1C176D #47176D #6D1768
triadic
#47176D #6D4717 #176D47
tetradic
#47176D #6D1C17 #3D6D17 #17686D
square
#47176D #6D1C17 #3D6D17 #17686D
split-complementary
#47176D #686D17 #176D1C
monochromatic
#100519 #260C3A #47176D #6822A0 #892CD2

Accessibility & contrast

On white

13.03
#47176D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #47176D
13.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47176D#FFFFFF#000000##FFFFFF
##47176D1.0013.031.6113.03
#FFFFFF13.031.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00306F
Deuteranopia (green-blind)
#00316B
Tritanopia (blue-blind)
#402C41
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #47176d;
/* rgb */ color: rgb(71, 23, 109);
/* oklch */ color: oklch(33.0% 0.140 305.2);
Tailwind
colors: {
  custom: {
    50: '#7e5a98',
    500: '#47176d',
    950: '#000000',
  },
}
SCSS
$custom: #47176d;
$custom-light: #7e5a98;
$custom-dark: #000000;
JSON
{
  "hex": "#47176d",
  "rgb": {
    "r": 71,
    "g": 23,
    "b": 109
  },
  "hsl": {
    "h": 273.488,
    "s": 65.152,
    "l": 25.882
  },
  "oklch": {
    "l": 0.3302,
    "c": 0.13999,
    "h": 305.2
  },
  "luminance": 0.03057
}

Semantic roles & 50–950 ramp

primary
#47176D
secondary
#6AA33D
accent
#E8408A
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #47176D

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

Preview Lab → · Contrast checker → · Palette generator →

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