#47155F#47155F

#47155F is a dark, vivid purple. Relative luminance 0.027; OKLCH L 31.6% C 0.127 H 312.2°. Best body text is #FFFFFF at 13.63:1 contrast (WCAG AA passes).

Color values

HEX#47155F
RGBrgb(71, 21, 95)
HSLhsl(281, 64%, 23%)
HSVhsv(281, 78%, 37%)
CMYKcmyk(25.3%, 77.9%, 0%, 62.7%)
CIE-LABlab(18.81, 36.45, -33.37)
CIE-LCHlch(18.81, 49.42, 317.52°)
OKLaboklab(31.63% 0.0856 -0.0943)
OKLCHoklch(31.63% 0.127 312.2)
XYZxyz(4.9319, 2.7023, 11.0860)
Luminance0.0270 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47155F #2D5F15
analogous
#22155F #47155F #5F1552
triadic
#47155F #5F4715 #155F47
tetradic
#47155F #5F2215 #2D5F15 #15525F
square
#47155F #5F2215 #2D5F15 #15525F
split-complementary
#47155F #525F15 #155F22
monochromatic
#130619 #220A2D #47155F #6C2091 #922BC3

Accessibility & contrast

On white

13.63
#47155F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #47155F
13.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47155F#FFFFFF#000000##FFFFFF
##47155F1.0013.631.5413.63
#FFFFFF13.631.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B61
Deuteranopia (green-blind)
#0C2F5D
Tritanopia (blue-blind)
#442539
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #47155f;
/* rgb */ color: rgb(71, 21, 95);
/* oklch */ color: oklch(31.6% 0.127 312.2);
Tailwind
colors: {
  custom: {
    50: '#7d588d',
    500: '#47155f',
    950: '#000000',
  },
}
SCSS
$custom: #47155f;
$custom-light: #7d588d;
$custom-dark: #000000;
JSON
{
  "hex": "#47155f",
  "rgb": {
    "r": 71,
    "g": 21,
    "b": 95
  },
  "hsl": {
    "h": 280.541,
    "s": 63.793,
    "l": 22.745
  },
  "oklch": {
    "l": 0.31629,
    "c": 0.12735,
    "h": 312.2
  },
  "luminance": 0.02702
}

Semantic roles & 50–950 ramp

primary
#47155F
secondary
#58963A
accent
#E74177
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#0A030C
muted
#7C787D

Preview Lab

Preview with #47155F

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

Preview Lab → · Contrast checker → · Palette generator →

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