#471978#471978

#471978 is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.2% C 0.150 H 300.5°. Best body text is #FFFFFF at 12.51:1 contrast (WCAG AA passes).

Color values

HEX#471978
RGBrgb(71, 25, 120)
HSLhsl(269, 66%, 28%)
HSVhsv(269, 79%, 47%)
CMYKcmyk(40.8%, 79.2%, 0%, 52.9%)
CIE-LABlab(21.55, 40.89, -45.21)
CIE-LCHlch(21.55, 60.96, 312.13°)
OKLaboklab(34.22% 0.076 -0.1291)
OKLCHoklch(34.22% 0.15 300.5)
XYZxyz(6.3355, 3.3909, 18.0864)
Luminance0.0339 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471978 #4A7819
analogous
#191A78 #471978 #761978
triadic
#471978 #784719 #197847
tetradic
#471978 #78191A #4A7819 #197876
square
#471978 #78191A #4A7819 #197876
split-complementary
#471978 #787619 #1A7819
monochromatic
#0F0519 #290E45 #471978 #6524AB #8336D5

Accessibility & contrast

On white

12.51
#471978 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#471978 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #471978
12.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471978#FFFFFF#000000##FFFFFF
##4719781.0012.511.6812.51
#FFFFFF12.511.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00337B
Deuteranopia (green-blind)
#003376
Tritanopia (blue-blind)
#3C3248
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #471978;
/* rgb */ color: rgb(71, 25, 120);
/* oklch */ color: oklch(34.2% 0.150 300.5);
Tailwind
colors: {
  custom: {
    50: '#805ba0',
    500: '#471978',
    950: '#000000',
  },
}
SCSS
$custom: #471978;
$custom-light: #805ba0;
$custom-dark: #000000;
JSON
{
  "hex": "#471978",
  "rgb": {
    "r": 71,
    "g": 25,
    "b": 120
  },
  "hsl": {
    "h": 269.053,
    "s": 65.517,
    "l": 28.431
  },
  "oklch": {
    "l": 0.34217,
    "c": 0.14982,
    "h": 300.5
  },
  "luminance": 0.03391
}

Semantic roles & 50–950 ramp

primary
#471978
secondary
#78AD40
accent
#E83F97
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040F
muted
#7C797E

Preview Lab

Preview with #471978

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

Preview Lab → · Contrast checker → · Palette generator →

#471978 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva