#47155C#47155C

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

Color values

HEX#47155C
RGBrgb(71, 21, 92)
HSLhsl(282, 63%, 22%)
HSVhsv(282, 77%, 36%)
CMYKcmyk(22.8%, 77.2%, 0%, 63.9%)
CIE-LABlab(18.58, 35.74, -31.75)
CIE-LCHlch(18.58, 47.81, 318.39°)
OKLaboklab(31.39% 0.086 -0.0896)
OKLCHoklch(31.39% 0.124 313.8)
XYZxyz(4.7981, 2.6488, 10.3817)
Luminance0.0265 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47155C #2A5C15
analogous
#24155C #47155C #5C154D
triadic
#47155C #5C4715 #155C47
tetradic
#47155C #5C2415 #2A5C15 #154D5C
square
#47155C #5C2415 #2A5C15 #154D5C
split-complementary
#47155C #4D5C15 #155C24
monochromatic
#130619 #210A2A #47155C #6D208E #942CC0

Accessibility & contrast

On white

13.73
#47155C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #47155C
13.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47155C#FFFFFF#000000##FFFFFF
##47155C1.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)
#002B5E
Deuteranopia (green-blind)
#102E5A
Tritanopia (blue-blind)
#452437
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #47155c;
/* rgb */ color: rgb(71, 21, 92);
/* oklch */ color: oklch(31.4% 0.124 313.8);
Tailwind
colors: {
  custom: {
    50: '#7d588b',
    500: '#47155c',
    950: '#000000',
  },
}
SCSS
$custom: #47155c;
$custom-light: #7d588b;
$custom-dark: #000000;
JSON
{
  "hex": "#47155c",
  "rgb": {
    "r": 71,
    "g": 21,
    "b": 92
  },
  "hsl": {
    "h": 282.254,
    "s": 62.832,
    "l": 22.157
  },
  "oklch": {
    "l": 0.31391,
    "c": 0.12418,
    "h": 313.8
  },
  "luminance": 0.02649
}

Semantic roles & 50–950 ramp

primary
#47155C
secondary
#549339
accent
#E64272
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#0A030C
muted
#7C787D

Preview Lab

Preview with #47155C

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

Preview Lab → · Contrast checker → · Palette generator →

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