#47154B#47154B

#47154B is a dark, moderate purple. Relative luminance 0.024; OKLCH L 30.2% C 0.107 H 324.7°. Best body text is #FFFFFF at 14.22:1 contrast (WCAG AA passes).

Color values

HEX#47154B
RGBrgb(71, 21, 75)
HSLhsl(296, 56%, 19%)
HSVhsv(296, 72%, 29%)
CMYKcmyk(5.3%, 72%, 0%, 70.6%)
CIE-LABlab(17.39, 31.97, -22.16)
CIE-LCHlch(17.39, 38.90, 325.26°)
OKLaboklab(30.15% 0.087 -0.0615)
OKLCHoklch(30.15% 0.107 324.7)
XYZxyz(4.1366, 2.3842, 6.8976)
Luminance0.0238 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47154B #194B15
analogous
#2C154B #47154B #4B1534
triadic
#47154B #4B4715 #154B47
tetradic
#47154B #4B2C15 #194B15 #15344B
square
#47154B #4B2C15 #194B15 #15344B
split-complementary
#47154B #344B15 #154B2C
monochromatic
#170718 #1A081B #47154B #74227B #A230AB

Accessibility & contrast

On white

14.22
#47154B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #47154B
14.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47154B#FFFFFF#000000##FFFFFF
##47154B1.0014.221.4814.22
#FFFFFF14.221.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A274D
Deuteranopia (green-blind)
#1F2D4A
Tritanopia (blue-blind)
#491D2E
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #47154b;
/* rgb */ color: rgb(71, 21, 75);
/* oklch */ color: oklch(30.2% 0.107 324.7);
Tailwind
colors: {
  custom: {
    50: '#7c577d',
    500: '#47154b',
    950: '#000000',
  },
}
SCSS
$custom: #47154b;
$custom-light: #7c577d;
$custom-dark: #000000;
JSON
{
  "hex": "#47154b",
  "rgb": {
    "r": 71,
    "g": 21,
    "b": 75
  },
  "hsl": {
    "h": 295.556,
    "s": 56.25,
    "l": 18.824
  },
  "oklch": {
    "l": 0.30155,
    "c": 0.10655,
    "h": 324.7
  },
  "luminance": 0.02384
}

Semantic roles & 50–950 ramp

primary
#47154B
secondary
#3E8339
accent
#E04853
background
#F7F5F7
surface
#EEE9EE
border
#C9C5C9
text
#0A030A
muted
#7C787C

Preview Lab

Preview with #47154B

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

Preview Lab → · Contrast checker → · Palette generator →

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