#47155E#47155E

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

Color values

HEX#47155E
RGBrgb(71, 21, 94)
HSLhsl(281, 63%, 23%)
HSVhsv(281, 78%, 37%)
CMYKcmyk(24.5%, 77.7%, 0%, 63.1%)
CIE-LABlab(18.73, 36.21, -32.83)
CIE-LCHlch(18.73, 48.88, 317.80°)
OKLaboklab(31.55% 0.0857 -0.0928)
OKLCHoklch(31.55% 0.126 312.7)
XYZxyz(4.8867, 2.6842, 10.8482)
Luminance0.0268 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47155E #2C5E15
analogous
#23155E #47155E #5E1550
triadic
#47155E #5E4715 #155E47
tetradic
#47155E #5E2315 #2C5E15 #15505E
square
#47155E #5E2315 #2C5E15 #15505E
split-complementary
#47155E #505E15 #155E23
monochromatic
#130619 #210A2C #47155E #6D2090 #932BC2

Accessibility & contrast

On white

13.66
#47155E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#47155E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #47155E
13.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47155E#FFFFFF#000000##FFFFFF
##47155E1.0013.661.5413.66
#FFFFFF13.661.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.661.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #47155e;
/* rgb */ color: rgb(71, 21, 94);
/* oklch */ color: oklch(31.5% 0.126 312.7);
Tailwind
colors: {
  custom: {
    50: '#7d588c',
    500: '#47155e',
    950: '#000000',
  },
}
SCSS
$custom: #47155e;
$custom-light: #7d588c;
$custom-dark: #000000;
JSON
{
  "hex": "#47155e",
  "rgb": {
    "r": 71,
    "g": 21,
    "b": 94
  },
  "hsl": {
    "h": 281.096,
    "s": 63.478,
    "l": 22.549
  },
  "oklch": {
    "l": 0.31549,
    "c": 0.1263,
    "h": 312.7
  },
  "luminance": 0.02684
}

Semantic roles & 50–950 ramp

primary
#47155E
secondary
#569539
accent
#E74175
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#0A030C
muted
#7C787D

Preview Lab

Preview with #47155E

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

Preview Lab → · Contrast checker → · Palette generator →

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