#471D96#471D96

#471D96 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.5% C 0.179 H 290.8°. Best body text is #FFFFFF at 11.15:1 contrast (WCAG AA passes).

Color values

HEX#471D96
RGBrgb(71, 29, 150)
HSLhsl(261, 68%, 35%)
HSVhsv(261, 81%, 59%)
CMYKcmyk(52.7%, 80.7%, 0%, 41.2%)
CIE-LABlab(25.01, 47.17, -58.34)
CIE-LCHlch(25.01, 75.02, 308.96°)
OKLaboklab(37.51% 0.0635 -0.1677)
OKLCHoklch(37.51% 0.179 290.8)
XYZxyz(8.5413, 4.4200, 29.2513)
Luminance0.0442 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471D96 #6C961D
analogous
#1D3096 #471D96 #831D96
triadic
#471D96 #96471D #1D9647
tetradic
#471D96 #961D30 #6C961D #1D9683
square
#471D96 #961D30 #6C961D #1D9683
split-complementary
#471D96 #96831D #30961D
monochromatic
#16092F #2F1363 #471D96 #5F27C9 #8150DD

Accessibility & contrast

On white

11.15
#471D96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#471D96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #471D96
11.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471D96#FFFFFF#000000##FFFFFF
##471D961.0011.151.8811.15
#FFFFFF11.151.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D99
Deuteranopia (green-blind)
#003994
Tritanopia (blue-blind)
#2A405A
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #471d96;
/* rgb */ color: rgb(71, 29, 150);
/* oklch */ color: oklch(37.5% 0.179 290.8);
Tailwind
colors: {
  custom: {
    50: '#835fb6',
    500: '#471d96',
    950: '#000000',
  },
}
SCSS
$custom: #471d96;
$custom-light: #835fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#471d96",
  "rgb": {
    "r": 71,
    "g": 29,
    "b": 150
  },
  "hsl": {
    "h": 260.826,
    "s": 67.598,
    "l": 35.098
  },
  "oklch": {
    "l": 0.37507,
    "c": 0.1793,
    "h": 290.8
  },
  "luminance": 0.0442
}

Semantic roles & 50–950 ramp

primary
#471D96
secondary
#99C04F
accent
#EA3DAE
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #471D96

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

Preview Lab → · Contrast checker → · Palette generator →

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