#471E8B#471E8B

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

Color values

HEX#471E8B
RGBrgb(71, 30, 139)
HSLhsl(263, 64%, 33%)
HSVhsv(263, 78%, 55%)
CMYKcmyk(48.9%, 78.4%, 0%, 45.5%)
CIE-LABlab(24.10, 43.69, -53.02)
CIE-LCHlch(24.10, 68.70, 309.49°)
OKLaboklab(36.55% 0.0662 -0.1521)
OKLCHoklch(36.55% 0.166 293.5)
XYZxyz(7.7217, 4.1320, 24.8118)
Luminance0.0413 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471E8B #628B1E
analogous
#1E2B8B #471E8B #7D1E8B
triadic
#471E8B #8B471E #1E8B47
tetradic
#471E8B #8B1E2B #628B1E #1E8B7D
square
#471E8B #8B1E2B #628B1E #1E8B7D
split-complementary
#471E8B #8B7D1E #2B8B1E
monochromatic
#140826 #2D1359 #471E8B #6129BD #804BD8

Accessibility & contrast

On white

11.50
#471E8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #471E8B
11.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471E8B#FFFFFF#000000##FFFFFF
##471E8B1.0011.501.8311.50
#FFFFFF11.501.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.501.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #471e8b;
/* rgb */ color: rgb(71, 30, 139);
/* oklch */ color: oklch(36.5% 0.166 293.5);
Tailwind
colors: {
  custom: {
    50: '#825fae',
    500: '#471e8b',
    950: '#000000',
  },
}
SCSS
$custom: #471e8b;
$custom-light: #825fae;
$custom-dark: #000000;
JSON
{
  "hex": "#471e8b",
  "rgb": {
    "r": 71,
    "g": 30,
    "b": 139
  },
  "hsl": {
    "h": 262.569,
    "s": 64.497,
    "l": 33.137
  },
  "oklch": {
    "l": 0.36547,
    "c": 0.16587,
    "h": 293.5
  },
  "luminance": 0.04132
}

Semantic roles & 50–950 ramp

primary
#471E8B
secondary
#90BB4A
accent
#E740A9
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #471E8B

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

Preview Lab → · Contrast checker → · Palette generator →

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