#47177D#47177D

#47177D is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.5% C 0.157 H 299.0°. Best body text is #FFFFFF at 12.45:1 contrast (WCAG AA passes).

Color values

HEX#47177D
RGBrgb(71, 23, 125)
HSLhsl(268, 69%, 29%)
HSVhsv(268, 82%, 49%)
CMYKcmyk(43.2%, 81.6%, 0%, 51%)
CIE-LABlab(21.70, 43.07, -48.14)
CIE-LCHlch(21.70, 64.59, 311.82°)
OKLaboklab(34.47% 0.0763 -0.1377)
OKLCHoklch(34.47% 0.157 299)
XYZxyz(6.6057, 3.4330, 19.7127)
Luminance0.0343 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47177D #4D7D17
analogous
#171A7D #47177D #7A177D
triadic
#47177D #7D4717 #177D47
tetradic
#47177D #7D171A #4D7D17 #177D7A
square
#47177D #7D171A #4D7D17 #177D7A
split-complementary
#47177D #7D7A17 #1A7D17
monochromatic
#0F051A #2A0D49 #47177D #6421B1 #8235DA

Accessibility & contrast

On white

12.45
#47177D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#47177D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #47177D
12.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47177D#FFFFFF#000000##FFFFFF
##47177D1.0012.451.6912.45
#FFFFFF12.451.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003480
Deuteranopia (green-blind)
#00337B
Tritanopia (blue-blind)
#3A334A
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #47177d;
/* rgb */ color: rgb(71, 23, 125);
/* oklch */ color: oklch(34.5% 0.157 299.0);
Tailwind
colors: {
  custom: {
    50: '#805ba4',
    500: '#47177d',
    950: '#000000',
  },
}
SCSS
$custom: #47177d;
$custom-light: #805ba4;
$custom-dark: #000000;
JSON
{
  "hex": "#47177d",
  "rgb": {
    "r": 71,
    "g": 23,
    "b": 125
  },
  "hsl": {
    "h": 268.235,
    "s": 68.919,
    "l": 29.02
  },
  "oklch": {
    "l": 0.34466,
    "c": 0.15744,
    "h": 299
  },
  "luminance": 0.03433
}

Semantic roles & 50–950 ramp

primary
#47177D
secondary
#7BB23E
accent
#EC3C99
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #47177D

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

Preview Lab → · Contrast checker → · Palette generator →

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