#471F84#471F84

#471F84 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.0% C 0.157 H 295.4°. Best body text is #FFFFFF at 11.68:1 contrast (WCAG AA passes).

Color values

HEX#471F84
RGBrgb(71, 31, 132)
HSLhsl(264, 62%, 32%)
HSVhsv(264, 77%, 52%)
CMYKcmyk(46.2%, 76.5%, 0%, 48.2%)
CIE-LABlab(23.62, 41.28, -49.42)
CIE-LCHlch(23.62, 64.40, 309.87°)
OKLaboklab(36.01% 0.0672 -0.1416)
OKLCHoklch(36.01% 0.157 295.4)
XYZxyz(7.2523, 3.9853, 22.2125)
Luminance0.0399 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471F84 #5C841F
analogous
#1F2A84 #471F84 #7A1F84
triadic
#471F84 #84471F #1F8447
tetradic
#471F84 #841F2A #5C841F #1F847A
square
#471F84 #841F2A #5C841F #1F847A
split-complementary
#471F84 #847A1F #2A841F
monochromatic
#120821 #2C1352 #471F84 #622BB6 #8049D4

Accessibility & contrast

On white

11.68
#471F84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#471F84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #471F84
11.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471F84#FFFFFF#000000##FFFFFF
##471F841.0011.681.8011.68
#FFFFFF11.681.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003987
Deuteranopia (green-blind)
#003782
Tritanopia (blue-blind)
#363A50
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #471f84;
/* rgb */ color: rgb(71, 31, 132);
/* oklch */ color: oklch(36.0% 0.157 295.4);
Tailwind
colors: {
  custom: {
    50: '#815fa9',
    500: '#471f84',
    950: '#000000',
  },
}
SCSS
$custom: #471f84;
$custom-light: #815fa9;
$custom-dark: #000000;
JSON
{
  "hex": "#471f84",
  "rgb": {
    "r": 71,
    "g": 31,
    "b": 132
  },
  "hsl": {
    "h": 263.762,
    "s": 61.963,
    "l": 31.961
  },
  "oklch": {
    "l": 0.36011,
    "c": 0.1567,
    "h": 295.4
  },
  "luminance": 0.03986
}

Semantic roles & 50–950 ramp

primary
#471F84
secondary
#8BB748
accent
#E543A5
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #471F84

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

Preview Lab → · Contrast checker → · Palette generator →

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