#471E87#471E87

#471E87 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.2% C 0.161 H 294.7°. Best body text is #FFFFFF at 11.64:1 contrast (WCAG AA passes).

Color values

HEX#471E87
RGBrgb(71, 30, 135)
HSLhsl(263, 64%, 32%)
HSVhsv(263, 78%, 53%)
CMYKcmyk(47.4%, 77.8%, 0%, 47.1%)
CIE-LABlab(23.73, 42.59, -51.13)
CIE-LCHlch(23.73, 66.55, 309.80°)
OKLaboklab(36.17% 0.0673 -0.1466)
OKLCHoklch(36.17% 0.161 294.7)
XYZxyz(7.4348, 4.0172, 23.3006)
Luminance0.0402 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471E87 #5E871E
analogous
#1E2987 #471E87 #7C1E87
triadic
#471E87 #87471E #1E8747
tetradic
#471E87 #871E29 #5E871E #1E877C
square
#471E87 #871E29 #5E871E #1E877C
split-complementary
#471E87 #877C1E #29871E
monochromatic
#120823 #2D1355 #471E87 #6129B9 #8049D7

Accessibility & contrast

On white

11.64
#471E87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #471E87
11.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471E87#FFFFFF#000000##FFFFFF
##471E871.0011.641.8011.64
#FFFFFF11.641.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00398A
Deuteranopia (green-blind)
#003785
Tritanopia (blue-blind)
#343A51
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #471e87;
/* rgb */ color: rgb(71, 30, 135);
/* oklch */ color: oklch(36.2% 0.161 294.7);
Tailwind
colors: {
  custom: {
    50: '#815fab',
    500: '#471e87',
    950: '#000000',
  },
}
SCSS
$custom: #471e87;
$custom-light: #815fab;
$custom-dark: #000000;
JSON
{
  "hex": "#471e87",
  "rgb": {
    "r": 71,
    "g": 30,
    "b": 135
  },
  "hsl": {
    "h": 263.429,
    "s": 63.636,
    "l": 32.353
  },
  "oklch": {
    "l": 0.3617,
    "c": 0.16129,
    "h": 294.7
  },
  "luminance": 0.04017
}

Semantic roles & 50–950 ramp

primary
#471E87
secondary
#8DB948
accent
#E741A6
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #471E87

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

Preview Lab → · Contrast checker → · Palette generator →

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