#47116F#47116F

#47116F is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.6% C 0.149 H 305.2°. Best body text is #FFFFFF at 13.31:1 contrast (WCAG AA passes).

Color values

HEX#47116F
RGBrgb(71, 17, 111)
HSLhsl(274, 73%, 25%)
HSVhsv(274, 85%, 44%)
CMYKcmyk(36%, 84.7%, 0%, 56.5%)
CIE-LABlab(19.59, 41.93, -42.60)
CIE-LCHlch(19.59, 59.78, 314.55°)
OKLaboklab(32.6% 0.0856 -0.1214)
OKLCHoklch(32.6% 0.149 305.2)
XYZxyz(5.6676, 2.8882, 15.2947)
Luminance0.0289 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47116F #396F11
analogous
#18116F #47116F #6F1168
triadic
#47116F #6F4711 #116F47
tetradic
#47116F #6F1811 #396F11 #11686F
square
#47116F #6F1811 #396F11 #11686F
split-complementary
#47116F #686F11 #116F18
monochromatic
#11041B #25093A #47116F #6919A4 #8B21D9

Accessibility & contrast

On white

13.31
#47116F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#47116F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #47116F
13.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47116F#FFFFFF#000000##FFFFFF
##47116F1.0013.311.5813.31
#FFFFFF13.311.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E72
Deuteranopia (green-blind)
#002F6D
Tritanopia (blue-blind)
#3F2B41
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #47116f;
/* rgb */ color: rgb(71, 17, 111);
/* oklch */ color: oklch(32.6% 0.149 305.2);
Tailwind
colors: {
  custom: {
    50: '#7f5799',
    500: '#47116f',
    950: '#000000',
  },
}
SCSS
$custom: #47116f;
$custom-light: #7f5799;
$custom-dark: #000000;
JSON
{
  "hex": "#47116f",
  "rgb": {
    "r": 71,
    "g": 17,
    "b": 111
  },
  "hsl": {
    "h": 274.468,
    "s": 73.438,
    "l": 25.098
  },
  "oklch": {
    "l": 0.326,
    "c": 0.14854,
    "h": 305.2
  },
  "luminance": 0.02888
}

Semantic roles & 50–950 ramp

primary
#47116F
secondary
#65A635
accent
#F03886
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B030E
muted
#7C787E

Preview Lab

Preview with #47116F

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

Preview Lab → · Contrast checker → · Palette generator →

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