#471A78#471A78

#471A78 is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.3% C 0.149 H 300.3°. Best body text is #FFFFFF at 12.45:1 contrast (WCAG AA passes).

Color values

HEX#471A78
RGBrgb(71, 26, 120)
HSLhsl(269, 64%, 29%)
HSVhsv(269, 78%, 47%)
CMYKcmyk(40.8%, 78.3%, 0%, 52.9%)
CIE-LABlab(21.71, 40.44, -44.95)
CIE-LCHlch(21.71, 60.46, 311.98°)
OKLaboklab(34.33% 0.075 -0.1284)
OKLCHoklch(34.33% 0.149 300.3)
XYZxyz(6.3572, 3.4344, 18.0936)
Luminance0.0343 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471A78 #4B781A
analogous
#1A1C78 #471A78 #761A78
triadic
#471A78 #78471A #1A7847
tetradic
#471A78 #781A1C #4B781A #1A7876
square
#471A78 #781A1C #4B781A #1A7876
split-complementary
#471A78 #78761A #1C781A
monochromatic
#0F0519 #290F46 #471A78 #6525AA #8338D4

Accessibility & contrast

On white

12.45
#471A78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#471A78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #471A78
12.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471A78#FFFFFF#000000##FFFFFF
##471A781.0012.451.6912.45
#FFFFFF12.451.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.451.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #471a78;
/* rgb */ color: rgb(71, 26, 120);
/* oklch */ color: oklch(34.3% 0.149 300.3);
Tailwind
colors: {
  custom: {
    50: '#7f5ca0',
    500: '#471a78',
    950: '#000000',
  },
}
SCSS
$custom: #471a78;
$custom-light: #7f5ca0;
$custom-dark: #000000;
JSON
{
  "hex": "#471a78",
  "rgb": {
    "r": 71,
    "g": 26,
    "b": 120
  },
  "hsl": {
    "h": 268.723,
    "s": 64.384,
    "l": 28.627
  },
  "oklch": {
    "l": 0.34329,
    "c": 0.14869,
    "h": 300.3
  },
  "luminance": 0.03434
}

Semantic roles & 50–950 ramp

primary
#471A78
secondary
#79AC41
accent
#E74097
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040F
muted
#7C797E

Preview Lab

Preview with #471A78

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

Preview Lab → · Contrast checker → · Palette generator →

#471A78 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva