#471E88#471E88

#471E88 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.3% C 0.162 H 294.4°. Best body text is #FFFFFF at 11.61:1 contrast (WCAG AA passes).

Color values

HEX#471E88
RGBrgb(71, 30, 136)
HSLhsl(263, 64%, 33%)
HSVhsv(263, 78%, 53%)
CMYKcmyk(47.8%, 77.9%, 0%, 46.7%)
CIE-LABlab(23.82, 42.87, -51.60)
CIE-LCHlch(23.82, 67.09, 309.72°)
OKLaboklab(36.26% 0.067 -0.148)
OKLCHoklch(36.26% 0.162 294.4)
XYZxyz(7.5055, 4.0455, 23.6732)
Luminance0.0405 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471E88 #5F881E
analogous
#1E2A88 #471E88 #7C1E88
triadic
#471E88 #88471E #1E8847
tetradic
#471E88 #881E2A #5F881E #1E887C
square
#471E88 #881E2A #5F881E #1E887C
split-complementary
#471E88 #887C1E #2A881E
monochromatic
#130824 #2D1356 #471E88 #6129BA #8049D7

Accessibility & contrast

On white

11.61
#471E88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #471E88
11.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471E88#FFFFFF#000000##FFFFFF
##471E881.0011.611.8111.61
#FFFFFF11.611.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A8B
Deuteranopia (green-blind)
#003786
Tritanopia (blue-blind)
#343B52
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #471e88;
/* rgb */ color: rgb(71, 30, 136);
/* oklch */ color: oklch(36.3% 0.162 294.4);
Tailwind
colors: {
  custom: {
    50: '#815fac',
    500: '#471e88',
    950: '#000000',
  },
}
SCSS
$custom: #471e88;
$custom-light: #815fac;
$custom-dark: #000000;
JSON
{
  "hex": "#471e88",
  "rgb": {
    "r": 71,
    "g": 30,
    "b": 136
  },
  "hsl": {
    "h": 263.208,
    "s": 63.855,
    "l": 32.549
  },
  "oklch": {
    "l": 0.36264,
    "c": 0.16244,
    "h": 294.4
  },
  "luminance": 0.04046
}

Semantic roles & 50–950 ramp

primary
#471E88
secondary
#8EB949
accent
#E741A7
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #471E88

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

Preview Lab → · Contrast checker → · Palette generator →

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