#47135D#47135D

#47135D is a dark, vivid purple. Relative luminance 0.026; OKLCH L 31.3% C 0.128 H 313.5°. Best body text is #FFFFFF at 13.82:1 contrast (WCAG AA passes).

Color values

HEX#47135D
RGBrgb(71, 19, 93)
HSLhsl(282, 66%, 22%)
HSVhsv(282, 80%, 36%)
CMYKcmyk(23.7%, 79.6%, 0%, 63.5%)
CIE-LABlab(18.35, 36.86, -32.79)
CIE-LCHlch(18.35, 49.33, 318.34°)
OKLaboklab(31.25% 0.088 -0.0926)
OKLCHoklch(31.25% 0.128 313.5)
XYZxyz(4.8068, 2.5958, 10.6016)
Luminance0.0260 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47135D #295D13
analogous
#22135D #47135D #5D134E
triadic
#47135D #5D4713 #135D47
tetradic
#47135D #5D2213 #295D13 #134E5D
square
#47135D #5D2213 #295D13 #134E5D
split-complementary
#47135D #4E5D13 #135D22
monochromatic
#130519 #20092A #47135D #6E1D90 #9528C3

Accessibility & contrast

On white

13.82
#47135D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#47135D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #47135D
13.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47135D#FFFFFF#000000##FFFFFF
##47135D1.0013.821.5213.82
#FFFFFF13.821.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A5F
Deuteranopia (green-blind)
#0C2E5B
Tritanopia (blue-blind)
#452437
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #47135d;
/* rgb */ color: rgb(71, 19, 93);
/* oklch */ color: oklch(31.3% 0.128 313.5);
Tailwind
colors: {
  custom: {
    50: '#7d578b',
    500: '#47135d',
    950: '#000000',
  },
}
SCSS
$custom: #47135d;
$custom-light: #7d578b;
$custom-dark: #000000;
JSON
{
  "hex": "#47135d",
  "rgb": {
    "r": 71,
    "g": 19,
    "b": 93
  },
  "hsl": {
    "h": 282.162,
    "s": 66.071,
    "l": 21.961
  },
  "oklch": {
    "l": 0.31251,
    "c": 0.12778,
    "h": 313.5
  },
  "luminance": 0.02596
}

Semantic roles & 50–950 ramp

primary
#47135D
secondary
#539537
accent
#E93F71
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#0A030C
muted
#7C787D

Preview Lab

Preview with #47135D

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

Preview Lab → · Contrast checker → · Palette generator →

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