#47135F#47135F

#47135F is a dark, vivid purple. Relative luminance 0.026; OKLCH L 31.4% C 0.130 H 312.5°. Best body text is #FFFFFF at 13.76:1 contrast (WCAG AA passes).

Color values

HEX#47135F
RGBrgb(71, 19, 95)
HSLhsl(281, 67%, 22%)
HSVhsv(281, 80%, 37%)
CMYKcmyk(25.3%, 80%, 0%, 62.7%)
CIE-LABlab(18.50, 37.32, -33.87)
CIE-LCHlch(18.50, 50.40, 317.78°)
OKLaboklab(31.41% 0.0877 -0.0958)
OKLCHoklch(31.41% 0.13 312.5)
XYZxyz(4.8966, 2.6317, 11.0743)
Luminance0.0263 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47135F #2B5F13
analogous
#21135F #47135F #5F1351
triadic
#47135F #5F4713 #135F47
tetradic
#47135F #5F2113 #2B5F13 #13515F
square
#47135F #5F2113 #2B5F13 #13515F
split-complementary
#47135F #515F13 #135F21
monochromatic
#13051A #21092C #47135F #6D1D92 #9327C5

Accessibility & contrast

On white

13.76
#47135F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#47135F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #47135F
13.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47135F#FFFFFF#000000##FFFFFF
##47135F1.0013.761.5313.76
#FFFFFF13.761.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B61
Deuteranopia (green-blind)
#092E5D
Tritanopia (blue-blind)
#442438
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #47135f;
/* rgb */ color: rgb(71, 19, 95);
/* oklch */ color: oklch(31.4% 0.130 312.5);
Tailwind
colors: {
  custom: {
    50: '#7d578d',
    500: '#47135f',
    950: '#000000',
  },
}
SCSS
$custom: #47135f;
$custom-light: #7d578d;
$custom-dark: #000000;
JSON
{
  "hex": "#47135f",
  "rgb": {
    "r": 71,
    "g": 19,
    "b": 95
  },
  "hsl": {
    "h": 281.053,
    "s": 66.667,
    "l": 22.353
  },
  "oklch": {
    "l": 0.31412,
    "c": 0.12986,
    "h": 312.5
  },
  "luminance": 0.02632
}

Semantic roles & 50–950 ramp

primary
#47135F
secondary
#559737
accent
#EA3E74
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#0A030C
muted
#7C787D

Preview Lab

Preview with #47135F

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

Preview Lab → · Contrast checker → · Palette generator →

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