#47289D#47289D

#47289D is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.5% C 0.176 H 287.5°. Best body text is #FFFFFF at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#47289D
RGBrgb(71, 40, 157)
HSLhsl(256, 59%, 39%)
HSVhsv(256, 75%, 62%)
CMYKcmyk(54.8%, 74.5%, 0%, 38.4%)
CIE-LABlab(27.55, 43.85, -58.46)
CIE-LCHlch(27.55, 73.08, 306.87°)
OKLaboklab(39.49% 0.053 -0.1681)
OKLCHoklch(39.49% 0.176 287.5)
XYZxyz(9.4413, 5.2910, 32.4155)
Luminance0.0529 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47289D #7E9D28
analogous
#28439D #47289D #81289D
triadic
#47289D #9D4728 #289D47
tetradic
#47289D #9D2843 #7E9D28 #289D81
square
#47289D #9D2843 #7E9D28 #289D81
split-complementary
#47289D #9D8128 #439D28
monochromatic
#1B0F3B #311C6C #47289D #5E36CC #8567D8

Accessibility & contrast

On white

10.20
#47289D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#47289D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #47289D
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47289D#FFFFFF#000000##FFFFFF
##47289D1.0010.202.0610.20
#FFFFFF10.201.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A0
Deuteranopia (green-blind)
#003E9B
Tritanopia (blue-blind)
#234860
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #47289d;
/* rgb */ color: rgb(71, 40, 157);
/* oklch */ color: oklch(39.5% 0.176 287.5);
Tailwind
colors: {
  custom: {
    50: '#8465bb',
    500: '#47289d',
    950: '#000000',
  },
}
SCSS
$custom: #47289d;
$custom-light: #8465bb;
$custom-dark: #000000;
JSON
{
  "hex": "#47289d",
  "rgb": {
    "r": 71,
    "g": 40,
    "b": 157
  },
  "hsl": {
    "h": 255.897,
    "s": 59.391,
    "l": 38.627
  },
  "oklch": {
    "l": 0.39487,
    "c": 0.17629,
    "h": 287.5
  },
  "luminance": 0.05291
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #47289D

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

Preview Lab → · Contrast checker → · Palette generator →

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