#47154F#47154F

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

Color values

HEX#47154F
RGBrgb(71, 21, 79)
HSLhsl(292, 58%, 20%)
HSVhsv(292, 73%, 31%)
CMYKcmyk(10.1%, 73.4%, 0%, 69%)
CIE-LABlab(17.65, 32.82, -24.48)
CIE-LCHlch(17.65, 40.94, 323.28°)
OKLaboklab(30.43% 0.087 -0.0683)
OKLCHoklch(30.43% 0.111 321.9)
XYZxyz(4.2778, 2.4407, 7.6414)
Luminance0.0244 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47154F #1D4F15
analogous
#2A154F #47154F #4F153A
triadic
#47154F #4F4715 #154F47
tetradic
#47154F #4F2A15 #1D4F15 #153A4F
square
#47154F #4F2A15 #1D4F15 #153A4F
split-complementary
#47154F #3A4F15 #154F2A
monochromatic
#160618 #1C081F #47154F #72227F #9E2FB0

Accessibility & contrast

On white

14.11
#47154F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #47154F
14.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47154F#FFFFFF#000000##FFFFFF
##47154F1.0014.111.4914.11
#FFFFFF14.111.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#052851
Deuteranopia (green-blind)
#1C2D4E
Tritanopia (blue-blind)
#481F30
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #47154f;
/* rgb */ color: rgb(71, 21, 79);
/* oklch */ color: oklch(30.4% 0.111 321.9);
Tailwind
colors: {
  custom: {
    50: '#7c5780',
    500: '#47154f',
    950: '#000000',
  },
}
SCSS
$custom: #47154f;
$custom-light: #7c5780;
$custom-dark: #000000;
JSON
{
  "hex": "#47154f",
  "rgb": {
    "r": 71,
    "g": 21,
    "b": 79
  },
  "hsl": {
    "h": 291.724,
    "s": 58,
    "l": 19.608
  },
  "oklch": {
    "l": 0.30428,
    "c": 0.1106,
    "h": 321.9
  },
  "luminance": 0.0244
}

Semantic roles & 50–950 ramp

primary
#47154F
secondary
#448739
accent
#E1475C
background
#F7F5F7
surface
#EEE9EE
border
#C9C5C9
text
#0A030A
muted
#7C787C

Preview Lab

Preview with #47154F

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

Preview Lab → · Contrast checker → · Palette generator →

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