#47177E#47177E

#47177E is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.6% C 0.159 H 298.6°. Best body text is #FFFFFF at 12.41:1 contrast (WCAG AA passes).

Color values

HEX#47177E
RGBrgb(71, 23, 126)
HSLhsl(268, 69%, 29%)
HSVhsv(268, 82%, 49%)
CMYKcmyk(43.7%, 81.7%, 0%, 50.6%)
CIE-LABlab(21.79, 43.33, -48.62)
CIE-LCHlch(21.79, 65.13, 311.71°)
OKLaboklab(34.56% 0.0759 -0.1392)
OKLCHoklch(34.56% 0.159 298.6)
XYZxyz(6.6699, 3.4586, 20.0508)
Luminance0.0346 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47177E #4E7E17
analogous
#171B7E #47177E #7B177E
triadic
#47177E #7E4717 #177E47
tetradic
#47177E #7E171B #4E7E17 #177E7B
square
#47177E #7E171B #4E7E17 #177E7B
split-complementary
#47177E #7E7B17 #1B7E17
monochromatic
#0F051A #2A0E4A #47177E #6420B2 #8235DA

Accessibility & contrast

On white

12.41
#47177E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #47177E
12.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47177E#FFFFFF#000000##FFFFFF
##47177E1.0012.411.6912.41
#FFFFFF12.411.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003481
Deuteranopia (green-blind)
#00337C
Tritanopia (blue-blind)
#39344B
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #47177e;
/* rgb */ color: rgb(71, 23, 126);
/* oklch */ color: oklch(34.6% 0.159 298.6);
Tailwind
colors: {
  custom: {
    50: '#805ba4',
    500: '#47177e',
    950: '#000000',
  },
}
SCSS
$custom: #47177e;
$custom-light: #805ba4;
$custom-dark: #000000;
JSON
{
  "hex": "#47177e",
  "rgb": {
    "r": 71,
    "g": 23,
    "b": 126
  },
  "hsl": {
    "h": 267.961,
    "s": 69.128,
    "l": 29.216
  },
  "oklch": {
    "l": 0.3456,
    "c": 0.15853,
    "h": 298.6
  },
  "luminance": 0.03459
}

Semantic roles & 50–950 ramp

primary
#47177E
secondary
#7CB33E
accent
#EC3C9A
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #47177E

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

Preview Lab → · Contrast checker → · Palette generator →

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