#47145F#47145F

#47145F is a dark, vivid purple. Relative luminance 0.027; OKLCH L 31.5% C 0.129 H 312.3°. Best body text is #FFFFFF at 13.70:1 contrast (WCAG AA passes).

Color values

HEX#47145F
RGBrgb(71, 20, 95)
HSLhsl(281, 65%, 23%)
HSVhsv(281, 79%, 37%)
CMYKcmyk(25.3%, 78.9%, 0%, 62.7%)
CIE-LABlab(18.65, 36.89, -33.62)
CIE-LCHlch(18.65, 49.92, 317.65°)
OKLaboklab(31.52% 0.0866 -0.0951)
OKLCHoklch(31.52% 0.129 312.3)
XYZxyz(4.9139, 2.6663, 11.0800)
Luminance0.0267 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47145F #2C5F14
analogous
#22145F #47145F #5F1451
triadic
#47145F #5F4714 #145F47
tetradic
#47145F #5F2214 #2C5F14 #14515F
square
#47145F #5F2214 #2C5F14 #14515F
split-complementary
#47145F #515F14 #145F22
monochromatic
#130519 #21092C #47145F #6D1F92 #9329C4

Accessibility & contrast

On white

13.70
#47145F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#47145F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #47145F
13.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47145F#FFFFFF#000000##FFFFFF
##47145F1.0013.701.5313.70
#FFFFFF13.701.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B61
Deuteranopia (green-blind)
#0A2E5D
Tritanopia (blue-blind)
#442538
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #47145f;
/* rgb */ color: rgb(71, 20, 95);
/* oklch */ color: oklch(31.5% 0.129 312.3);
Tailwind
colors: {
  custom: {
    50: '#7d578d',
    500: '#47145f',
    950: '#000000',
  },
}
SCSS
$custom: #47145f;
$custom-light: #7d578d;
$custom-dark: #000000;
JSON
{
  "hex": "#47145f",
  "rgb": {
    "r": 71,
    "g": 20,
    "b": 95
  },
  "hsl": {
    "h": 280.8,
    "s": 65.217,
    "l": 22.549
  },
  "oklch": {
    "l": 0.31519,
    "c": 0.12862,
    "h": 312.3
  },
  "luminance": 0.02666
}

Semantic roles & 50–950 ramp

primary
#47145F
secondary
#569738
accent
#E84076
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#0A030C
muted
#7C787D

Preview Lab

Preview with #47145F

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

Preview Lab → · Contrast checker → · Palette generator →

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