#471D87#471D87

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

Color values

HEX#471D87
RGBrgb(71, 29, 135)
HSLhsl(264, 65%, 32%)
HSVhsv(264, 79%, 53%)
CMYKcmyk(47.4%, 78.5%, 0%, 47.1%)
CIE-LABlab(23.56, 43.06, -51.40)
CIE-LCHlch(23.56, 67.06, 309.96°)
OKLaboklab(36.05% 0.0682 -0.1474)
OKLCHoklch(36.05% 0.162 294.8)
XYZxyz(7.4099, 3.9674, 23.2923)
Luminance0.0397 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471D87 #5D871D
analogous
#1D2887 #471D87 #7C1D87
triadic
#471D87 #87471D #1D8747
tetradic
#471D87 #871D28 #5D871D #1D877C
square
#471D87 #871D28 #5D871D #1D877C
split-complementary
#471D87 #877C1D #28871D
monochromatic
#120722 #2D1255 #471D87 #6128B9 #8047D7

Accessibility & contrast

On white

11.71
#471D87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#471D87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #471D87
11.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471D87#FFFFFF#000000##FFFFFF
##471D871.0011.711.7911.71
#FFFFFF11.711.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.711.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: #471d87;
/* rgb */ color: rgb(71, 29, 135);
/* oklch */ color: oklch(36.1% 0.162 294.8);
Tailwind
colors: {
  custom: {
    50: '#815eab',
    500: '#471d87',
    950: '#000000',
  },
}
SCSS
$custom: #471d87;
$custom-light: #815eab;
$custom-dark: #000000;
JSON
{
  "hex": "#471d87",
  "rgb": {
    "r": 71,
    "g": 29,
    "b": 135
  },
  "hsl": {
    "h": 263.774,
    "s": 64.634,
    "l": 32.157
  },
  "oklch": {
    "l": 0.36054,
    "c": 0.16236,
    "h": 294.8
  },
  "luminance": 0.03968
}

Semantic roles & 50–950 ramp

primary
#471D87
secondary
#8CB946
accent
#E840A5
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #471D87

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

Preview Lab → · Contrast checker → · Palette generator →

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