#47176B#47176B

#47176B is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.8% C 0.138 H 306.1°. Best body text is #FFFFFF at 13.10:1 contrast (WCAG AA passes).

Color values

HEX#47176B
RGBrgb(71, 23, 107)
HSLhsl(274, 65%, 25%)
HSVhsv(274, 79%, 42%)
CMYKcmyk(33.6%, 78.5%, 0%, 58%)
CIE-LABlab(20.10, 38.47, -39.17)
CIE-LCHlch(20.10, 54.91, 314.48°)
OKLaboklab(32.85% 0.0811 -0.1114)
OKLCHoklch(32.85% 0.138 306.1)
XYZxyz(5.5582, 3.0140, 14.1960)
Luminance0.0301 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47176B #3B6B17
analogous
#1D176B #47176B #6B1765
triadic
#47176B #6B4717 #176B47
tetradic
#47176B #6B1D17 #3B6B17 #17656B
square
#47176B #6B1D17 #3B6B17 #17656B
split-complementary
#47176B #656B17 #176B1D
monochromatic
#110519 #260C39 #47176B #68229D #8A2DD0

Accessibility & contrast

On white

13.10
#47176B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#47176B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #47176B
13.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47176B#FFFFFF#000000##FFFFFF
##47176B1.0013.101.6013.10
#FFFFFF13.101.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F6D
Deuteranopia (green-blind)
#003169
Tritanopia (blue-blind)
#412C40
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #47176b;
/* rgb */ color: rgb(71, 23, 107);
/* oklch */ color: oklch(32.8% 0.138 306.1);
Tailwind
colors: {
  custom: {
    50: '#7e5a96',
    500: '#47176b',
    950: '#000000',
  },
}
SCSS
$custom: #47176b;
$custom-light: #7e5a96;
$custom-dark: #000000;
JSON
{
  "hex": "#47176b",
  "rgb": {
    "r": 71,
    "g": 23,
    "b": 107
  },
  "hsl": {
    "h": 274.286,
    "s": 64.615,
    "l": 25.49
  },
  "oklch": {
    "l": 0.32848,
    "c": 0.13781,
    "h": 306.1
  },
  "luminance": 0.03014
}

Semantic roles & 50–950 ramp

primary
#47176B
secondary
#68A13D
accent
#E84088
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0A040D
muted
#7C797E

Preview Lab

Preview with #47176B

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

Preview Lab → · Contrast checker → · Palette generator →

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