#47145A#47145A

#47145A is a dark, vivid purple. Relative luminance 0.026; OKLCH L 31.1% C 0.123 H 315.1°. Best body text is #FFFFFF at 13.86:1 contrast (WCAG AA passes).

Color values

HEX#47145A
RGBrgb(71, 20, 90)
HSLhsl(284, 64%, 22%)
HSVhsv(284, 78%, 35%)
CMYKcmyk(21.1%, 77.8%, 0%, 64.7%)
CIE-LABlab(18.27, 35.73, -30.91)
CIE-LCHlch(18.27, 47.25, 319.14°)
OKLaboklab(31.12% 0.0874 -0.0871)
OKLCHoklch(31.12% 0.123 315.1)
XYZxyz(4.6939, 2.5783, 9.9213)
Luminance0.0258 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47145A #275A14
analogous
#24145A #47145A #5A144A
triadic
#47145A #5A4714 #145A47
tetradic
#47145A #5A2414 #275A14 #144A5A
square
#47145A #5A2414 #275A14 #144A5A
split-complementary
#47145A #4A5A14 #145A24
monochromatic
#140619 #1F0928 #47145A #6F1F8C #962ABE

Accessibility & contrast

On white

13.86
#47145A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #47145A
13.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47145A#FFFFFF#000000##FFFFFF
##47145A1.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)
#002A5C
Deuteranopia (green-blind)
#122E58
Tritanopia (blue-blind)
#452335
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #47145a;
/* rgb */ color: rgb(71, 20, 90);
/* oklch */ color: oklch(31.1% 0.123 315.1);
Tailwind
colors: {
  custom: {
    50: '#7d5789',
    500: '#47145a',
    950: '#000000',
  },
}
SCSS
$custom: #47145a;
$custom-light: #7d5789;
$custom-dark: #000000;
JSON
{
  "hex": "#47145a",
  "rgb": {
    "r": 71,
    "g": 20,
    "b": 90
  },
  "hsl": {
    "h": 283.714,
    "s": 63.636,
    "l": 21.569
  },
  "oklch": {
    "l": 0.31123,
    "c": 0.12339,
    "h": 315.1
  },
  "luminance": 0.02578
}

Semantic roles & 50–950 ramp

primary
#47145A
secondary
#509238
accent
#E7416E
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#0A030B
muted
#7C787C

Preview Lab

Preview with #47145A

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

Preview Lab → · Contrast checker → · Palette generator →

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