#471D8D#471D8D

#471D8D is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.6% C 0.169 H 293.1°. Best body text is #FFFFFF at 11.49:1 contrast (WCAG AA passes).

Color values

HEX#471D8D
RGBrgb(71, 29, 141)
HSLhsl(263, 66%, 33%)
HSVhsv(263, 79%, 55%)
CMYKcmyk(49.6%, 79.4%, 0%, 44.7%)
CIE-LABlab(24.13, 44.71, -54.21)
CIE-LCHlch(24.13, 70.27, 309.51°)
OKLaboklab(36.63% 0.0664 -0.1556)
OKLCHoklch(36.63% 0.169 293.1)
XYZxyz(7.8443, 4.1411, 25.5802)
Luminance0.0414 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471D8D #638D1D
analogous
#1D2B8D #471D8D #7F1D8D
triadic
#471D8D #8D471D #1D8D47
tetradic
#471D8D #8D1D2B #638D1D #1D8D7F
square
#471D8D #8D1D2B #638D1D #1D8D7F
split-complementary
#471D8D #8D7F1D #2B8D1D
monochromatic
#140827 #2D135A #471D8D #6127C0 #804BDA

Accessibility & contrast

On white

11.49
#471D8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#471D8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #471D8D
11.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471D8D#FFFFFF#000000##FFFFFF
##471D8D1.0011.491.8311.49
#FFFFFF11.491.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B90
Deuteranopia (green-blind)
#00378B
Tritanopia (blue-blind)
#313C54
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #471d8d;
/* rgb */ color: rgb(71, 29, 141);
/* oklch */ color: oklch(36.6% 0.169 293.1);
Tailwind
colors: {
  custom: {
    50: '#825eaf',
    500: '#471d8d',
    950: '#000000',
  },
}
SCSS
$custom: #471d8d;
$custom-light: #825eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#471d8d",
  "rgb": {
    "r": 71,
    "g": 29,
    "b": 141
  },
  "hsl": {
    "h": 262.5,
    "s": 65.882,
    "l": 33.333
  },
  "oklch": {
    "l": 0.36626,
    "c": 0.16917,
    "h": 293.1
  },
  "luminance": 0.04141
}

Semantic roles & 50–950 ramp

primary
#471D8D
secondary
#91BC4A
accent
#E93FA9
background
#F8F5FA
surface
#F0E9F5
border
#CBC5CF
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #471D8D

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

Preview Lab → · Contrast checker → · Palette generator →

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