#47115C#47115C

#47115C is a dark, vivid purple. Relative luminance 0.025; OKLCH L 31.0% C 0.129 H 314.3°. Best body text is #FFFFFF at 13.98:1 contrast (WCAG AA passes).

Color values

HEX#47115C
RGBrgb(71, 17, 92)
HSLhsl(283, 69%, 21%)
HSVhsv(283, 82%, 36%)
CMYKcmyk(22.8%, 81.5%, 0%, 63.9%)
CIE-LABlab(17.98, 37.46, -32.72)
CIE-LCHlch(17.98, 49.73, 318.86°)
OKLaboklab(30.97% 0.0903 -0.0924)
OKLCHoklch(30.97% 0.129 314.3)
XYZxyz(4.7304, 2.5134, 10.3591)
Luminance0.0251 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47115C #265C11
analogous
#22115C #47115C #5C114C
triadic
#47115C #5C4711 #115C47
tetradic
#47115C #5C2211 #265C11 #114C5C
square
#47115C #5C2211 #265C11 #114C5C
split-complementary
#47115C #4C5C11 #115C22
monochromatic
#14051A #1F0728 #47115C #6F1B90 #9724C3

Accessibility & contrast

On white

13.98
#47115C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#47115C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #47115C
13.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47115C#FFFFFF#000000##FFFFFF
##47115C1.0013.981.5013.98
#FFFFFF13.981.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00295E
Deuteranopia (green-blind)
#0C2D5A
Tritanopia (blue-blind)
#452236
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #47115c;
/* rgb */ color: rgb(71, 17, 92);
/* oklch */ color: oklch(31.0% 0.129 314.3);
Tailwind
colors: {
  custom: {
    50: '#7d568b',
    500: '#47115c',
    950: '#000000',
  },
}
SCSS
$custom: #47115c;
$custom-light: #7d568b;
$custom-dark: #000000;
JSON
{
  "hex": "#47115c",
  "rgb": {
    "r": 71,
    "g": 17,
    "b": 92
  },
  "hsl": {
    "h": 283.2,
    "s": 68.807,
    "l": 21.373
  },
  "oklch": {
    "l": 0.30966,
    "c": 0.12916,
    "h": 314.3
  },
  "luminance": 0.02513
}

Semantic roles & 50–950 ramp

primary
#47115C
secondary
#4F9534
accent
#EC3C6D
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#0A030C
muted
#7C787D

Preview Lab

Preview with #47115C

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

Preview Lab → · Contrast checker → · Palette generator →

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