#471C84#471C84

#471C84 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.7% C 0.160 H 295.9°. Best body text is #FFFFFF at 11.88:1 contrast (WCAG AA passes).

Color values

HEX#471C84
RGBrgb(71, 28, 132)
HSLhsl(265, 65%, 31%)
HSVhsv(265, 79%, 52%)
CMYKcmyk(46.2%, 78.8%, 0%, 48.2%)
CIE-LABlab(23.12, 42.71, -50.24)
CIE-LCHlch(23.12, 65.94, 310.37°)
OKLaboklab(35.66% 0.0699 -0.1439)
OKLCHoklch(35.66% 0.16 295.9)
XYZxyz(7.1775, 3.8359, 22.1876)
Luminance0.0384 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471C84 #59841C
analogous
#1C2584 #471C84 #7B1C84
triadic
#471C84 #84471C #1C8447
tetradic
#471C84 #841C25 #59841C #1C847B
square
#471C84 #841C25 #59841C #1C847B
split-complementary
#471C84 #847B1C #25841C
monochromatic
#11071F #2C1152 #471C84 #6227B6 #8043D7

Accessibility & contrast

On white

11.88
#471C84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#471C84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #471C84
11.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471C84#FFFFFF#000000##FFFFFF
##471C841.0011.881.7711.88
#FFFFFF11.881.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.881.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #471c84;
/* rgb */ color: rgb(71, 28, 132);
/* oklch */ color: oklch(35.7% 0.160 295.9);
Tailwind
colors: {
  custom: {
    50: '#815da9',
    500: '#471c84',
    950: '#000000',
  },
}
SCSS
$custom: #471c84;
$custom-light: #815da9;
$custom-dark: #000000;
JSON
{
  "hex": "#471c84",
  "rgb": {
    "r": 71,
    "g": 28,
    "b": 132
  },
  "hsl": {
    "h": 264.808,
    "s": 65,
    "l": 31.373
  },
  "oklch": {
    "l": 0.35659,
    "c": 0.16002,
    "h": 295.9
  },
  "luminance": 0.03836
}

Semantic roles & 50–950 ramp

primary
#471C84
secondary
#88B745
accent
#E840A2
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B0410
muted
#7C797F

Preview Lab

Preview with #471C84

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

Preview Lab → · Contrast checker → · Palette generator →

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