#471D84#471D84

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

Color values

HEX#471D84
RGBrgb(71, 29, 132)
HSLhsl(264, 64%, 32%)
HSVhsv(264, 78%, 52%)
CMYKcmyk(46.2%, 78%, 0%, 48.2%)
CIE-LABlab(23.28, 42.25, -49.97)
CIE-LCHlch(23.28, 65.44, 310.21°)
OKLaboklab(35.77% 0.069 -0.1432)
OKLCHoklch(35.77% 0.159 295.7)
XYZxyz(7.2016, 3.8841, 22.1956)
Luminance0.0388 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471D84 #5A841D
analogous
#1D2784 #471D84 #7B1D84
triadic
#471D84 #84471D #1D8447
tetradic
#471D84 #841D27 #5A841D #1D847B
square
#471D84 #841D27 #5A841D #1D847B
split-complementary
#471D84 #847B1D #27841D
monochromatic
#110720 #2C1252 #471D84 #6228B6 #8045D6

Accessibility & contrast

On white

11.82
#471D84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#471D84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #471D84
11.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471D84#FFFFFF#000000##FFFFFF
##471D841.0011.821.7811.82
#FFFFFF11.821.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003887
Deuteranopia (green-blind)
#003682
Tritanopia (blue-blind)
#36394F
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #471d84;
/* rgb */ color: rgb(71, 29, 132);
/* oklch */ color: oklch(35.8% 0.159 295.7);
Tailwind
colors: {
  custom: {
    50: '#815ea9',
    500: '#471d84',
    950: '#000000',
  },
}
SCSS
$custom: #471d84;
$custom-light: #815ea9;
$custom-dark: #000000;
JSON
{
  "hex": "#471d84",
  "rgb": {
    "r": 71,
    "g": 29,
    "b": 132
  },
  "hsl": {
    "h": 264.466,
    "s": 63.975,
    "l": 31.569
  },
  "oklch": {
    "l": 0.35773,
    "c": 0.15894,
    "h": 295.7
  },
  "luminance": 0.03884
}

Semantic roles & 50–950 ramp

primary
#471D84
secondary
#89B746
accent
#E741A3
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #471D84

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

Preview Lab → · Contrast checker → · Palette generator →

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