#47288D#47288D

#47288D is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.0% C 0.157 H 291.1°. Best body text is #FFFFFF at 10.74:1 contrast (WCAG AA passes).

Color values

HEX#47288D
RGBrgb(71, 40, 141)
HSLhsl(258, 56%, 35%)
HSVhsv(258, 72%, 55%)
CMYKcmyk(49.6%, 71.6%, 0%, 44.7%)
CIE-LABlab(26.10, 39.15, -51.00)
CIE-LCHlch(26.10, 64.29, 307.51°)
OKLaboklab(38.01% 0.0565 -0.1462)
OKLCHoklch(38.01% 0.157 291.1)
XYZxyz(8.1637, 4.7800, 25.6866)
Luminance0.0478 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47288D #6E8D28
analogous
#283B8D #47288D #79288D
triadic
#47288D #8D4728 #288D47
tetradic
#47288D #8D283B #6E8D28 #288D79
square
#47288D #8D283B #6E8D28 #288D79
split-complementary
#47288D #8D7928 #3B8D28
monochromatic
#170D2E #2F1A5D #47288D #5F36BD #815ED1

Accessibility & contrast

On white

10.74
#47288D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#47288D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #47288D
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47288D#FFFFFF#000000##FFFFFF
##47288D1.0010.741.9610.74
#FFFFFF10.741.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F90
Deuteranopia (green-blind)
#003C8B
Tritanopia (blue-blind)
#304257
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #47288d;
/* rgb */ color: rgb(71, 40, 141);
/* oklch */ color: oklch(38.0% 0.157 291.1);
Tailwind
colors: {
  custom: {
    50: '#8165af',
    500: '#47288d',
    950: '#000000',
  },
}
SCSS
$custom: #47288d;
$custom-light: #8165af;
$custom-dark: #000000;
JSON
{
  "hex": "#47288d",
  "rgb": {
    "r": 71,
    "g": 40,
    "b": 141
  },
  "hsl": {
    "h": 258.416,
    "s": 55.801,
    "l": 35.49
  },
  "oklch": {
    "l": 0.38013,
    "c": 0.15679,
    "h": 291.1
  },
  "luminance": 0.0478
}

Semantic roles & 50–950 ramp

primary
#47288D
secondary
#9AB75A
accent
#DF49B1
background
#F8F6FA
surface
#EFEBF5
border
#CAC6CF
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #47288D

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

Preview Lab → · Contrast checker → · Palette generator →

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