#471C87#471C87

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

Color values

HEX#471C87
RGBrgb(71, 28, 135)
HSLhsl(264, 66%, 32%)
HSVhsv(264, 79%, 53%)
CMYKcmyk(47.4%, 79.3%, 0%, 47.1%)
CIE-LABlab(23.40, 43.53, -51.66)
CIE-LCHlch(23.40, 67.56, 310.11°)
OKLaboklab(35.94% 0.069 -0.1481)
OKLCHoklch(35.94% 0.163 295)
XYZxyz(7.3858, 3.9192, 23.2843)
Luminance0.0392 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471C87 #5C871C
analogous
#1C2787 #471C87 #7D1C87
triadic
#471C87 #87471C #1C8747
tetradic
#471C87 #871C27 #5C871C #1C877D
square
#471C87 #871C27 #5C871C #1C877D
split-complementary
#471C87 #877D1C #27871C
monochromatic
#120722 #2C1154 #471C87 #6227BA #8045D8

Accessibility & contrast

On white

11.77
#471C87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#471C87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #471C87
11.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471C87#FFFFFF#000000##FFFFFF
##471C871.0011.771.7811.77
#FFFFFF11.771.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.771.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #471c87;
/* rgb */ color: rgb(71, 28, 135);
/* oklch */ color: oklch(35.9% 0.163 295.0);
Tailwind
colors: {
  custom: {
    50: '#815eab',
    500: '#471c87',
    950: '#000000',
  },
}
SCSS
$custom: #471c87;
$custom-light: #815eab;
$custom-dark: #000000;
JSON
{
  "hex": "#471c87",
  "rgb": {
    "r": 71,
    "g": 28,
    "b": 135
  },
  "hsl": {
    "h": 264.112,
    "s": 65.644,
    "l": 31.961
  },
  "oklch": {
    "l": 0.35942,
    "c": 0.16341,
    "h": 295
  },
  "luminance": 0.03919
}

Semantic roles & 50–950 ramp

primary
#471C87
secondary
#8BBA45
accent
#E93FA5
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #471C87

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

Preview Lab → · Contrast checker → · Palette generator →

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