#47145C#47145C

#47145C is a dark, vivid purple. Relative luminance 0.026; OKLCH L 31.3% C 0.125 H 314.0°. Best body text is #FFFFFF at 13.79:1 contrast (WCAG AA passes).

Color values

HEX#47145C
RGBrgb(71, 20, 92)
HSLhsl(283, 64%, 22%)
HSVhsv(283, 78%, 36%)
CMYKcmyk(22.8%, 78.3%, 0%, 63.9%)
CIE-LABlab(18.42, 36.19, -32.00)
CIE-LCHlch(18.42, 48.31, 318.51°)
OKLaboklab(31.28% 0.0871 -0.0903)
OKLCHoklch(31.28% 0.125 314)
XYZxyz(4.7801, 2.6128, 10.3757)
Luminance0.0261 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47145C #295C14
analogous
#23145C #47145C #5C144D
triadic
#47145C #5C4714 #145C47
tetradic
#47145C #5C2314 #295C14 #144D5C
square
#47145C #5C2314 #295C14 #144D5C
split-complementary
#47145C #4D5C14 #145C23
monochromatic
#130519 #20092A #47145C #6E1F8E #952AC1

Accessibility & contrast

On white

13.79
#47145C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #47145C
13.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47145C#FFFFFF#000000##FFFFFF
##47145C1.0013.791.5213.79
#FFFFFF13.791.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.791.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #47145c;
/* rgb */ color: rgb(71, 20, 92);
/* oklch */ color: oklch(31.3% 0.125 314.0);
Tailwind
colors: {
  custom: {
    50: '#7d578b',
    500: '#47145c',
    950: '#000000',
  },
}
SCSS
$custom: #47145c;
$custom-light: #7d578b;
$custom-dark: #000000;
JSON
{
  "hex": "#47145c",
  "rgb": {
    "r": 71,
    "g": 20,
    "b": 92
  },
  "hsl": {
    "h": 282.5,
    "s": 64.286,
    "l": 21.961
  },
  "oklch": {
    "l": 0.31279,
    "c": 0.12548,
    "h": 314
  },
  "luminance": 0.02613
}

Semantic roles & 50–950 ramp

primary
#47145C
secondary
#539438
accent
#E74171
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#0A030C
muted
#7C787D

Preview Lab

Preview with #47145C

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

Preview Lab → · Contrast checker → · Palette generator →

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