#47155A#47155A

#47155A is a dark, vivid purple. Relative luminance 0.026; OKLCH L 31.2% C 0.122 H 315.0°. Best body text is #FFFFFF at 13.79:1 contrast (WCAG AA passes).

Color values

HEX#47155A
RGBrgb(71, 21, 90)
HSLhsl(283, 62%, 22%)
HSVhsv(283, 77%, 35%)
CMYKcmyk(21.1%, 76.7%, 0%, 64.7%)
CIE-LABlab(18.43, 35.28, -30.66)
CIE-LCHlch(18.43, 46.74, 319.01°)
OKLaboklab(31.24% 0.0862 -0.0864)
OKLCHoklch(31.24% 0.122 315)
XYZxyz(4.7119, 2.6143, 9.9273)
Luminance0.0261 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47155A #285A15
analogous
#25155A #47155A #5A154B
triadic
#47155A #5A4715 #155A47
tetradic
#47155A #5A2515 #285A15 #154B5A
square
#47155A #5A2515 #285A15 #154B5A
split-complementary
#47155A #4B5A15 #155A25
monochromatic
#140619 #200928 #47155A #6E218C #952CBD

Accessibility & contrast

On white

13.79
#47155A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#47155A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #47155A
13.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47155A#FFFFFF#000000##FFFFFF
##47155A1.0013.791.5213.79
#FFFFFF13.791.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A5C
Deuteranopia (green-blind)
#132E58
Tritanopia (blue-blind)
#452336
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #47155a;
/* rgb */ color: rgb(71, 21, 90);
/* oklch */ color: oklch(31.2% 0.122 315.0);
Tailwind
colors: {
  custom: {
    50: '#7d5889',
    500: '#47155a',
    950: '#000000',
  },
}
SCSS
$custom: #47155a;
$custom-light: #7d5889;
$custom-dark: #000000;
JSON
{
  "hex": "#47155a",
  "rgb": {
    "r": 71,
    "g": 21,
    "b": 90
  },
  "hsl": {
    "h": 283.478,
    "s": 62.162,
    "l": 21.765
  },
  "oklch": {
    "l": 0.31236,
    "c": 0.12206,
    "h": 315
  },
  "luminance": 0.02614
}

Semantic roles & 50–950 ramp

primary
#47155A
secondary
#529239
accent
#E5436F
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#0A030B
muted
#7C787C

Preview Lab

Preview with #47155A

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

Preview Lab → · Contrast checker → · Palette generator →

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