#47115A#47115A

#47115A is a dark, vivid purple. Relative luminance 0.025; OKLCH L 30.8% C 0.127 H 315.4°. Best body text is #FFFFFF at 14.04:1 contrast (WCAG AA passes).

Color values

HEX#47115A
RGBrgb(71, 17, 90)
HSLhsl(284, 68%, 21%)
HSVhsv(284, 81%, 35%)
CMYKcmyk(21.1%, 81.1%, 0%, 64.7%)
CIE-LABlab(17.82, 37.00, -31.63)
CIE-LCHlch(17.82, 48.68, 319.47°)
OKLaboklab(30.81% 0.0906 -0.0892)
OKLCHoklch(30.81% 0.127 315.4)
XYZxyz(4.6441, 2.4789, 9.9047)
Luminance0.0248 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47115A #245A11
analogous
#22115A #47115A #5A1148
triadic
#47115A #5A4711 #115A47
tetradic
#47115A #5A2211 #245A11 #11485A
square
#47115A #5A2211 #245A11 #11485A
split-complementary
#47115A #485A11 #115A22
monochromatic
#14051A #1E0727 #47115A #701B8D #9824C1

Accessibility & contrast

On white

14.04
#47115A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #47115A
14.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47115A#FFFFFF#000000##FFFFFF
##47115A1.0014.041.5014.04
#FFFFFF14.041.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00295C
Deuteranopia (green-blind)
#0F2D58
Tritanopia (blue-blind)
#462135
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #47115a;
/* rgb */ color: rgb(71, 17, 90);
/* oklch */ color: oklch(30.8% 0.127 315.4);
Tailwind
colors: {
  custom: {
    50: '#7d5689',
    500: '#47115a',
    950: '#000000',
  },
}
SCSS
$custom: #47115a;
$custom-light: #7d5689;
$custom-dark: #000000;
JSON
{
  "hex": "#47115a",
  "rgb": {
    "r": 71,
    "g": 17,
    "b": 90
  },
  "hsl": {
    "h": 284.384,
    "s": 68.224,
    "l": 20.98
  },
  "oklch": {
    "l": 0.30806,
    "c": 0.12715,
    "h": 315.4
  },
  "luminance": 0.02479
}

Semantic roles & 50–950 ramp

primary
#47115A
secondary
#4D9334
accent
#EB3D6A
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#0A030B
muted
#7C787C

Preview Lab

Preview with #47115A

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

Preview Lab → · Contrast checker → · Palette generator →

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