#47154D#47154D

#47154D is a dark, moderate purple. Relative luminance 0.024; OKLCH L 30.3% C 0.109 H 323.3°. Best body text is #FFFFFF at 14.17:1 contrast (WCAG AA passes).

Color values

HEX#47154D
RGBrgb(71, 21, 77)
HSLhsl(294, 57%, 19%)
HSVhsv(294, 73%, 30%)
CMYKcmyk(7.8%, 72.7%, 0%, 69.8%)
CIE-LABlab(17.52, 32.39, -23.33)
CIE-LCHlch(17.52, 39.92, 324.24°)
OKLaboklab(30.29% 0.087 -0.0649)
OKLCHoklch(30.29% 0.109 323.3)
XYZxyz(4.2061, 2.4120, 7.2638)
Luminance0.0241 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47154D #1B4D15
analogous
#2B154D #47154D #4D1537
triadic
#47154D #4D4715 #154D47
tetradic
#47154D #4D2B15 #1B4D15 #15374D
square
#47154D #4D2B15 #1B4D15 #15374D
split-complementary
#47154D #374D15 #154D2B
monochromatic
#160718 #1B081D #47154D #73227D #A02FAD

Accessibility & contrast

On white

14.17
#47154D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#47154D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #47154D
14.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47154D#FFFFFF#000000##FFFFFF
##47154D1.0014.171.4814.17
#FFFFFF14.171.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#08274F
Deuteranopia (green-blind)
#1E2D4C
Tritanopia (blue-blind)
#481E2F
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #47154d;
/* rgb */ color: rgb(71, 21, 77);
/* oklch */ color: oklch(30.3% 0.109 323.3);
Tailwind
colors: {
  custom: {
    50: '#7c577f',
    500: '#47154d',
    950: '#000000',
  },
}
SCSS
$custom: #47154d;
$custom-light: #7c577f;
$custom-dark: #000000;
JSON
{
  "hex": "#47154d",
  "rgb": {
    "r": 71,
    "g": 21,
    "b": 77
  },
  "hsl": {
    "h": 293.571,
    "s": 57.143,
    "l": 19.216
  },
  "oklch": {
    "l": 0.3029,
    "c": 0.10856,
    "h": 323.3
  },
  "luminance": 0.02412
}

Semantic roles & 50–950 ramp

primary
#47154D
secondary
#418539
accent
#E04758
background
#F7F5F7
surface
#EEE9EE
border
#C9C5C9
text
#0A030A
muted
#7C787C

Preview Lab

Preview with #47154D

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

Preview Lab → · Contrast checker → · Palette generator →

#47154D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva