#47145B#47145B

#47145B is a dark, vivid purple. Relative luminance 0.026; OKLCH L 31.2% C 0.124 H 314.5°. Best body text is #FFFFFF at 13.82:1 contrast (WCAG AA passes).

Color values

HEX#47145B
RGBrgb(71, 20, 91)
HSLhsl(283, 64%, 22%)
HSVhsv(283, 78%, 36%)
CMYKcmyk(22%, 78%, 0%, 64.3%)
CIE-LABlab(18.34, 35.96, -31.46)
CIE-LCHlch(18.34, 47.78, 318.82°)
OKLaboklab(31.2% 0.0872 -0.0887)
OKLCHoklch(31.2% 0.124 314.5)
XYZxyz(4.7367, 2.5954, 10.1470)
Luminance0.0260 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47145B #285B14
analogous
#24145B #47145B #5B144C
triadic
#47145B #5B4714 #145B47
tetradic
#47145B #5B2414 #285B14 #144C5B
square
#47145B #5B2414 #285B14 #144C5B
split-complementary
#47145B #4C5B14 #145B24
monochromatic
#140619 #200929 #47145B #6E1F8D #952ABF

Accessibility & contrast

On white

13.82
#47145B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#47145B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #47145B
13.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47145B#FFFFFF#000000##FFFFFF
##47145B1.0013.821.5213.82
#FFFFFF13.821.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A5D
Deuteranopia (green-blind)
#102E59
Tritanopia (blue-blind)
#452336
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #47145b;
/* rgb */ color: rgb(71, 20, 91);
/* oklch */ color: oklch(31.2% 0.124 314.5);
Tailwind
colors: {
  custom: {
    50: '#7d578a',
    500: '#47145b',
    950: '#000000',
  },
}
SCSS
$custom: #47145b;
$custom-light: #7d578a;
$custom-dark: #000000;
JSON
{
  "hex": "#47145b",
  "rgb": {
    "r": 71,
    "g": 20,
    "b": 91
  },
  "hsl": {
    "h": 283.099,
    "s": 63.964,
    "l": 21.765
  },
  "oklch": {
    "l": 0.31201,
    "c": 0.12443,
    "h": 314.5
  },
  "luminance": 0.02595
}

Semantic roles & 50–950 ramp

primary
#47145B
secondary
#529338
accent
#E74170
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#0A030C
muted
#7C787D

Preview Lab

Preview with #47145B

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

Preview Lab → · Contrast checker → · Palette generator →

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