#47154E#47154E

#47154E is a dark, moderate purple. Relative luminance 0.024; OKLCH L 30.4% C 0.110 H 322.6°. Best body text is #FFFFFF at 14.14:1 contrast (WCAG AA passes).

Color values

HEX#47154E
RGBrgb(71, 21, 78)
HSLhsl(293, 58%, 19%)
HSVhsv(293, 73%, 31%)
CMYKcmyk(9%, 73.1%, 0%, 69.4%)
CIE-LABlab(17.58, 32.60, -23.91)
CIE-LCHlch(17.58, 40.43, 323.75°)
OKLaboklab(30.36% 0.087 -0.0666)
OKLCHoklch(30.36% 0.11 322.6)
XYZxyz(4.2417, 2.4262, 7.4511)
Luminance0.0243 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47154E #1C4E15
analogous
#2B154E #47154E #4E1539
triadic
#47154E #4E4715 #154E47
tetradic
#47154E #4E2B15 #1C4E15 #15394E
square
#47154E #4E2B15 #1C4E15 #15394E
split-complementary
#47154E #394E15 #154E2B
monochromatic
#160618 #1B081E #47154E #73227E #9F2FAE

Accessibility & contrast

On white

14.14
#47154E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#47154E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #47154E
14.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47154E#FFFFFF#000000##FFFFFF
##47154E1.0014.141.4914.14
#FFFFFF14.141.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#062750
Deuteranopia (green-blind)
#1D2D4D
Tritanopia (blue-blind)
#481E2F
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #47154e;
/* rgb */ color: rgb(71, 21, 78);
/* oklch */ color: oklch(30.4% 0.110 322.6);
Tailwind
colors: {
  custom: {
    50: '#7c5780',
    500: '#47154e',
    950: '#000000',
  },
}
SCSS
$custom: #47154e;
$custom-light: #7c5780;
$custom-dark: #000000;
JSON
{
  "hex": "#47154e",
  "rgb": {
    "r": 71,
    "g": 21,
    "b": 78
  },
  "hsl": {
    "h": 292.632,
    "s": 57.576,
    "l": 19.412
  },
  "oklch": {
    "l": 0.30359,
    "c": 0.10958,
    "h": 322.6
  },
  "luminance": 0.02426
}

Semantic roles & 50–950 ramp

primary
#47154E
secondary
#428639
accent
#E1475A
background
#F7F5F7
surface
#EEE9EE
border
#C9C5C9
text
#0A030A
muted
#7C787C

Preview Lab

Preview with #47154E

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

Preview Lab → · Contrast checker → · Palette generator →

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