#47135A#47135A

#47135A is a dark, vivid purple. Relative luminance 0.025; OKLCH L 31.0% C 0.125 H 315.2°. Best body text is #FFFFFF at 13.92:1 contrast (WCAG AA passes).

Color values

HEX#47135A
RGBrgb(71, 19, 90)
HSLhsl(284, 65%, 21%)
HSVhsv(284, 79%, 35%)
CMYKcmyk(21.1%, 78.9%, 0%, 64.7%)
CIE-LABlab(18.12, 36.17, -31.16)
CIE-LCHlch(18.12, 47.74, 319.25°)
OKLaboklab(31.01% 0.0885 -0.0878)
OKLCHoklch(31.01% 0.125 315.2)
XYZxyz(4.6766, 2.5437, 9.9155)
Luminance0.0254 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47135A #265A13
analogous
#24135A #47135A #5A134A
triadic
#47135A #5A4713 #135A47
tetradic
#47135A #5A2413 #265A13 #134A5A
square
#47135A #5A2413 #265A13 #134A5A
split-complementary
#47135A #4A5A13 #135A24
monochromatic
#140519 #1F0827 #47135A #6F1E8D #9728BF

Accessibility & contrast

On white

13.92
#47135A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #47135A
13.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47135A#FFFFFF#000000##FFFFFF
##47135A1.0013.921.5113.92
#FFFFFF13.921.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00295C
Deuteranopia (green-blind)
#112E58
Tritanopia (blue-blind)
#452235
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #47135a;
/* rgb */ color: rgb(71, 19, 90);
/* oklch */ color: oklch(31.0% 0.125 315.2);
Tailwind
colors: {
  custom: {
    50: '#7d5789',
    500: '#47135a',
    950: '#000000',
  },
}
SCSS
$custom: #47135a;
$custom-light: #7d5789;
$custom-dark: #000000;
JSON
{
  "hex": "#47135a",
  "rgb": {
    "r": 71,
    "g": 19,
    "b": 90
  },
  "hsl": {
    "h": 283.944,
    "s": 65.138,
    "l": 21.373
  },
  "oklch": {
    "l": 0.31013,
    "c": 0.12468,
    "h": 315.2
  },
  "luminance": 0.02544
}

Semantic roles & 50–950 ramp

primary
#47135A
secondary
#4F9237
accent
#E8406D
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#0A030B
muted
#7C787C

Preview Lab

Preview with #47135A

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

Preview Lab → · Contrast checker → · Palette generator →

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