#47135C#47135C

#47135C is a dark, vivid purple. Relative luminance 0.026; OKLCH L 31.2% C 0.127 H 314.1°. Best body text is #FFFFFF at 13.86:1 contrast (WCAG AA passes).

Color values

HEX#47135C
RGBrgb(71, 19, 92)
HSLhsl(283, 66%, 22%)
HSVhsv(283, 79%, 36%)
CMYKcmyk(22.8%, 79.3%, 0%, 63.9%)
CIE-LABlab(18.27, 36.63, -32.25)
CIE-LCHlch(18.27, 48.80, 318.64°)
OKLaboklab(31.17% 0.0882 -0.091)
OKLCHoklch(31.17% 0.127 314.1)
XYZxyz(4.7628, 2.5782, 10.3699)
Luminance0.0258 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47135C #285C13
analogous
#23135C #47135C #5C134D
triadic
#47135C #5C4713 #135C47
tetradic
#47135C #5C2313 #285C13 #134D5C
square
#47135C #5C2313 #285C13 #134D5C
split-complementary
#47135C #4D5C13 #135C23
monochromatic
#140519 #200929 #47135C #6E1D8F #9528C1

Accessibility & contrast

On white

13.86
#47135C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #47135C
13.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47135C#FFFFFF#000000##FFFFFF
##47135C1.0013.861.5213.86
#FFFFFF13.861.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A5E
Deuteranopia (green-blind)
#0E2E5A
Tritanopia (blue-blind)
#452336
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #47135c;
/* rgb */ color: rgb(71, 19, 92);
/* oklch */ color: oklch(31.2% 0.127 314.1);
Tailwind
colors: {
  custom: {
    50: '#7d578b',
    500: '#47135c',
    950: '#000000',
  },
}
SCSS
$custom: #47135c;
$custom-light: #7d578b;
$custom-dark: #000000;
JSON
{
  "hex": "#47135c",
  "rgb": {
    "r": 71,
    "g": 19,
    "b": 92
  },
  "hsl": {
    "h": 282.74,
    "s": 65.766,
    "l": 21.765
  },
  "oklch": {
    "l": 0.31171,
    "c": 0.12675,
    "h": 314.1
  },
  "luminance": 0.02578
}

Semantic roles & 50–950 ramp

primary
#47135C
secondary
#529437
accent
#E93F70
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#0A030C
muted
#7C787D

Preview Lab

Preview with #47135C

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

Preview Lab → · Contrast checker → · Palette generator →

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