#47115F#47115F

#47115F is a dark, vivid purple. Relative luminance 0.026; OKLCH L 31.2% C 0.132 H 312.7°. Best body text is #FFFFFF at 13.88:1 contrast (WCAG AA passes).

Color values

HEX#47115F
RGBrgb(71, 17, 95)
HSLhsl(282, 70%, 22%)
HSVhsv(282, 82%, 37%)
CMYKcmyk(25.3%, 82.1%, 0%, 62.7%)
CIE-LABlab(18.22, 38.14, -34.33)
CIE-LCHlch(18.22, 51.32, 318.01°)
OKLaboklab(31.21% 0.0897 -0.0971)
OKLCHoklch(31.21% 0.132 312.7)
XYZxyz(4.8642, 2.5669, 11.0635)
Luminance0.0257 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47115F #295F11
analogous
#20115F #47115F #5F1150
triadic
#47115F #5F4711 #115F47
tetradic
#47115F #5F2011 #295F11 #11505F
square
#47115F #5F2011 #295F11 #11505F
split-complementary
#47115F #505F11 #115F20
monochromatic
#13051A #20082B #47115F #6E1A93 #9524C7

Accessibility & contrast

On white

13.88
#47115F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #47115F
13.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47115F#FFFFFF#000000##FFFFFF
##47115F1.0013.881.5113.88
#FFFFFF13.881.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A61
Deuteranopia (green-blind)
#062E5D
Tritanopia (blue-blind)
#442338
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #47115f;
/* rgb */ color: rgb(71, 17, 95);
/* oklch */ color: oklch(31.2% 0.132 312.7);
Tailwind
colors: {
  custom: {
    50: '#7e568d',
    500: '#47115f',
    950: '#000000',
  },
}
SCSS
$custom: #47115f;
$custom-light: #7e568d;
$custom-dark: #000000;
JSON
{
  "hex": "#47115f",
  "rgb": {
    "r": 71,
    "g": 17,
    "b": 95
  },
  "hsl": {
    "h": 281.538,
    "s": 69.643,
    "l": 21.961
  },
  "oklch": {
    "l": 0.31211,
    "c": 0.1322,
    "h": 312.7
  },
  "luminance": 0.02567
}

Semantic roles & 50–950 ramp

primary
#47115F
secondary
#539834
accent
#EC3B72
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#0A030C
muted
#7C787D

Preview Lab

Preview with #47115F

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

Preview Lab → · Contrast checker → · Palette generator →

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