#47155B#47155B

#47155B is a dark, vivid purple. Relative luminance 0.026; OKLCH L 31.3% C 0.123 H 314.4°. Best body text is #FFFFFF at 13.76:1 contrast (WCAG AA passes).

Color values

HEX#47155B
RGBrgb(71, 21, 91)
HSLhsl(283, 63%, 22%)
HSVhsv(283, 77%, 36%)
CMYKcmyk(22%, 76.9%, 0%, 64.3%)
CIE-LABlab(18.50, 35.51, -31.21)
CIE-LCHlch(18.50, 47.28, 318.69°)
OKLaboklab(31.31% 0.0861 -0.088)
OKLCHoklch(31.31% 0.123 314.4)
XYZxyz(4.7547, 2.6314, 10.1530)
Luminance0.0263 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47155B #295B15
analogous
#24155B #47155B #5B154C
triadic
#47155B #5B4715 #155B47
tetradic
#47155B #5B2415 #295B15 #154C5B
square
#47155B #5B2415 #295B15 #154C5B
split-complementary
#47155B #4C5B15 #155B24
monochromatic
#130619 #200A29 #47155B #6E208D #952CBE

Accessibility & contrast

On white

13.76
#47155B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #47155B
13.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47155B#FFFFFF#000000##FFFFFF
##47155B1.0013.761.5313.76
#FFFFFF13.761.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.761.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #47155b;
/* rgb */ color: rgb(71, 21, 91);
/* oklch */ color: oklch(31.3% 0.123 314.4);
Tailwind
colors: {
  custom: {
    50: '#7d588a',
    500: '#47155b',
    950: '#000000',
  },
}
SCSS
$custom: #47155b;
$custom-light: #7d588a;
$custom-dark: #000000;
JSON
{
  "hex": "#47155b",
  "rgb": {
    "r": 71,
    "g": 21,
    "b": 91
  },
  "hsl": {
    "h": 282.857,
    "s": 62.5,
    "l": 21.961
  },
  "oklch": {
    "l": 0.31313,
    "c": 0.12312,
    "h": 314.4
  },
  "luminance": 0.02631
}

Semantic roles & 50–950 ramp

primary
#47155B
secondary
#539239
accent
#E64271
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#0A030C
muted
#7C787D

Preview Lab

Preview with #47155B

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

Preview Lab → · Contrast checker → · Palette generator →

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