#47165F#47165F

#47165F is a dark, vivid purple. Relative luminance 0.027; OKLCH L 31.7% C 0.126 H 312.1°. Best body text is #FFFFFF at 13.57:1 contrast (WCAG AA passes).

Color values

HEX#47165F
RGBrgb(71, 22, 95)
HSLhsl(280, 62%, 23%)
HSVhsv(280, 77%, 37%)
CMYKcmyk(25.3%, 76.8%, 0%, 62.7%)
CIE-LABlab(18.97, 35.99, -33.11)
CIE-LCHlch(18.97, 48.91, 317.39°)
OKLaboklab(31.74% 0.0844 -0.0936)
OKLCHoklch(31.74% 0.126 312.1)
XYZxyz(4.9506, 2.7398, 11.0923)
Luminance0.0274 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47165F #2E5F16
analogous
#22165F #47165F #5F1652
triadic
#47165F #5F4716 #165F47
tetradic
#47165F #5F2216 #2E5F16 #16525F
square
#47165F #5F2216 #2E5F16 #16525F
split-complementary
#47165F #525F16 #165F22
monochromatic
#130619 #220A2D #47165F #6C2291 #912DC2

Accessibility & contrast

On white

13.57
#47165F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#47165F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #47165F
13.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47165F#FFFFFF#000000##FFFFFF
##47165F1.0013.571.5513.57
#FFFFFF13.571.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C61
Deuteranopia (green-blind)
#0D2F5D
Tritanopia (blue-blind)
#442639
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #47165f;
/* rgb */ color: rgb(71, 22, 95);
/* oklch */ color: oklch(31.7% 0.126 312.1);
Tailwind
colors: {
  custom: {
    50: '#7d588d',
    500: '#47165f',
    950: '#000000',
  },
}
SCSS
$custom: #47165f;
$custom-light: #7d588d;
$custom-dark: #000000;
JSON
{
  "hex": "#47165f",
  "rgb": {
    "r": 71,
    "g": 22,
    "b": 95
  },
  "hsl": {
    "h": 280.274,
    "s": 62.393,
    "l": 22.941
  },
  "oklch": {
    "l": 0.31742,
    "c": 0.12605,
    "h": 312.1
  },
  "luminance": 0.0274
}

Semantic roles & 50–950 ramp

primary
#47165F
secondary
#59963B
accent
#E54278
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#0A040C
muted
#7C797D

Preview Lab

Preview with #47165F

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

Preview Lab → · Contrast checker → · Palette generator →

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