#47288E#47288E

#47288E is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.1% C 0.158 H 290.9°. Best body text is #FFFFFF at 10.70:1 contrast (WCAG AA passes).

Color values

HEX#47288E
RGBrgb(71, 40, 142)
HSLhsl(258, 56%, 36%)
HSVhsv(258, 72%, 56%)
CMYKcmyk(50%, 71.8%, 0%, 44.3%)
CIE-LABlab(26.19, 39.44, -51.47)
CIE-LCHlch(26.19, 64.85, 307.46°)
OKLaboklab(38.1% 0.0564 -0.1476)
OKLCHoklch(38.1% 0.158 290.9)
XYZxyz(8.2384, 4.8099, 26.0803)
Luminance0.0481 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47288E #6F8E28
analogous
#283C8E #47288E #7A288E
triadic
#47288E #8E4728 #288E47
tetradic
#47288E #8E283C #6F8E28 #288E7A
square
#47288E #8E283C #6F8E28 #288E7A
split-complementary
#47288E #8E7A28 #3C8E28
monochromatic
#170D2F #2F1B5E #47288E #5F35BE #825FD2

Accessibility & contrast

On white

10.70
#47288E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#47288E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #47288E
10.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47288E#FFFFFF#000000##FFFFFF
##47288E1.0010.701.9610.70
#FFFFFF10.701.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004091
Deuteranopia (green-blind)
#003C8C
Tritanopia (blue-blind)
#304258
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #47288e;
/* rgb */ color: rgb(71, 40, 142);
/* oklch */ color: oklch(38.1% 0.158 290.9);
Tailwind
colors: {
  custom: {
    50: '#8165b0',
    500: '#47288e',
    950: '#000000',
  },
}
SCSS
$custom: #47288e;
$custom-light: #8165b0;
$custom-dark: #000000;
JSON
{
  "hex": "#47288e",
  "rgb": {
    "r": 71,
    "g": 40,
    "b": 142
  },
  "hsl": {
    "h": 258.235,
    "s": 56.044,
    "l": 35.686
  },
  "oklch": {
    "l": 0.38103,
    "c": 0.15803,
    "h": 290.9
  },
  "luminance": 0.0481
}

Semantic roles & 50–950 ramp

primary
#47288E
secondary
#9BB75B
accent
#DF48B1
background
#F8F6FA
surface
#EFEBF5
border
#CAC6CF
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #47288E

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

Preview Lab → · Contrast checker → · Palette generator →

#47288E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva