#47289E#47289E

#47289E is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.6% C 0.177 H 287.3°. Best body text is #FFFFFF at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#47289E
RGBrgb(71, 40, 158)
HSLhsl(256, 60%, 39%)
HSVhsv(256, 75%, 62%)
CMYKcmyk(55.1%, 74.7%, 0%, 38%)
CIE-LABlab(27.64, 44.15, -58.92)
CIE-LCHlch(27.64, 73.62, 306.85°)
OKLaboklab(39.58% 0.0528 -0.1695)
OKLCHoklch(39.58% 0.178 287.3)
XYZxyz(9.5270, 5.3253, 32.8670)
Luminance0.0533 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47289E #7F9E28
analogous
#28449E #47289E #82289E
triadic
#47289E #9E4728 #289E47
tetradic
#47289E #9E2844 #7F9E28 #289E82
square
#47289E #9E2844 #7F9E28 #289E82
split-complementary
#47289E #9E8228 #449E28
monochromatic
#1B0F3C #311C6D #47289E #5E37CC #8568D9

Accessibility & contrast

On white

10.17
#47289E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#47289E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #47289E
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47289E#FFFFFF#000000##FFFFFF
##47289E1.0010.172.0710.17
#FFFFFF10.171.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A1
Deuteranopia (green-blind)
#003E9C
Tritanopia (blue-blind)
#224861
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #47289e;
/* rgb */ color: rgb(71, 40, 158);
/* oklch */ color: oklch(39.6% 0.177 287.3);
Tailwind
colors: {
  custom: {
    50: '#8465bc',
    500: '#47289e',
    950: '#000000',
  },
}
SCSS
$custom: #47289e;
$custom-light: #8465bc;
$custom-dark: #000000;
JSON
{
  "hex": "#47289e",
  "rgb": {
    "r": 71,
    "g": 40,
    "b": 158
  },
  "hsl": {
    "h": 255.763,
    "s": 59.596,
    "l": 38.824
  },
  "oklch": {
    "l": 0.39582,
    "c": 0.1775,
    "h": 287.3
  },
  "luminance": 0.05326
}

Semantic roles & 50–950 ramp

primary
#47289E
secondary
#A7BF63
accent
#E345B9
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #47289E

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

Preview Lab → · Contrast checker → · Palette generator →

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