#47135B#47135B

#47135B is a dark, vivid purple. Relative luminance 0.026; OKLCH L 31.1% C 0.126 H 314.7°. Best body text is #FFFFFF at 13.89:1 contrast (WCAG AA passes).

Color values

HEX#47135B
RGBrgb(71, 19, 91)
HSLhsl(283, 65%, 22%)
HSVhsv(283, 79%, 36%)
CMYKcmyk(22%, 79.1%, 0%, 64.3%)
CIE-LABlab(18.19, 36.40, -31.71)
CIE-LCHlch(18.19, 48.27, 318.94°)
OKLaboklab(31.09% 0.0884 -0.0894)
OKLCHoklch(31.09% 0.126 314.7)
XYZxyz(4.7194, 2.5608, 10.1412)
Luminance0.0256 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47135B #275B13
analogous
#23135B #47135B #5B134B
triadic
#47135B #5B4713 #135B47
tetradic
#47135B #5B2313 #275B13 #134B5B
square
#47135B #5B2313 #275B13 #134B5B
split-complementary
#47135B #4B5B13 #135B23
monochromatic
#140519 #1F0828 #47135B #6F1E8E #9628C0

Accessibility & contrast

On white

13.89
#47135B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#47135B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #47135B
13.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47135B#FFFFFF#000000##FFFFFF
##47135B1.0013.891.5113.89
#FFFFFF13.891.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A5D
Deuteranopia (green-blind)
#0F2E59
Tritanopia (blue-blind)
#452336
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #47135b;
/* rgb */ color: rgb(71, 19, 91);
/* oklch */ color: oklch(31.1% 0.126 314.7);
Tailwind
colors: {
  custom: {
    50: '#7d578a',
    500: '#47135b',
    950: '#000000',
  },
}
SCSS
$custom: #47135b;
$custom-light: #7d578a;
$custom-dark: #000000;
JSON
{
  "hex": "#47135b",
  "rgb": {
    "r": 71,
    "g": 19,
    "b": 91
  },
  "hsl": {
    "h": 283.333,
    "s": 65.455,
    "l": 21.569
  },
  "oklch": {
    "l": 0.31092,
    "c": 0.12571,
    "h": 314.7
  },
  "luminance": 0.02561
}

Semantic roles & 50–950 ramp

primary
#47135B
secondary
#509337
accent
#E83F6E
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#0A030C
muted
#7C787D

Preview Lab

Preview with #47135B

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

Preview Lab → · Contrast checker → · Palette generator →

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