#471F8F#471F8F

#471F8F is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.0% C 0.169 H 292.3°. Best body text is #FFFFFF at 11.29:1 contrast (WCAG AA passes).

Color values

HEX#471F8F
RGBrgb(71, 31, 143)
HSLhsl(261, 64%, 34%)
HSVhsv(261, 78%, 56%)
CMYKcmyk(50.3%, 78.3%, 0%, 43.9%)
CIE-LABlab(24.65, 44.33, -54.61)
CIE-LCHlch(24.65, 70.34, 309.07°)
OKLaboklab(37.04% 0.0642 -0.1568)
OKLCHoklch(37.04% 0.169 292.3)
XYZxyz(8.0451, 4.3024, 26.3878)
Luminance0.0430 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471F8F #678F1F
analogous
#1F2F8F #471F8F #7F1F8F
triadic
#471F8F #8F471F #1F8F47
tetradic
#471F8F #8F1F2F #678F1F #1F8F7F
square
#471F8F #8F1F2F #678F1F #1F8F7F
split-complementary
#471F8F #8F7F1F #2F8F1F
monochromatic
#15092A #2E145D #471F8F #602AC1 #814FD9

Accessibility & contrast

On white

11.29
#471F8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#471F8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #471F8F
11.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471F8F#FFFFFF#000000##FFFFFF
##471F8F1.0011.291.8611.29
#FFFFFF11.291.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C92
Deuteranopia (green-blind)
#00388D
Tritanopia (blue-blind)
#2F3E56
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #471f8f;
/* rgb */ color: rgb(71, 31, 143);
/* oklch */ color: oklch(37.0% 0.169 292.3);
Tailwind
colors: {
  custom: {
    50: '#8260b1',
    500: '#471f8f',
    950: '#000000',
  },
}
SCSS
$custom: #471f8f;
$custom-light: #8260b1;
$custom-dark: #000000;
JSON
{
  "hex": "#471f8f",
  "rgb": {
    "r": 71,
    "g": 31,
    "b": 143
  },
  "hsl": {
    "h": 261.429,
    "s": 64.368,
    "l": 34.118
  },
  "oklch": {
    "l": 0.37044,
    "c": 0.16942,
    "h": 292.3
  },
  "luminance": 0.04303
}

Semantic roles & 50–950 ramp

primary
#471F8F
secondary
#95BC4E
accent
#E740AC
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #471F8F

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

Preview Lab → · Contrast checker → · Palette generator →

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