#47165C#47165C

#47165C is a dark, vivid purple. Relative luminance 0.027; OKLCH L 31.5% C 0.123 H 313.7°. Best body text is #FFFFFF at 13.66:1 contrast (WCAG AA passes).

Color values

HEX#47165C
RGBrgb(71, 22, 92)
HSLhsl(282, 61%, 22%)
HSVhsv(282, 76%, 36%)
CMYKcmyk(22.8%, 76.1%, 0%, 63.9%)
CIE-LABlab(18.74, 35.29, -31.49)
CIE-LCHlch(18.74, 47.29, 318.25°)
OKLaboklab(31.51% 0.0849 -0.0888)
OKLCHoklch(31.51% 0.123 313.7)
XYZxyz(4.8169, 2.6863, 10.3879)
Luminance0.0269 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47165C #2B5C16
analogous
#24165C #47165C #5C164E
triadic
#47165C #5C4716 #165C47
tetradic
#47165C #5C2416 #2B5C16 #164E5C
square
#47165C #5C2416 #2B5C16 #164E5C
split-complementary
#47165C #4E5C16 #165C24
monochromatic
#130619 #210A2B #47165C #6D228D #932EBF

Accessibility & contrast

On white

13.66
#47165C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#47165C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #47165C
13.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47165C#FFFFFF#000000##FFFFFF
##47165C1.0013.661.5413.66
#FFFFFF13.661.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B5E
Deuteranopia (green-blind)
#112F5A
Tritanopia (blue-blind)
#452537
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #47165c;
/* rgb */ color: rgb(71, 22, 92);
/* oklch */ color: oklch(31.5% 0.123 313.7);
Tailwind
colors: {
  custom: {
    50: '#7d588b',
    500: '#47165c',
    950: '#000000',
  },
}
SCSS
$custom: #47165c;
$custom-light: #7d588b;
$custom-dark: #000000;
JSON
{
  "hex": "#47165c",
  "rgb": {
    "r": 71,
    "g": 22,
    "b": 92
  },
  "hsl": {
    "h": 282,
    "s": 61.404,
    "l": 22.353
  },
  "oklch": {
    "l": 0.31507,
    "c": 0.12284,
    "h": 313.7
  },
  "luminance": 0.02686
}

Semantic roles & 50–950 ramp

primary
#47165C
secondary
#55933B
accent
#E54374
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#0A040C
muted
#7C797D

Preview Lab

Preview with #47165C

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

Preview Lab → · Contrast checker → · Palette generator →

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