#47278D#47278D

#47278D is a dark, vivid violet. Relative luminance 0.047; OKLCH L 37.9% C 0.158 H 291.3°. Best body text is #FFFFFF at 10.81:1 contrast (WCAG AA passes).

Color values

HEX#47278D
RGBrgb(71, 39, 141)
HSLhsl(259, 57%, 35%)
HSVhsv(259, 72%, 55%)
CMYKcmyk(49.6%, 72.3%, 0%, 44.7%)
CIE-LABlab(25.90, 39.69, -51.32)
CIE-LCHlch(25.90, 64.88, 307.72°)
OKLaboklab(37.87% 0.0575 -0.1472)
OKLCHoklch(37.87% 0.158 291.3)
XYZxyz(8.1304, 4.7134, 25.6755)
Luminance0.0471 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47278D #6D8D27
analogous
#273A8D #47278D #7A278D
triadic
#47278D #8D4727 #278D47
tetradic
#47278D #8D273A #6D8D27 #278D7A
square
#47278D #8D273A #6D8D27 #278D7A
split-complementary
#47278D #8D7A27 #3A8D27
monochromatic
#170C2D #2F1A5D #47278D #5F34BD #815CD2

Accessibility & contrast

On white

10.81
#47278D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#47278D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #47278D
10.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47278D#FFFFFF#000000##FFFFFF
##47278D1.0010.811.9410.81
#FFFFFF10.811.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F90
Deuteranopia (green-blind)
#003B8B
Tritanopia (blue-blind)
#304157
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #47278d;
/* rgb */ color: rgb(71, 39, 141);
/* oklch */ color: oklch(37.9% 0.158 291.3);
Tailwind
colors: {
  custom: {
    50: '#8164af',
    500: '#47278d',
    950: '#000000',
  },
}
SCSS
$custom: #47278d;
$custom-light: #8164af;
$custom-dark: #000000;
JSON
{
  "hex": "#47278d",
  "rgb": {
    "r": 71,
    "g": 39,
    "b": 141
  },
  "hsl": {
    "h": 258.824,
    "s": 56.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.37873,
    "c": 0.15801,
    "h": 291.3
  },
  "luminance": 0.04714
}

Semantic roles & 50–950 ramp

primary
#47278D
secondary
#99B759
accent
#E048B0
background
#F8F6FA
surface
#EFEBF5
border
#CAC6CF
text
#0B0510
muted
#7C7A7F

Preview Lab

Preview with #47278D

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

Preview Lab → · Contrast checker → · Palette generator →

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