#47116C#47116C

#47116C is a dark, vivid violet. Relative luminance 0.028; OKLCH L 32.3% C 0.145 H 306.5°. Best body text is #FFFFFF at 13.42:1 contrast (WCAG AA passes).

Color values

HEX#47116C
RGBrgb(71, 17, 108)
HSLhsl(276, 73%, 25%)
HSVhsv(276, 84%, 42%)
CMYKcmyk(34.3%, 84.3%, 0%, 57.6%)
CIE-LABlab(19.32, 41.21, -41.09)
CIE-LCHlch(19.32, 58.19, 315.08°)
OKLaboklab(32.33% 0.0864 -0.117)
OKLCHoklch(32.33% 0.145 306.5)
XYZxyz(5.5052, 2.8233, 14.4394)
Luminance0.0282 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47116C #366C11
analogous
#19116C #47116C #6C1164
triadic
#47116C #6C4711 #116C47
tetradic
#47116C #6C1911 #366C11 #11646C
square
#47116C #6C1911 #366C11 #11646C
split-complementary
#47116C #646C11 #116C19
monochromatic
#11041A #240937 #47116C #6A19A1 #8D22D6

Accessibility & contrast

On white

13.42
#47116C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#47116C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #47116C
13.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47116C#FFFFFF#000000##FFFFFF
##47116C1.0013.421.5613.42
#FFFFFF13.421.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D6E
Deuteranopia (green-blind)
#002F6A
Tritanopia (blue-blind)
#40293F
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #47116c;
/* rgb */ color: rgb(71, 17, 108);
/* oklch */ color: oklch(32.3% 0.145 306.5);
Tailwind
colors: {
  custom: {
    50: '#7f5797',
    500: '#47116c',
    950: '#000000',
  },
}
SCSS
$custom: #47116c;
$custom-light: #7f5797;
$custom-dark: #000000;
JSON
{
  "hex": "#47116c",
  "rgb": {
    "r": 71,
    "g": 17,
    "b": 108
  },
  "hsl": {
    "h": 275.604,
    "s": 72.8,
    "l": 24.51
  },
  "oklch": {
    "l": 0.32329,
    "c": 0.14546,
    "h": 306.5
  },
  "luminance": 0.02823
}

Semantic roles & 50–950 ramp

primary
#47116C
secondary
#62A435
accent
#EF3883
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0A030D
muted
#7C787E

Preview Lab

Preview with #47116C

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

Preview Lab → · Contrast checker → · Palette generator →

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