#47288F#47288F

#47288F is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.2% C 0.159 H 290.6°. Best body text is #FFFFFF at 10.67:1 contrast (WCAG AA passes).

Color values

HEX#47288F
RGBrgb(71, 40, 143)
HSLhsl(258, 56%, 36%)
HSVhsv(258, 72%, 56%)
CMYKcmyk(50.3%, 72%, 0%, 43.9%)
CIE-LABlab(26.27, 39.74, -51.95)
CIE-LCHlch(26.27, 65.40, 307.41°)
OKLaboklab(38.19% 0.0562 -0.149)
OKLCHoklch(38.19% 0.159 290.6)
XYZxyz(8.3138, 4.8400, 26.4774)
Luminance0.0484 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47288F #708F28
analogous
#283C8F #47288F #7A288F
triadic
#47288F #8F4728 #288F47
tetradic
#47288F #8F283C #708F28 #288F7A
square
#47288F #8F283C #708F28 #288F7A
split-complementary
#47288F #8F7A28 #3C8F28
monochromatic
#180D2F #2F1B5F #47288F #5F35BF #825FD2

Accessibility & contrast

On white

10.67
#47288F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#47288F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #47288F
10.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47288F#FFFFFF#000000##FFFFFF
##47288F1.0010.671.9710.67
#FFFFFF10.671.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004092
Deuteranopia (green-blind)
#003C8D
Tritanopia (blue-blind)
#2F4358
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #47288f;
/* rgb */ color: rgb(71, 40, 143);
/* oklch */ color: oklch(38.2% 0.159 290.6);
Tailwind
colors: {
  custom: {
    50: '#8265b1',
    500: '#47288f',
    950: '#000000',
  },
}
SCSS
$custom: #47288f;
$custom-light: #8265b1;
$custom-dark: #000000;
JSON
{
  "hex": "#47288f",
  "rgb": {
    "r": 71,
    "g": 40,
    "b": 143
  },
  "hsl": {
    "h": 258.058,
    "s": 56.284,
    "l": 35.882
  },
  "oklch": {
    "l": 0.38192,
    "c": 0.15926,
    "h": 290.6
  },
  "luminance": 0.0484
}

Semantic roles & 50–950 ramp

primary
#47288F
secondary
#9CB85B
accent
#E048B2
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #47288F

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

Preview Lab → · Contrast checker → · Palette generator →

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