#471F8E#471F8E

#471F8E is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.9% C 0.168 H 292.5°. Best body text is #FFFFFF at 11.32:1 contrast (WCAG AA passes).

Color values

HEX#471F8E
RGBrgb(71, 31, 142)
HSLhsl(262, 64%, 34%)
HSVhsv(262, 78%, 56%)
CMYKcmyk(50%, 78.2%, 0%, 44.3%)
CIE-LABlab(24.55, 44.05, -54.15)
CIE-LCHlch(24.55, 69.80, 309.13°)
OKLaboklab(36.95% 0.0645 -0.1554)
OKLCHoklch(36.95% 0.168 292.5)
XYZxyz(7.9696, 4.2723, 25.9907)
Luminance0.0427 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471F8E #668E1F
analogous
#1F2E8E #471F8E #7F1F8E
triadic
#471F8E #8E471F #1F8E47
tetradic
#471F8E #8E1F2E #668E1F #1F8E7F
square
#471F8E #8E1F2E #668E1F #1F8E7F
split-complementary
#471F8E #8E7F1F #2E8E1F
monochromatic
#15092A #2E145C #471F8E #602AC0 #804FD9

Accessibility & contrast

On white

11.32
#471F8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#471F8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #471F8E
11.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471F8E#FFFFFF#000000##FFFFFF
##471F8E1.0011.321.8511.32
#FFFFFF11.321.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.321.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #471f8e;
/* rgb */ color: rgb(71, 31, 142);
/* oklch */ color: oklch(36.9% 0.168 292.5);
Tailwind
colors: {
  custom: {
    50: '#8260b0',
    500: '#471f8e',
    950: '#000000',
  },
}
SCSS
$custom: #471f8e;
$custom-light: #8260b0;
$custom-dark: #000000;
JSON
{
  "hex": "#471f8e",
  "rgb": {
    "r": 71,
    "g": 31,
    "b": 142
  },
  "hsl": {
    "h": 261.622,
    "s": 64.162,
    "l": 33.922
  },
  "oklch": {
    "l": 0.36948,
    "c": 0.16827,
    "h": 292.5
  },
  "luminance": 0.04273
}

Semantic roles & 50–950 ramp

primary
#471F8E
secondary
#94BB4D
accent
#E741AB
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #471F8E

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

Preview Lab → · Contrast checker → · Palette generator →

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