#471D8E#471D8E

#471D8E is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.7% C 0.170 H 292.8°. Best body text is #FFFFFF at 11.45:1 contrast (WCAG AA passes).

Color values

HEX#471D8E
RGBrgb(71, 29, 142)
HSLhsl(262, 66%, 34%)
HSVhsv(262, 80%, 56%)
CMYKcmyk(50%, 79.6%, 0%, 44.3%)
CIE-LABlab(24.23, 44.98, -54.68)
CIE-LCHlch(24.23, 70.80, 309.44°)
OKLaboklab(36.72% 0.0661 -0.157)
OKLCHoklch(36.72% 0.17 292.8)
XYZxyz(7.9190, 4.1710, 25.9738)
Luminance0.0417 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471D8E #648E1D
analogous
#1D2B8E #471D8E #7F1D8E
triadic
#471D8E #8E471D #1D8E47
tetradic
#471D8E #8E1D2B #648E1D #1D8E7F
square
#471D8E #8E1D2B #648E1D #1D8E7F
split-complementary
#471D8E #8E7F1D #2B8E1D
monochromatic
#140828 #2E135B #471D8E #6027C1 #804BDA

Accessibility & contrast

On white

11.45
#471D8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #471D8E
11.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471D8E#FFFFFF#000000##FFFFFF
##471D8E1.0011.451.8311.45
#FFFFFF11.451.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B91
Deuteranopia (green-blind)
#00378C
Tritanopia (blue-blind)
#303D55
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #471d8e;
/* rgb */ color: rgb(71, 29, 142);
/* oklch */ color: oklch(36.7% 0.170 292.8);
Tailwind
colors: {
  custom: {
    50: '#825eb0',
    500: '#471d8e',
    950: '#000000',
  },
}
SCSS
$custom: #471d8e;
$custom-light: #825eb0;
$custom-dark: #000000;
JSON
{
  "hex": "#471d8e",
  "rgb": {
    "r": 71,
    "g": 29,
    "b": 142
  },
  "hsl": {
    "h": 262.301,
    "s": 66.082,
    "l": 33.529
  },
  "oklch": {
    "l": 0.36723,
    "c": 0.1703,
    "h": 292.8
  },
  "luminance": 0.04171
}

Semantic roles & 50–950 ramp

primary
#471D8E
secondary
#92BD4A
accent
#E93FAA
background
#F8F5FB
surface
#F0E9F6
border
#CBC5D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #471D8E

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

Preview Lab → · Contrast checker → · Palette generator →

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