#47117E#47117E

#47117E is a dark, vivid violet. Relative luminance 0.032; OKLCH L 34.0% C 0.164 H 299.4°. Best body text is #FFFFFF at 12.73:1 contrast (WCAG AA passes).

Color values

HEX#47117E
RGBrgb(71, 17, 126)
HSLhsl(270, 76%, 28%)
HSVhsv(270, 87%, 49%)
CMYKcmyk(43.7%, 86.5%, 0%, 50.6%)
CIE-LABlab(21.01, 45.63, -49.91)
CIE-LCHlch(21.01, 67.63, 312.43°)
OKLaboklab(34.01% 0.0804 -0.1429)
OKLCHoklch(34.01% 0.164 299.4)
XYZxyz(6.5639, 3.2468, 20.0155)
Luminance0.0325 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47117E #487E11
analogous
#11117E #47117E #7D117E
triadic
#47117E #7E4711 #117E47
tetradic
#47117E #7E1111 #487E11 #117E7D
square
#47117E #7E1111 #487E11 #117E7D
split-complementary
#47117E #7E7D11 #117E11
monochromatic
#0F041B #290A48 #47117E #6518B4 #8427E2

Accessibility & contrast

On white

12.73
#47117E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#47117E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #47117E
12.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47117E#FFFFFF#000000##FFFFFF
##47117E1.0012.731.6512.73
#FFFFFF12.731.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003281
Deuteranopia (green-blind)
#00327C
Tritanopia (blue-blind)
#39314A
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #47117e;
/* rgb */ color: rgb(71, 17, 126);
/* oklch */ color: oklch(34.0% 0.164 299.4);
Tailwind
colors: {
  custom: {
    50: '#8158a4',
    500: '#47117e',
    950: '#000000',
  },
}
SCSS
$custom: #47117e;
$custom-light: #8158a4;
$custom-dark: #000000;
JSON
{
  "hex": "#47117e",
  "rgb": {
    "r": 71,
    "g": 17,
    "b": 126
  },
  "hsl": {
    "h": 269.725,
    "s": 76.224,
    "l": 28.039
  },
  "oklch": {
    "l": 0.34014,
    "c": 0.16396,
    "h": 299.4
  },
  "luminance": 0.03247
}

Semantic roles & 50–950 ramp

primary
#47117E
secondary
#76B437
accent
#F33595
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #47117E

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

Preview Lab → · Contrast checker → · Palette generator →

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