#471F86#471F86

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

Color values

HEX#471F86
RGBrgb(71, 31, 134)
HSLhsl(263, 62%, 32%)
HSVhsv(263, 77%, 53%)
CMYKcmyk(47%, 76.9%, 0%, 47.5%)
CIE-LABlab(23.81, 41.84, -50.38)
CIE-LCHlch(23.81, 65.48, 309.71°)
OKLaboklab(36.2% 0.0667 -0.1444)
OKLCHoklch(36.2% 0.159 294.8)
XYZxyz(7.3904, 4.0406, 22.9402)
Luminance0.0404 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471F86 #5E861F
analogous
#1F2B86 #471F86 #7B1F86
triadic
#471F86 #86471F #1F8647
tetradic
#471F86 #861F2B #5E861F #1F867B
square
#471F86 #861F2B #5E861F #1F867B
split-complementary
#471F86 #867B1F #2B861F
monochromatic
#120823 #2D1454 #471F86 #612AB8 #804AD5

Accessibility & contrast

On white

11.61
#471F86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#471F86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #471F86
11.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471F86#FFFFFF#000000##FFFFFF
##471F861.0011.611.8111.61
#FFFFFF11.611.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A89
Deuteranopia (green-blind)
#003784
Tritanopia (blue-blind)
#353A51
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #471f86;
/* rgb */ color: rgb(71, 31, 134);
/* oklch */ color: oklch(36.2% 0.159 294.8);
Tailwind
colors: {
  custom: {
    50: '#815faa',
    500: '#471f86',
    950: '#000000',
  },
}
SCSS
$custom: #471f86;
$custom-light: #815faa;
$custom-dark: #000000;
JSON
{
  "hex": "#471f86",
  "rgb": {
    "r": 71,
    "g": 31,
    "b": 134
  },
  "hsl": {
    "h": 263.301,
    "s": 62.424,
    "l": 32.353
  },
  "oklch": {
    "l": 0.36196,
    "c": 0.15903,
    "h": 294.8
  },
  "luminance": 0.04041
}

Semantic roles & 50–950 ramp

primary
#471F86
secondary
#8DB849
accent
#E542A6
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #471F86

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

Preview Lab → · Contrast checker → · Palette generator →

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