#47145E#47145E

#47145E is a dark, vivid purple. Relative luminance 0.026; OKLCH L 31.4% C 0.128 H 312.9°. Best body text is #FFFFFF at 13.73:1 contrast (WCAG AA passes).

Color values

HEX#47145E
RGBrgb(71, 20, 94)
HSLhsl(281, 65%, 22%)
HSVhsv(281, 79%, 37%)
CMYKcmyk(24.5%, 78.7%, 0%, 63.1%)
CIE-LABlab(18.58, 36.66, -33.09)
CIE-LCHlch(18.58, 49.38, 317.93°)
OKLaboklab(31.44% 0.0868 -0.0935)
OKLCHoklch(31.44% 0.128 312.9)
XYZxyz(4.8687, 2.6482, 10.8422)
Luminance0.0265 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47145E #2B5E14
analogous
#22145E #47145E #5E1450
triadic
#47145E #5E4714 #145E47
tetradic
#47145E #5E2214 #2B5E14 #14505E
square
#47145E #5E2214 #2B5E14 #14505E
split-complementary
#47145E #505E14 #145E22
monochromatic
#130519 #21092C #47145E #6D1F90 #9329C3

Accessibility & contrast

On white

13.73
#47145E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#47145E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #47145E
13.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47145E#FFFFFF#000000##FFFFFF
##47145E1.0013.731.5313.73
#FFFFFF13.731.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B60
Deuteranopia (green-blind)
#0C2E5C
Tritanopia (blue-blind)
#442538
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #47145e;
/* rgb */ color: rgb(71, 20, 94);
/* oklch */ color: oklch(31.4% 0.128 312.9);
Tailwind
colors: {
  custom: {
    50: '#7d578c',
    500: '#47145e',
    950: '#000000',
  },
}
SCSS
$custom: #47145e;
$custom-light: #7d578c;
$custom-dark: #000000;
JSON
{
  "hex": "#47145e",
  "rgb": {
    "r": 71,
    "g": 20,
    "b": 94
  },
  "hsl": {
    "h": 281.351,
    "s": 64.912,
    "l": 22.353
  },
  "oklch": {
    "l": 0.31438,
    "c": 0.12757,
    "h": 312.9
  },
  "luminance": 0.02648
}

Semantic roles & 50–950 ramp

primary
#47145E
secondary
#559638
accent
#E84074
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#0A030C
muted
#7C787D

Preview Lab

Preview with #47145E

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

Preview Lab → · Contrast checker → · Palette generator →

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