#47289A#47289A

#47289A is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.2% C 0.173 H 288.1°. Best body text is #FFFFFF at 10.30:1 contrast (WCAG AA passes).

Color values

HEX#47289A
RGBrgb(71, 40, 154)
HSLhsl(256, 59%, 38%)
HSVhsv(256, 74%, 60%)
CMYKcmyk(53.9%, 74%, 0%, 39.6%)
CIE-LABlab(27.27, 42.97, -57.09)
CIE-LCHlch(27.27, 71.45, 306.97°)
OKLaboklab(39.2% 0.0537 -0.1641)
OKLCHoklch(39.2% 0.173 288.1)
XYZxyz(9.1883, 5.1898, 31.0832)
Luminance0.0519 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47289A #7B9A28
analogous
#28429A #47289A #80289A
triadic
#47289A #9A4728 #289A47
tetradic
#47289A #9A2842 #7B9A28 #289A80
square
#47289A #9A2842 #7B9A28 #289A80
split-complementary
#47289A #9A8028 #429A28
monochromatic
#1A0F39 #311B69 #47289A #5D35CA #8465D7

Accessibility & contrast

On white

10.30
#47289A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#47289A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #47289A
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47289A#FFFFFF#000000##FFFFFF
##47289A1.0010.302.0410.30
#FFFFFF10.301.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439D
Deuteranopia (green-blind)
#003D98
Tritanopia (blue-blind)
#26475E
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #47289a;
/* rgb */ color: rgb(71, 40, 154);
/* oklch */ color: oklch(39.2% 0.173 288.1);
Tailwind
colors: {
  custom: {
    50: '#8365b9',
    500: '#47289a',
    950: '#000000',
  },
}
SCSS
$custom: #47289a;
$custom-light: #8365b9;
$custom-dark: #000000;
JSON
{
  "hex": "#47289a",
  "rgb": {
    "r": 71,
    "g": 40,
    "b": 154
  },
  "hsl": {
    "h": 256.316,
    "s": 58.763,
    "l": 38.039
  },
  "oklch": {
    "l": 0.39204,
    "c": 0.17268,
    "h": 288.1
  },
  "luminance": 0.0519
}

Semantic roles & 50–950 ramp

primary
#47289A
secondary
#A4BD61
accent
#E246B8
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #47289A

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

Preview Lab → · Contrast checker → · Palette generator →

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