#471D8B#471D8B

#471D8B is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.4% C 0.167 H 293.7°. Best body text is #FFFFFF at 11.56:1 contrast (WCAG AA passes).

Color values

HEX#471D8B
RGBrgb(71, 29, 139)
HSLhsl(263, 65%, 33%)
HSVhsv(263, 79%, 55%)
CMYKcmyk(48.9%, 79.1%, 0%, 45.5%)
CIE-LABlab(23.94, 44.16, -53.28)
CIE-LCHlch(23.94, 69.20, 309.65°)
OKLaboklab(36.43% 0.067 -0.1529)
OKLCHoklch(36.43% 0.167 293.7)
XYZxyz(7.6968, 4.0822, 24.8035)
Luminance0.0408 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471D8B #618B1D
analogous
#1D2A8B #471D8B #7E1D8B
triadic
#471D8B #8B471D #1D8B47
tetradic
#471D8B #8B1D2A #618B1D #1D8B7E
square
#471D8B #8B1D2A #618B1D #1D8B7E
split-complementary
#471D8B #8B7E1D #2A8B1D
monochromatic
#130826 #2D1258 #471D8B #6128BE #8049D9

Accessibility & contrast

On white

11.56
#471D8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#471D8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #471D8B
11.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471D8B#FFFFFF#000000##FFFFFF
##471D8B1.0011.561.8211.56
#FFFFFF11.561.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A8E
Deuteranopia (green-blind)
#003789
Tritanopia (blue-blind)
#323C53
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #471d8b;
/* rgb */ color: rgb(71, 29, 139);
/* oklch */ color: oklch(36.4% 0.167 293.7);
Tailwind
colors: {
  custom: {
    50: '#825eae',
    500: '#471d8b',
    950: '#000000',
  },
}
SCSS
$custom: #471d8b;
$custom-light: #825eae;
$custom-dark: #000000;
JSON
{
  "hex": "#471d8b",
  "rgb": {
    "r": 71,
    "g": 29,
    "b": 139
  },
  "hsl": {
    "h": 262.909,
    "s": 65.476,
    "l": 32.941
  },
  "oklch": {
    "l": 0.36434,
    "c": 0.16691,
    "h": 293.7
  },
  "luminance": 0.04082
}

Semantic roles & 50–950 ramp

primary
#471D8B
secondary
#8FBB49
accent
#E83FA8
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #471D8B

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

Preview Lab → · Contrast checker → · Palette generator →

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