#47117C#47117C

#47117C is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.8% C 0.162 H 300.1°. Best body text is #FFFFFF at 12.81:1 contrast (WCAG AA passes).

Color values

HEX#47117C
RGBrgb(71, 17, 124)
HSLhsl(270, 76%, 28%)
HSVhsv(270, 86%, 49%)
CMYKcmyk(42.7%, 86.3%, 0%, 51.4%)
CIE-LABlab(20.81, 45.13, -48.96)
CIE-LCHlch(20.81, 66.59, 312.67°)
OKLaboklab(33.82% 0.0812 -0.1401)
OKLCHoklch(33.82% 0.162 300.1)
XYZxyz(6.4362, 3.1957, 19.3426)
Luminance0.0320 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47117C #467C11
analogous
#11117C #47117C #7C117C
triadic
#47117C #7C4711 #117C47
tetradic
#47117C #7C1111 #467C11 #117C7C
square
#47117C #7C1111 #467C11 #117C7C
split-complementary
#47117C #7C7C11 #117C11
monochromatic
#0F041B #280A46 #47117C #6618B2 #8526E1

Accessibility & contrast

On white

12.81
#47117C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#47117C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #47117C
12.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47117C#FFFFFF#000000##FFFFFF
##47117C1.0012.811.6412.81
#FFFFFF12.811.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00327F
Deuteranopia (green-blind)
#00317A
Tritanopia (blue-blind)
#3A3048
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #47117c;
/* rgb */ color: rgb(71, 17, 124);
/* oklch */ color: oklch(33.8% 0.162 300.1);
Tailwind
colors: {
  custom: {
    50: '#8158a3',
    500: '#47117c',
    950: '#000000',
  },
}
SCSS
$custom: #47117c;
$custom-light: #8158a3;
$custom-dark: #000000;
JSON
{
  "hex": "#47117c",
  "rgb": {
    "r": 71,
    "g": 17,
    "b": 124
  },
  "hsl": {
    "h": 270.28,
    "s": 75.887,
    "l": 27.647
  },
  "oklch": {
    "l": 0.3382,
    "c": 0.16191,
    "h": 300.1
  },
  "luminance": 0.03196
}

Semantic roles & 50–950 ramp

primary
#47117C
secondary
#74B237
accent
#F23593
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #47117C

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

Preview Lab → · Contrast checker → · Palette generator →

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