#471D86#471D86

#471D86 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 36.0% C 0.161 H 295.1°. Best body text is #FFFFFF at 11.74:1 contrast (WCAG AA passes).

Color values

HEX#471D86
RGBrgb(71, 29, 134)
HSLhsl(264, 64%, 32%)
HSVhsv(264, 78%, 53%)
CMYKcmyk(47%, 78.4%, 0%, 47.5%)
CIE-LABlab(23.47, 42.79, -50.93)
CIE-LCHlch(23.47, 66.52, 310.04°)
OKLaboklab(35.96% 0.0685 -0.146)
OKLCHoklch(35.96% 0.161 295.1)
XYZxyz(7.3398, 3.9394, 22.9233)
Luminance0.0394 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471D86 #5C861D
analogous
#1D2886 #471D86 #7C1D86
triadic
#471D86 #86471D #1D8647
tetradic
#471D86 #861D28 #5C861D #1D867C
square
#471D86 #861D28 #5C861D #1D867C
split-complementary
#471D86 #867C1D #28861D
monochromatic
#120721 #2C1254 #471D86 #6228B8 #8046D7

Accessibility & contrast

On white

11.74
#471D86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #471D86
11.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471D86#FFFFFF#000000##FFFFFF
##471D861.0011.741.7911.74
#FFFFFF11.741.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.741.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #471d86;
/* rgb */ color: rgb(71, 29, 134);
/* oklch */ color: oklch(36.0% 0.161 295.1);
Tailwind
colors: {
  custom: {
    50: '#815eaa',
    500: '#471d86',
    950: '#000000',
  },
}
SCSS
$custom: #471d86;
$custom-light: #815eaa;
$custom-dark: #000000;
JSON
{
  "hex": "#471d86",
  "rgb": {
    "r": 71,
    "g": 29,
    "b": 134
  },
  "hsl": {
    "h": 264,
    "s": 64.417,
    "l": 31.961
  },
  "oklch": {
    "l": 0.3596,
    "c": 0.16123,
    "h": 295.1
  },
  "luminance": 0.0394
}

Semantic roles & 50–950 ramp

primary
#471D86
secondary
#8BB946
accent
#E740A5
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #471D86

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

Preview Lab → · Contrast checker → · Palette generator →

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