#471A79#471A79

#471A79 is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.4% C 0.150 H 299.9°. Best body text is #FFFFFF at 12.41:1 contrast (WCAG AA passes).

Color values

HEX#471A79
RGBrgb(71, 26, 121)
HSLhsl(268, 65%, 29%)
HSVhsv(268, 79%, 47%)
CMYKcmyk(41.3%, 78.5%, 0%, 52.5%)
CIE-LABlab(21.79, 40.70, -45.44)
CIE-LCHlch(21.79, 61.00, 311.85°)
OKLaboklab(34.42% 0.0748 -0.1298)
OKLCHoklch(34.42% 0.15 299.9)
XYZxyz(6.4183, 3.4588, 18.4149)
Luminance0.0346 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471A79 #4C791A
analogous
#1A1D79 #471A79 #771A79
triadic
#471A79 #79471A #1A7947
tetradic
#471A79 #791A1D #4C791A #1A7977
square
#471A79 #791A1D #4C791A #1A7977
split-complementary
#471A79 #79771A #1D791A
monochromatic
#0F0519 #290F47 #471A79 #6525AB #8339D4

Accessibility & contrast

On white

12.41
#471A79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #471A79
12.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471A79#FFFFFF#000000##FFFFFF
##471A791.0012.411.6912.41
#FFFFFF12.411.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00347C
Deuteranopia (green-blind)
#003377
Tritanopia (blue-blind)
#3B3348
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #471a79;
/* rgb */ color: rgb(71, 26, 121);
/* oklch */ color: oklch(34.4% 0.150 299.9);
Tailwind
colors: {
  custom: {
    50: '#805ca1',
    500: '#471a79',
    950: '#000000',
  },
}
SCSS
$custom: #471a79;
$custom-light: #805ca1;
$custom-dark: #000000;
JSON
{
  "hex": "#471a79",
  "rgb": {
    "r": 71,
    "g": 26,
    "b": 121
  },
  "hsl": {
    "h": 268.421,
    "s": 64.626,
    "l": 28.824
  },
  "oklch": {
    "l": 0.34419,
    "c": 0.14982,
    "h": 299.9
  },
  "luminance": 0.03459
}

Semantic roles & 50–950 ramp

primary
#471A79
secondary
#7AAD41
accent
#E84098
background
#F8F5FA
surface
#EFE9F3
border
#CAC5CD
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #471A79

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

Preview Lab → · Contrast checker → · Palette generator →

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