#471E85#471E85

#471E85 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.0% C 0.159 H 295.3°. Best body text is #FFFFFF at 11.72:1 contrast (WCAG AA passes).

Color values

HEX#471E85
RGBrgb(71, 30, 133)
HSLhsl(264, 63%, 32%)
HSVhsv(264, 77%, 52%)
CMYKcmyk(46.6%, 77.4%, 0%, 47.8%)
CIE-LABlab(23.54, 42.04, -50.18)
CIE-LCHlch(23.54, 65.46, 309.96°)
OKLaboklab(35.98% 0.0679 -0.1438)
OKLCHoklch(35.98% 0.159 295.3)
XYZxyz(7.2953, 3.9614, 22.5660)
Luminance0.0396 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471E85 #5C851E
analogous
#1E2985 #471E85 #7A1E85
triadic
#471E85 #85471E #1E8547
tetradic
#471E85 #851E29 #5C851E #1E857A
square
#471E85 #851E29 #5C851E #1E857A
split-complementary
#471E85 #857A1E #29851E
monochromatic
#120721 #2C1353 #471E85 #6229B7 #8048D6

Accessibility & contrast

On white

11.72
#471E85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #471E85
11.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471E85#FFFFFF#000000##FFFFFF
##471E851.0011.721.7911.72
#FFFFFF11.721.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003988
Deuteranopia (green-blind)
#003683
Tritanopia (blue-blind)
#353A50
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #471e85;
/* rgb */ color: rgb(71, 30, 133);
/* oklch */ color: oklch(36.0% 0.159 295.3);
Tailwind
colors: {
  custom: {
    50: '#815ea9',
    500: '#471e85',
    950: '#000000',
  },
}
SCSS
$custom: #471e85;
$custom-light: #815ea9;
$custom-dark: #000000;
JSON
{
  "hex": "#471e85",
  "rgb": {
    "r": 71,
    "g": 30,
    "b": 133
  },
  "hsl": {
    "h": 263.883,
    "s": 63.19,
    "l": 31.961
  },
  "oklch": {
    "l": 0.35983,
    "c": 0.15899,
    "h": 295.3
  },
  "luminance": 0.03962
}

Semantic roles & 50–950 ramp

primary
#471E85
secondary
#8BB847
accent
#E642A5
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #471E85

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

Preview Lab → · Contrast checker → · Palette generator →

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