#47155D#47155D

#47155D is a dark, vivid purple. Relative luminance 0.027; OKLCH L 31.5% C 0.125 H 313.3°. Best body text is #FFFFFF at 13.70:1 contrast (WCAG AA passes).

Color values

HEX#47155D
RGBrgb(71, 21, 93)
HSLhsl(282, 63%, 22%)
HSVhsv(282, 77%, 36%)
CMYKcmyk(23.7%, 77.4%, 0%, 63.5%)
CIE-LABlab(18.66, 35.98, -32.29)
CIE-LCHlch(18.66, 48.35, 318.09°)
OKLaboklab(31.47% 0.0859 -0.0912)
OKLCHoklch(31.47% 0.125 313.3)
XYZxyz(4.8421, 2.6664, 10.6134)
Luminance0.0267 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47155D #2B5D15
analogous
#23155D #47155D #5D154F
triadic
#47155D #5D4715 #155D47
tetradic
#47155D #5D2315 #2B5D15 #154F5D
square
#47155D #5D2315 #2B5D15 #154F5D
split-complementary
#47155D #4F5D15 #155D23
monochromatic
#130619 #210A2B #47155D #6D208F #932CC1

Accessibility & contrast

On white

13.70
#47155D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#47155D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #47155D
13.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47155D#FFFFFF#000000##FFFFFF
##47155D1.0013.701.5313.70
#FFFFFF13.701.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B5F
Deuteranopia (green-blind)
#0F2F5B
Tritanopia (blue-blind)
#452537
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #47155d;
/* rgb */ color: rgb(71, 21, 93);
/* oklch */ color: oklch(31.5% 0.125 313.3);
Tailwind
colors: {
  custom: {
    50: '#7d588b',
    500: '#47155d',
    950: '#000000',
  },
}
SCSS
$custom: #47155d;
$custom-light: #7d588b;
$custom-dark: #000000;
JSON
{
  "hex": "#47155d",
  "rgb": {
    "r": 71,
    "g": 21,
    "b": 93
  },
  "hsl": {
    "h": 281.667,
    "s": 63.158,
    "l": 22.353
  },
  "oklch": {
    "l": 0.3147,
    "c": 0.12524,
    "h": 313.3
  },
  "luminance": 0.02666
}

Semantic roles & 50–950 ramp

primary
#47155D
secondary
#559439
accent
#E64274
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#0A030C
muted
#7C787D

Preview Lab

Preview with #47155D

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

Preview Lab → · Contrast checker → · Palette generator →

#47155D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva