#47185C#47185C

#47185C is a dark, vivid purple. Relative luminance 0.028; OKLCH L 31.7% C 0.120 H 313.4°. Best body text is #FFFFFF at 13.52:1 contrast (WCAG AA passes).

Color values

HEX#47185C
RGBrgb(71, 24, 92)
HSLhsl(281, 59%, 23%)
HSVhsv(281, 74%, 36%)
CMYKcmyk(22.8%, 73.9%, 0%, 63.9%)
CIE-LABlab(19.08, 34.33, -30.94)
CIE-LCHlch(19.08, 46.22, 317.97°)
OKLaboklab(31.75% 0.0825 -0.0872)
OKLCHoklch(31.75% 0.12 313.4)
XYZxyz(4.8566, 2.7657, 10.4011)
Luminance0.0277 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47185C #2D5C18
analogous
#25185C #47185C #5C184F
triadic
#47185C #5C4718 #185C47
tetradic
#47185C #5C2518 #2D5C18 #184F5C
square
#47185C #5C2518 #2D5C18 #184F5C
split-complementary
#47185C #4F5C18 #185C25
monochromatic
#130618 #220B2B #47185C #6C258D #9231BD

Accessibility & contrast

On white

13.52
#47185C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#47185C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #47185C
13.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47185C#FFFFFF#000000##FFFFFF
##47185C1.0013.521.5513.52
#FFFFFF13.521.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C5E
Deuteranopia (green-blind)
#132F5A
Tritanopia (blue-blind)
#452638
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #47185c;
/* rgb */ color: rgb(71, 24, 92);
/* oklch */ color: oklch(31.7% 0.120 313.4);
Tailwind
colors: {
  custom: {
    50: '#7d598b',
    500: '#47185c',
    950: '#000000',
  },
}
SCSS
$custom: #47185c;
$custom-light: #7d598b;
$custom-dark: #000000;
JSON
{
  "hex": "#47185c",
  "rgb": {
    "r": 71,
    "g": 24,
    "b": 92
  },
  "hsl": {
    "h": 281.471,
    "s": 58.621,
    "l": 22.745
  },
  "oklch": {
    "l": 0.31749,
    "c": 0.12004,
    "h": 313.4
  },
  "luminance": 0.02766
}

Semantic roles & 50–950 ramp

primary
#47185C
secondary
#58933D
accent
#E24676
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#0A040C
muted
#7C797D

Preview Lab

Preview with #47185C

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

Preview Lab → · Contrast checker → · Palette generator →

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