#471E8E#471E8E

#471E8E is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.8% C 0.169 H 292.7°. Best body text is #FFFFFF at 11.39:1 contrast (WCAG AA passes).

Color values

HEX#471E8E
RGBrgb(71, 30, 142)
HSLhsl(262, 65%, 34%)
HSVhsv(262, 79%, 56%)
CMYKcmyk(50%, 78.9%, 0%, 44.3%)
CIE-LABlab(24.39, 44.52, -54.42)
CIE-LCHlch(24.39, 70.31, 309.29°)
OKLaboklab(36.83% 0.0653 -0.1562)
OKLCHoklch(36.83% 0.169 292.7)
XYZxyz(7.9439, 4.2209, 25.9821)
Luminance0.0422 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471E8E #658E1E
analogous
#1E2D8E #471E8E #7F1E8E
triadic
#471E8E #8E471E #1E8E47
tetradic
#471E8E #8E1E2D #658E1E #1E8E7F
square
#471E8E #8E1E2D #658E1E #1E8E7F
split-complementary
#471E8E #8E7F1E #2D8E1E
monochromatic
#140929 #2E135B #471E8E #6029C1 #804DD9

Accessibility & contrast

On white

11.39
#471E8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#471E8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #471E8E
11.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471E8E#FFFFFF#000000##FFFFFF
##471E8E1.0011.391.8411.39
#FFFFFF11.391.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.391.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #471e8e;
/* rgb */ color: rgb(71, 30, 142);
/* oklch */ color: oklch(36.8% 0.169 292.7);
Tailwind
colors: {
  custom: {
    50: '#825fb0',
    500: '#471e8e',
    950: '#000000',
  },
}
SCSS
$custom: #471e8e;
$custom-light: #825fb0;
$custom-dark: #000000;
JSON
{
  "hex": "#471e8e",
  "rgb": {
    "r": 71,
    "g": 30,
    "b": 142
  },
  "hsl": {
    "h": 261.964,
    "s": 65.116,
    "l": 33.725
  },
  "oklch": {
    "l": 0.36834,
    "c": 0.16929,
    "h": 292.7
  },
  "luminance": 0.04221
}

Semantic roles & 50–950 ramp

primary
#471E8E
secondary
#93BC4C
accent
#E840AA
background
#F8F5FB
surface
#F0E9F6
border
#CBC5D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #471E8E

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

Preview Lab → · Contrast checker → · Palette generator →

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