#471D8A#471D8A

#471D8A is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.3% C 0.166 H 294.0°. Best body text is #FFFFFF at 11.60:1 contrast (WCAG AA passes).

Color values

HEX#471D8A
RGBrgb(71, 29, 138)
HSLhsl(263, 65%, 33%)
HSVhsv(263, 79%, 54%)
CMYKcmyk(48.6%, 79%, 0%, 45.9%)
CIE-LABlab(23.85, 43.88, -52.81)
CIE-LCHlch(23.85, 68.67, 309.72°)
OKLaboklab(36.34% 0.0673 -0.1515)
OKLCHoklch(36.34% 0.166 294)
XYZxyz(7.6241, 4.0531, 24.4204)
Luminance0.0405 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471D8A #608A1D
analogous
#1D2A8A #471D8A #7D1D8A
triadic
#471D8A #8A471D #1D8A47
tetradic
#471D8A #8A1D2A #608A1D #1D8A7D
square
#471D8A #8A1D2A #608A1D #1D8A7D
split-complementary
#471D8A #8A7D1D #2A8A1D
monochromatic
#130825 #2D1257 #471D8A #6128BD #8049D9

Accessibility & contrast

On white

11.60
#471D8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #471D8A
11.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471D8A#FFFFFF#000000##FFFFFF
##471D8A1.0011.601.8111.60
#FFFFFF11.601.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A8D
Deuteranopia (green-blind)
#003788
Tritanopia (blue-blind)
#333B53
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #471d8a;
/* rgb */ color: rgb(71, 29, 138);
/* oklch */ color: oklch(36.3% 0.166 294.0);
Tailwind
colors: {
  custom: {
    50: '#825ead',
    500: '#471d8a',
    950: '#000000',
  },
}
SCSS
$custom: #471d8a;
$custom-light: #825ead;
$custom-dark: #000000;
JSON
{
  "hex": "#471d8a",
  "rgb": {
    "r": 71,
    "g": 29,
    "b": 138
  },
  "hsl": {
    "h": 263.119,
    "s": 65.269,
    "l": 32.745
  },
  "oklch": {
    "l": 0.36339,
    "c": 0.16578,
    "h": 294
  },
  "luminance": 0.04053
}

Semantic roles & 50–950 ramp

primary
#471D8A
secondary
#8FBB48
accent
#E840A7
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #471D8A

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

Preview Lab → · Contrast checker → · Palette generator →

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