#471578#471578

#471578 is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.8% C 0.154 H 301.1°. Best body text is #FFFFFF at 12.76:1 contrast (WCAG AA passes).

Color values

HEX#471578
RGBrgb(71, 21, 120)
HSLhsl(270, 70%, 28%)
HSVhsv(270, 83%, 47%)
CMYKcmyk(40.8%, 82.5%, 0%, 52.9%)
CIE-LABlab(20.95, 42.61, -46.18)
CIE-LCHlch(20.95, 62.84, 312.70°)
OKLaboklab(33.8% 0.0795 -0.132)
OKLCHoklch(33.8% 0.154 301.1)
XYZxyz(6.2560, 3.2319, 18.0599)
Luminance0.0323 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471578 #467815
analogous
#151578 #471578 #781577
triadic
#471578 #784715 #157847
tetradic
#471578 #781515 #467815 #157778
square
#471578 #781515 #467815 #157778
split-complementary
#471578 #777815 #157815
monochromatic
#0F051A #280C44 #471578 #661EAC #852DDA

Accessibility & contrast

On white

12.76
#471578 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#471578 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #471578
12.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471578#FFFFFF#000000##FFFFFF
##4715781.0012.761.6512.76
#FFFFFF12.761.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00327B
Deuteranopia (green-blind)
#003276
Tritanopia (blue-blind)
#3C3047
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #471578;
/* rgb */ color: rgb(71, 21, 120);
/* oklch */ color: oklch(33.8% 0.154 301.1);
Tailwind
colors: {
  custom: {
    50: '#8059a0',
    500: '#471578',
    950: '#000000',
  },
}
SCSS
$custom: #471578;
$custom-light: #8059a0;
$custom-dark: #000000;
JSON
{
  "hex": "#471578",
  "rgb": {
    "r": 71,
    "g": 21,
    "b": 120
  },
  "hsl": {
    "h": 270.303,
    "s": 70.213,
    "l": 27.647
  },
  "oklch": {
    "l": 0.338,
    "c": 0.15405,
    "h": 301.1
  },
  "luminance": 0.03232
}

Semantic roles & 50–950 ramp

primary
#471578
secondary
#74AE3B
accent
#ED3B93
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040F
muted
#7C797E

Preview Lab

Preview with #471578

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

Preview Lab → · Contrast checker → · Palette generator →

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