#47185D#47185D

#47185D is a dark, vivid purple. Relative luminance 0.028; OKLCH L 31.8% C 0.121 H 312.8°. Best body text is #FFFFFF at 13.49:1 contrast (WCAG AA passes).

Color values

HEX#47185D
RGBrgb(71, 24, 93)
HSLhsl(281, 59%, 23%)
HSVhsv(281, 74%, 36%)
CMYKcmyk(23.7%, 74.2%, 0%, 63.5%)
CIE-LABlab(19.15, 34.57, -31.49)
CIE-LCHlch(19.15, 46.76, 317.67°)
OKLaboklab(31.83% 0.0824 -0.0888)
OKLCHoklch(31.83% 0.121 312.8)
XYZxyz(4.9006, 2.7833, 10.6329)
Luminance0.0278 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47185D #2E5D18
analogous
#25185D #47185D #5D1850
triadic
#47185D #5D4718 #185D47
tetradic
#47185D #5D2518 #2E5D18 #18505D
square
#47185D #5D2518 #2E5D18 #18505D
split-complementary
#47185D #505D18 #185D25
monochromatic
#130618 #220B2C #47185D #6C258E #9131BE

Accessibility & contrast

On white

13.49
#47185D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#47185D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #47185D
13.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47185D#FFFFFF#000000##FFFFFF
##47185D1.0013.491.5613.49
#FFFFFF13.491.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C5F
Deuteranopia (green-blind)
#122F5B
Tritanopia (blue-blind)
#452638
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #47185d;
/* rgb */ color: rgb(71, 24, 93);
/* oklch */ color: oklch(31.8% 0.121 312.8);
Tailwind
colors: {
  custom: {
    50: '#7d598b',
    500: '#47185d',
    950: '#000000',
  },
}
SCSS
$custom: #47185d;
$custom-light: #7d598b;
$custom-dark: #000000;
JSON
{
  "hex": "#47185d",
  "rgb": {
    "r": 71,
    "g": 24,
    "b": 93
  },
  "hsl": {
    "h": 280.87,
    "s": 58.974,
    "l": 22.941
  },
  "oklch": {
    "l": 0.31826,
    "c": 0.12114,
    "h": 312.8
  },
  "luminance": 0.02783
}

Semantic roles & 50–950 ramp

primary
#47185D
secondary
#59933D
accent
#E24678
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#0A040C
muted
#7C797D

Preview Lab

Preview with #47185D

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

Preview Lab → · Contrast checker → · Palette generator →

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