#47289B#47289B

#47289B is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.3% C 0.174 H 287.9°. Best body text is #FFFFFF at 10.27:1 contrast (WCAG AA passes).

Color values

HEX#47289B
RGBrgb(71, 40, 155)
HSLhsl(256, 59%, 38%)
HSVhsv(256, 74%, 61%)
CMYKcmyk(54.2%, 74.2%, 0%, 39.2%)
CIE-LABlab(27.36, 43.27, -57.55)
CIE-LCHlch(27.36, 72.00, 306.94°)
OKLaboklab(39.3% 0.0535 -0.1655)
OKLCHoklch(39.3% 0.174 287.9)
XYZxyz(9.2720, 5.2233, 31.5236)
Luminance0.0522 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47289B #7C9B28
analogous
#28429B #47289B #80289B
triadic
#47289B #9B4728 #289B47
tetradic
#47289B #9B2842 #7C9B28 #289B80
square
#47289B #9B2842 #7C9B28 #289B80
split-complementary
#47289B #9B8028 #429B28
monochromatic
#1A0F3A #311B6A #47289B #5E35CB #8566D7

Accessibility & contrast

On white

10.27
#47289B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #47289B
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47289B#FFFFFF#000000##FFFFFF
##47289B1.0010.272.0410.27
#FFFFFF10.271.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439E
Deuteranopia (green-blind)
#003E99
Tritanopia (blue-blind)
#25475F
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #47289b;
/* rgb */ color: rgb(71, 40, 155);
/* oklch */ color: oklch(39.3% 0.174 287.9);
Tailwind
colors: {
  custom: {
    50: '#8365ba',
    500: '#47289b',
    950: '#000000',
  },
}
SCSS
$custom: #47289b;
$custom-light: #8365ba;
$custom-dark: #000000;
JSON
{
  "hex": "#47289b",
  "rgb": {
    "r": 71,
    "g": 40,
    "b": 155
  },
  "hsl": {
    "h": 256.174,
    "s": 58.974,
    "l": 38.235
  },
  "oklch": {
    "l": 0.39298,
    "c": 0.17388,
    "h": 287.9
  },
  "luminance": 0.05224
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #47289B

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

Preview Lab → · Contrast checker → · Palette generator →

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