#47185A#47185A

#47185A is a dark, moderate purple. Relative luminance 0.027; OKLCH L 31.6% C 0.118 H 314.5°. Best body text is #FFFFFF at 13.58:1 contrast (WCAG AA passes).

Color values

HEX#47185A
RGBrgb(71, 24, 90)
HSLhsl(283, 58%, 22%)
HSVhsv(283, 73%, 35%)
CMYKcmyk(21.1%, 73.3%, 0%, 64.7%)
CIE-LABlab(18.93, 33.86, -29.84)
CIE-LCHlch(18.93, 45.13, 318.60°)
OKLaboklab(31.6% 0.0827 -0.084)
OKLCHoklch(31.6% 0.118 314.5)
XYZxyz(4.7703, 2.7312, 9.9468)
Luminance0.0273 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47185A #2B5A18
analogous
#26185A #47185A #5A184C
triadic
#47185A #5A4718 #185A47
tetradic
#47185A #5A2618 #2B5A18 #184C5A
square
#47185A #5A2618 #2B5A18 #184C5A
split-complementary
#47185A #4C5A18 #185A26
monochromatic
#130618 #210B2A #47185A #6D258A #9332BB

Accessibility & contrast

On white

13.58
#47185A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #47185A
13.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47185A#FFFFFF#000000##FFFFFF
##47185A1.0013.581.5513.58
#FFFFFF13.581.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B5C
Deuteranopia (green-blind)
#152F58
Tritanopia (blue-blind)
#452537
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #47185a;
/* rgb */ color: rgb(71, 24, 90);
/* oklch */ color: oklch(31.6% 0.118 314.5);
Tailwind
colors: {
  custom: {
    50: '#7d5989',
    500: '#47185a',
    950: '#000000',
  },
}
SCSS
$custom: #47185a;
$custom-light: #7d5989;
$custom-dark: #000000;
JSON
{
  "hex": "#47185a",
  "rgb": {
    "r": 71,
    "g": 24,
    "b": 90
  },
  "hsl": {
    "h": 282.727,
    "s": 57.895,
    "l": 22.353
  },
  "oklch": {
    "l": 0.31597,
    "c": 0.11785,
    "h": 314.5
  },
  "luminance": 0.02731
}

Semantic roles & 50–950 ramp

primary
#47185A
secondary
#55913D
accent
#E14773
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#0A040B
muted
#7C797C

Preview Lab

Preview with #47185A

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

Preview Lab → · Contrast checker → · Palette generator →

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