#47115B#47115B

#47115B is a dark, vivid purple. Relative luminance 0.025; OKLCH L 30.9% C 0.128 H 314.9°. Best body text is #FFFFFF at 14.01:1 contrast (WCAG AA passes).

Color values

HEX#47115B
RGBrgb(71, 17, 91)
HSLhsl(284, 69%, 21%)
HSVhsv(284, 81%, 36%)
CMYKcmyk(22%, 81.3%, 0%, 64.3%)
CIE-LABlab(17.90, 37.23, -32.18)
CIE-LCHlch(17.90, 49.21, 319.16°)
OKLaboklab(30.89% 0.0904 -0.0908)
OKLCHoklch(30.89% 0.128 314.9)
XYZxyz(4.6870, 2.4960, 10.1304)
Luminance0.0250 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47115B #255B11
analogous
#22115B #47115B #5B114A
triadic
#47115B #5B4711 #115B47
tetradic
#47115B #5B2211 #255B11 #114A5B
square
#47115B #5B2211 #255B11 #114A5B
split-complementary
#47115B #4A5B11 #115B22
monochromatic
#14051A #1F0727 #47115B #6F1B8F #9724C2

Accessibility & contrast

On white

14.01
#47115B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #47115B
14.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47115B#FFFFFF#000000##FFFFFF
##47115B1.0014.011.5014.01
#FFFFFF14.011.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00295D
Deuteranopia (green-blind)
#0D2D59
Tritanopia (blue-blind)
#452235
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #47115b;
/* rgb */ color: rgb(71, 17, 91);
/* oklch */ color: oklch(30.9% 0.128 314.9);
Tailwind
colors: {
  custom: {
    50: '#7d568a',
    500: '#47115b',
    950: '#000000',
  },
}
SCSS
$custom: #47115b;
$custom-light: #7d568a;
$custom-dark: #000000;
JSON
{
  "hex": "#47115b",
  "rgb": {
    "r": 71,
    "g": 17,
    "b": 91
  },
  "hsl": {
    "h": 283.784,
    "s": 68.519,
    "l": 21.176
  },
  "oklch": {
    "l": 0.30886,
    "c": 0.12816,
    "h": 314.9
  },
  "luminance": 0.02496
}

Semantic roles & 50–950 ramp

primary
#47115B
secondary
#4E9434
accent
#EB3C6C
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#0A030C
muted
#7C787D

Preview Lab

Preview with #47115B

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

Preview Lab → · Contrast checker → · Palette generator →

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