#471F82#471F82

#471F82 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.8% C 0.154 H 296.0°. Best body text is #FFFFFF at 11.76:1 contrast (WCAG AA passes).

Color values

HEX#471F82
RGBrgb(71, 31, 130)
HSLhsl(264, 61%, 32%)
HSVhsv(264, 76%, 51%)
CMYKcmyk(45.4%, 76.2%, 0%, 49%)
CIE-LABlab(23.44, 40.73, -48.46)
CIE-LCHlch(23.44, 63.30, 310.05°)
OKLaboklab(35.83% 0.0677 -0.1387)
OKLCHoklch(35.83% 0.154 296)
XYZxyz(7.1167, 3.9311, 21.4986)
Luminance0.0393 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471F82 #5A821F
analogous
#1F2982 #471F82 #791F82
triadic
#471F82 #82471F #1F8247
tetradic
#471F82 #821F29 #5A821F #1F8279
square
#471F82 #821F29 #5A821F #1F8279
split-complementary
#471F82 #82791F #29821F
monochromatic
#11071F #2C1351 #471F82 #622BB3 #8048D3

Accessibility & contrast

On white

11.76
#471F82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#471F82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #471F82
11.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471F82#FFFFFF#000000##FFFFFF
##471F821.0011.761.7911.76
#FFFFFF11.761.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003885
Deuteranopia (green-blind)
#003680
Tritanopia (blue-blind)
#37394F
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #471f82;
/* rgb */ color: rgb(71, 31, 130);
/* oklch */ color: oklch(35.8% 0.154 296.0);
Tailwind
colors: {
  custom: {
    50: '#805fa7',
    500: '#471f82',
    950: '#000000',
  },
}
SCSS
$custom: #471f82;
$custom-light: #805fa7;
$custom-dark: #000000;
JSON
{
  "hex": "#471f82",
  "rgb": {
    "r": 71,
    "g": 31,
    "b": 130
  },
  "hsl": {
    "h": 264.242,
    "s": 61.491,
    "l": 31.569
  },
  "oklch": {
    "l": 0.35828,
    "c": 0.15437,
    "h": 296
  },
  "luminance": 0.03931
}

Semantic roles & 50–950 ramp

primary
#471F82
secondary
#89B548
accent
#E543A3
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #471F82

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

Preview Lab → · Contrast checker → · Palette generator →

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