#471E86#471E86

#471E86 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.1% C 0.160 H 295.0°. Best body text is #FFFFFF at 11.68:1 contrast (WCAG AA passes).

Color values

HEX#471E86
RGBrgb(71, 30, 134)
HSLhsl(264, 63%, 32%)
HSVhsv(264, 78%, 53%)
CMYKcmyk(47%, 77.6%, 0%, 47.5%)
CIE-LABlab(23.64, 42.32, -50.66)
CIE-LCHlch(23.64, 66.01, 309.88°)
OKLaboklab(36.08% 0.0676 -0.1452)
OKLCHoklch(36.08% 0.16 295)
XYZxyz(7.3647, 3.9892, 22.9316)
Luminance0.0399 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471E86 #5D861E
analogous
#1E2986 #471E86 #7B1E86
triadic
#471E86 #86471E #1E8647
tetradic
#471E86 #861E29 #5D861E #1E867B
square
#471E86 #861E29 #5D861E #1E867B
split-complementary
#471E86 #867B1E #29861E
monochromatic
#120822 #2D1354 #471E86 #6129B8 #8048D6

Accessibility & contrast

On white

11.68
#471E86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#471E86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #471E86
11.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471E86#FFFFFF#000000##FFFFFF
##471E861.0011.681.8011.68
#FFFFFF11.681.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.681.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #471e86;
/* rgb */ color: rgb(71, 30, 134);
/* oklch */ color: oklch(36.1% 0.160 295.0);
Tailwind
colors: {
  custom: {
    50: '#815faa',
    500: '#471e86',
    950: '#000000',
  },
}
SCSS
$custom: #471e86;
$custom-light: #815faa;
$custom-dark: #000000;
JSON
{
  "hex": "#471e86",
  "rgb": {
    "r": 71,
    "g": 30,
    "b": 134
  },
  "hsl": {
    "h": 263.654,
    "s": 63.415,
    "l": 32.157
  },
  "oklch": {
    "l": 0.36076,
    "c": 0.16014,
    "h": 295
  },
  "luminance": 0.03989
}

Semantic roles & 50–950 ramp

primary
#471E86
secondary
#8CB847
accent
#E641A5
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #471E86

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

Preview Lab → · Contrast checker → · Palette generator →

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