#47288B#47288B

#47288B is a dark, vivid violet. Relative luminance 0.047; OKLCH L 37.8% C 0.154 H 291.7°. Best body text is #FFFFFF at 10.80:1 contrast (WCAG AA passes).

Color values

HEX#47288B
RGBrgb(71, 40, 139)
HSLhsl(259, 55%, 35%)
HSVhsv(259, 71%, 55%)
CMYKcmyk(48.9%, 71.2%, 0%, 45.5%)
CIE-LABlab(25.92, 38.56, -50.04)
CIE-LCHlch(25.92, 63.17, 307.62°)
OKLaboklab(37.84% 0.0569 -0.1434)
OKLCHoklch(37.84% 0.154 291.7)
XYZxyz(8.0162, 4.7210, 24.9100)
Luminance0.0472 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47288B #6C8B28
analogous
#283A8B #47288B #78288B
triadic
#47288B #8B4728 #288B47
tetradic
#47288B #8B283A #6C8B28 #288B78
square
#47288B #8B283A #6C8B28 #288B78
split-complementary
#47288B #8B7828 #3A8B28
monochromatic
#160D2C #2F1A5B #47288B #5F36BB #815DD0

Accessibility & contrast

On white

10.80
#47288B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#47288B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #47288B
10.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47288B#FFFFFF#000000##FFFFFF
##47288B1.0010.801.9410.80
#FFFFFF10.801.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8E
Deuteranopia (green-blind)
#003B89
Tritanopia (blue-blind)
#324156
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #47288b;
/* rgb */ color: rgb(71, 40, 139);
/* oklch */ color: oklch(37.8% 0.154 291.7);
Tailwind
colors: {
  custom: {
    50: '#8164ae',
    500: '#47288b',
    950: '#000000',
  },
}
SCSS
$custom: #47288b;
$custom-light: #8164ae;
$custom-dark: #000000;
JSON
{
  "hex": "#47288b",
  "rgb": {
    "r": 71,
    "g": 40,
    "b": 139
  },
  "hsl": {
    "h": 258.788,
    "s": 55.307,
    "l": 35.098
  },
  "oklch": {
    "l": 0.37835,
    "c": 0.15431,
    "h": 291.7
  },
  "luminance": 0.04721
}

Semantic roles & 50–950 ramp

primary
#47288B
secondary
#99B659
accent
#DF49B0
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #47288B

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

Preview Lab → · Contrast checker → · Palette generator →

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