#471C86#471C86

#471C86 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.8% C 0.162 H 295.3°. Best body text is #FFFFFF at 11.81:1 contrast (WCAG AA passes).

Color values

HEX#471C86
RGBrgb(71, 28, 134)
HSLhsl(264, 65%, 32%)
HSVhsv(264, 79%, 53%)
CMYKcmyk(47%, 79.1%, 0%, 47.5%)
CIE-LABlab(23.31, 43.26, -51.19)
CIE-LCHlch(23.31, 67.02, 310.20°)
OKLaboklab(35.85% 0.0693 -0.1467)
OKLCHoklch(35.85% 0.162 295.3)
XYZxyz(7.3157, 3.8911, 22.9153)
Luminance0.0389 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471C86 #5B861C
analogous
#1C2686 #471C86 #7C1C86
triadic
#471C86 #86471C #1C8647
tetradic
#471C86 #861C26 #5B861C #1C867C
square
#471C86 #861C26 #5B861C #1C867C
split-complementary
#471C86 #867C1C #26861C
monochromatic
#110721 #2C1153 #471C86 #6227B9 #8044D8

Accessibility & contrast

On white

11.81
#471C86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #471C86
11.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471C86#FFFFFF#000000##FFFFFF
##471C861.0011.811.7811.81
#FFFFFF11.811.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003889
Deuteranopia (green-blind)
#003684
Tritanopia (blue-blind)
#353950
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #471c86;
/* rgb */ color: rgb(71, 28, 134);
/* oklch */ color: oklch(35.8% 0.162 295.3);
Tailwind
colors: {
  custom: {
    50: '#815eaa',
    500: '#471c86',
    950: '#000000',
  },
}
SCSS
$custom: #471c86;
$custom-light: #815eaa;
$custom-dark: #000000;
JSON
{
  "hex": "#471c86",
  "rgb": {
    "r": 71,
    "g": 28,
    "b": 134
  },
  "hsl": {
    "h": 264.34,
    "s": 65.432,
    "l": 31.765
  },
  "oklch": {
    "l": 0.35847,
    "c": 0.16228,
    "h": 295.3
  },
  "luminance": 0.03891
}

Semantic roles & 50–950 ramp

primary
#471C86
secondary
#8AB945
accent
#E83FA4
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B0410
muted
#7C797F

Preview Lab

Preview with #471C86

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

Preview Lab → · Contrast checker → · Palette generator →

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