#47278A#47278A

#47278A is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.6% C 0.154 H 292.1°. Best body text is #FFFFFF at 10.91:1 contrast (WCAG AA passes).

Color values

HEX#47278A
RGBrgb(71, 39, 138)
HSLhsl(259, 56%, 35%)
HSVhsv(259, 72%, 54%)
CMYKcmyk(48.6%, 71.7%, 0%, 45.9%)
CIE-LABlab(25.64, 38.82, -49.88)
CIE-LCHlch(25.64, 63.21, 307.89°)
OKLaboklab(37.6% 0.0581 -0.143)
OKLCHoklch(37.6% 0.154 292.1)
XYZxyz(7.9102, 4.6253, 24.5158)
Luminance0.0463 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47278A #6A8A27
analogous
#27398A #47278A #79278A
triadic
#47278A #8A4727 #278A47
tetradic
#47278A #8A2739 #6A8A27 #278A79
square
#47278A #8A2739 #6A8A27 #278A79
split-complementary
#47278A #8A7927 #398A27
monochromatic
#160C2B #2E1A5A #47278A #6034BA #815BD1

Accessibility & contrast

On white

10.91
#47278A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#47278A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #47278A
10.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47278A#FFFFFF#000000##FFFFFF
##47278A1.0010.911.9310.91
#FFFFFF10.911.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8D
Deuteranopia (green-blind)
#003B88
Tritanopia (blue-blind)
#324055
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #47278a;
/* rgb */ color: rgb(71, 39, 138);
/* oklch */ color: oklch(37.6% 0.154 292.1);
Tailwind
colors: {
  custom: {
    50: '#8164ad',
    500: '#47278a',
    950: '#000000',
  },
}
SCSS
$custom: #47278a;
$custom-light: #8164ad;
$custom-dark: #000000;
JSON
{
  "hex": "#47278a",
  "rgb": {
    "r": 71,
    "g": 39,
    "b": 138
  },
  "hsl": {
    "h": 259.394,
    "s": 55.932,
    "l": 34.706
  },
  "oklch": {
    "l": 0.37605,
    "c": 0.15432,
    "h": 292.1
  },
  "luminance": 0.04626
}

Semantic roles & 50–950 ramp

primary
#47278A
secondary
#97B657
accent
#DF49AF
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0510
muted
#7C7A7F

Preview Lab

Preview with #47278A

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

Preview Lab → · Contrast checker → · Palette generator →

#47278A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva