#47289C#47289C

#47289C is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.4% C 0.175 H 287.7°. Best body text is #FFFFFF at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#47289C
RGBrgb(71, 40, 156)
HSLhsl(256, 59%, 38%)
HSVhsv(256, 74%, 61%)
CMYKcmyk(54.5%, 74.4%, 0%, 38.8%)
CIE-LABlab(27.45, 43.56, -58.01)
CIE-LCHlch(27.45, 72.54, 306.91°)
OKLaboklab(39.39% 0.0533 -0.1668)
OKLCHoklch(39.39% 0.175 287.7)
XYZxyz(9.3563, 5.2570, 31.9677)
Luminance0.0526 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47289C #7D9C28
analogous
#28439C #47289C #81289C
triadic
#47289C #9C4728 #289C47
tetradic
#47289C #9C2843 #7D9C28 #289C81
square
#47289C #9C2843 #7D9C28 #289C81
split-complementary
#47289C #9C8128 #439C28
monochromatic
#1B0F3B #311C6B #47289C #5E36CB #8567D8

Accessibility & contrast

On white

10.24
#47289C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#47289C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #47289C
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47289C#FFFFFF#000000##FFFFFF
##47289C1.0010.242.0510.24
#FFFFFF10.241.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439F
Deuteranopia (green-blind)
#003E9A
Tritanopia (blue-blind)
#244760
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #47289c;
/* rgb */ color: rgb(71, 40, 156);
/* oklch */ color: oklch(39.4% 0.175 287.7);
Tailwind
colors: {
  custom: {
    50: '#8465ba',
    500: '#47289c',
    950: '#000000',
  },
}
SCSS
$custom: #47289c;
$custom-light: #8465ba;
$custom-dark: #000000;
JSON
{
  "hex": "#47289c",
  "rgb": {
    "r": 71,
    "g": 40,
    "b": 156
  },
  "hsl": {
    "h": 256.034,
    "s": 59.184,
    "l": 38.431
  },
  "oklch": {
    "l": 0.39393,
    "c": 0.1751,
    "h": 287.7
  },
  "luminance": 0.05257
}

Semantic roles & 50–950 ramp

primary
#47289C
secondary
#A5BE62
accent
#E245B8
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #47289C

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

Preview Lab → · Contrast checker → · Palette generator →

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