#471B84#471B84

#471B84 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.5% C 0.161 H 296.1°. Best body text is #FFFFFF at 11.95:1 contrast (WCAG AA passes).

Color values

HEX#471B84
RGBrgb(71, 27, 132)
HSLhsl(265, 66%, 31%)
HSVhsv(265, 80%, 52%)
CMYKcmyk(46.2%, 79.5%, 0%, 48.2%)
CIE-LABlab(22.96, 43.17, -50.50)
CIE-LCHlch(22.96, 66.44, 310.53°)
OKLaboklab(35.55% 0.0708 -0.1447)
OKLCHoklch(35.55% 0.161 296.1)
XYZxyz(7.1542, 3.7892, 22.1798)
Luminance0.0379 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471B84 #58841B
analogous
#1B2384 #471B84 #7B1B84
triadic
#471B84 #84471B #1B8447
tetradic
#471B84 #841B23 #58841B #1B847B
square
#471B84 #841B23 #58841B #1B847B
split-complementary
#471B84 #847B1B #23841B
monochromatic
#10061E #2C1151 #471B84 #6225B7 #8041D8

Accessibility & contrast

On white

11.95
#471B84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#471B84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #471B84
11.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471B84#FFFFFF#000000##FFFFFF
##471B841.0011.951.7611.95
#FFFFFF11.951.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003787
Deuteranopia (green-blind)
#003582
Tritanopia (blue-blind)
#36384F
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #471b84;
/* rgb */ color: rgb(71, 27, 132);
/* oklch */ color: oklch(35.5% 0.161 296.1);
Tailwind
colors: {
  custom: {
    50: '#815da9',
    500: '#471b84',
    950: '#000000',
  },
}
SCSS
$custom: #471b84;
$custom-light: #815da9;
$custom-dark: #000000;
JSON
{
  "hex": "#471b84",
  "rgb": {
    "r": 71,
    "g": 27,
    "b": 132
  },
  "hsl": {
    "h": 265.143,
    "s": 66.038,
    "l": 31.176
  },
  "oklch": {
    "l": 0.35548,
    "c": 0.16107,
    "h": 296.1
  },
  "luminance": 0.03789
}

Semantic roles & 50–950 ramp

primary
#471B84
secondary
#87B743
accent
#E93FA2
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B0410
muted
#7C797F

Preview Lab

Preview with #471B84

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

Preview Lab → · Contrast checker → · Palette generator →

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