#47115E#47115E

#47115E is a dark, vivid purple. Relative luminance 0.025; OKLCH L 31.1% C 0.131 H 313.3°. Best body text is #FFFFFF at 13.91:1 contrast (WCAG AA passes).

Color values

HEX#47115E
RGBrgb(71, 17, 94)
HSLhsl(282, 69%, 22%)
HSVhsv(282, 82%, 37%)
CMYKcmyk(24.5%, 81.9%, 0%, 63.1%)
CIE-LABlab(18.14, 37.91, -33.79)
CIE-LCHlch(18.14, 50.79, 318.29°)
OKLaboklab(31.13% 0.0899 -0.0955)
OKLCHoklch(31.13% 0.131 313.3)
XYZxyz(4.8190, 2.5488, 10.8256)
Luminance0.0255 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47115E #285E11
analogous
#21115E #47115E #5E114F
triadic
#47115E #5E4711 #115E47
tetradic
#47115E #5E2111 #285E11 #114F5E
square
#47115E #5E2111 #285E11 #114F5E
split-complementary
#47115E #4F5E11 #115E21
monochromatic
#14051A #20082A #47115E #6E1A92 #9524C6

Accessibility & contrast

On white

13.91
#47115E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#47115E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #47115E
13.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47115E#FFFFFF#000000##FFFFFF
##47115E1.0013.911.5113.91
#FFFFFF13.911.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A60
Deuteranopia (green-blind)
#082D5C
Tritanopia (blue-blind)
#452337
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #47115e;
/* rgb */ color: rgb(71, 17, 94);
/* oklch */ color: oklch(31.1% 0.131 313.3);
Tailwind
colors: {
  custom: {
    50: '#7e568c',
    500: '#47115e',
    950: '#000000',
  },
}
SCSS
$custom: #47115e;
$custom-light: #7e568c;
$custom-dark: #000000;
JSON
{
  "hex": "#47115e",
  "rgb": {
    "r": 71,
    "g": 17,
    "b": 94
  },
  "hsl": {
    "h": 282.078,
    "s": 69.369,
    "l": 21.765
  },
  "oklch": {
    "l": 0.31128,
    "c": 0.13119,
    "h": 313.3
  },
  "luminance": 0.02549
}

Semantic roles & 50–950 ramp

primary
#47115E
secondary
#529734
accent
#EC3C70
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#0A030C
muted
#7C787D

Preview Lab

Preview with #47115E

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

Preview Lab → · Contrast checker → · Palette generator →

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