#47288C#47288C

#47288C is a dark, vivid violet. Relative luminance 0.048; OKLCH L 37.9% C 0.156 H 291.4°. Best body text is #FFFFFF at 10.77:1 contrast (WCAG AA passes).

Color values

HEX#47288C
RGBrgb(71, 40, 140)
HSLhsl(259, 56%, 35%)
HSVhsv(259, 71%, 55%)
CMYKcmyk(49.3%, 71.4%, 0%, 45.1%)
CIE-LABlab(26.01, 38.85, -50.52)
CIE-LCHlch(26.01, 63.73, 307.57°)
OKLaboklab(37.92% 0.0567 -0.1448)
OKLCHoklch(37.92% 0.156 291.4)
XYZxyz(8.0896, 4.7503, 25.2965)
Luminance0.0475 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47288C #6D8C28
analogous
#283B8C #47288C #79288C
triadic
#47288C #8C4728 #288C47
tetradic
#47288C #8C283B #6D8C28 #288C79
square
#47288C #8C283B #6D8C28 #288C79
split-complementary
#47288C #8C7928 #3B8C28
monochromatic
#170D2D #2F1A5C #47288C #5F36BC #815ED1

Accessibility & contrast

On white

10.77
#47288C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#47288C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #47288C
10.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47288C#FFFFFF#000000##FFFFFF
##47288C1.0010.771.9510.77
#FFFFFF10.771.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8F
Deuteranopia (green-blind)
#003B8A
Tritanopia (blue-blind)
#314157
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #47288c;
/* rgb */ color: rgb(71, 40, 140);
/* oklch */ color: oklch(37.9% 0.156 291.4);
Tailwind
colors: {
  custom: {
    50: '#8165ae',
    500: '#47288c',
    950: '#000000',
  },
}
SCSS
$custom: #47288c;
$custom-light: #8165ae;
$custom-dark: #000000;
JSON
{
  "hex": "#47288c",
  "rgb": {
    "r": 71,
    "g": 40,
    "b": 140
  },
  "hsl": {
    "h": 258.6,
    "s": 55.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.37924,
    "c": 0.15555,
    "h": 291.4
  },
  "luminance": 0.04751
}

Semantic roles & 50–950 ramp

primary
#47288C
secondary
#9AB65A
accent
#DF49B0
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #47288C

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

Preview Lab → · Contrast checker → · Palette generator →

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