#471E84#471E84

#471E84 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.9% C 0.158 H 295.6°. Best body text is #FFFFFF at 11.75:1 contrast (WCAG AA passes).

Color values

HEX#471E84
RGBrgb(71, 30, 132)
HSLhsl(264, 63%, 32%)
HSVhsv(264, 77%, 52%)
CMYKcmyk(46.2%, 77.3%, 0%, 48.2%)
CIE-LABlab(23.45, 41.77, -49.70)
CIE-LCHlch(23.45, 64.92, 310.04°)
OKLaboklab(35.89% 0.0681 -0.1424)
OKLCHoklch(35.89% 0.158 295.6)
XYZxyz(7.2265, 3.9339, 22.2039)
Luminance0.0393 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471E84 #5B841E
analogous
#1E2884 #471E84 #7A1E84
triadic
#471E84 #84471E #1E8447
tetradic
#471E84 #841E28 #5B841E #1E847A
square
#471E84 #841E28 #5B841E #1E847A
split-complementary
#471E84 #847A1E #28841E
monochromatic
#110720 #2C1352 #471E84 #6229B6 #8047D5

Accessibility & contrast

On white

11.75
#471E84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#471E84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #471E84
11.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471E84#FFFFFF#000000##FFFFFF
##471E841.0011.751.7911.75
#FFFFFF11.751.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003987
Deuteranopia (green-blind)
#003682
Tritanopia (blue-blind)
#363950
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #471e84;
/* rgb */ color: rgb(71, 30, 132);
/* oklch */ color: oklch(35.9% 0.158 295.6);
Tailwind
colors: {
  custom: {
    50: '#815ea9',
    500: '#471e84',
    950: '#000000',
  },
}
SCSS
$custom: #471e84;
$custom-light: #815ea9;
$custom-dark: #000000;
JSON
{
  "hex": "#471e84",
  "rgb": {
    "r": 71,
    "g": 30,
    "b": 132
  },
  "hsl": {
    "h": 264.118,
    "s": 62.963,
    "l": 31.765
  },
  "oklch": {
    "l": 0.35891,
    "c": 0.15784,
    "h": 295.6
  },
  "luminance": 0.03934
}

Semantic roles & 50–950 ramp

primary
#471E84
secondary
#8AB747
accent
#E642A4
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #471E84

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

Preview Lab → · Contrast checker → · Palette generator →

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