#471C82#471C82

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

Color values

HEX#471C82
RGBrgb(71, 28, 130)
HSLhsl(265, 65%, 31%)
HSVhsv(265, 78%, 51%)
CMYKcmyk(45.4%, 78.5%, 0%, 49%)
CIE-LABlab(22.94, 42.17, -49.28)
CIE-LCHlch(22.94, 64.87, 310.55°)
OKLaboklab(35.47% 0.0705 -0.1411)
OKLCHoklch(35.47% 0.158 296.5)
XYZxyz(7.0420, 3.7817, 21.4737)
Luminance0.0378 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471C82 #57821C
analogous
#1C2482 #471C82 #7A1C82
triadic
#471C82 #82471C #1C8247
tetradic
#471C82 #821C24 #57821C #1C827A
square
#471C82 #821C24 #57821C #1C827A
split-complementary
#471C82 #827A1C #24821C
monochromatic
#10061D #2B1150 #471C82 #6327B4 #8142D6

Accessibility & contrast

On white

11.96
#471C82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #471C82
11.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471C82#FFFFFF#000000##FFFFFF
##471C821.0011.961.7611.96
#FFFFFF11.961.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003785
Deuteranopia (green-blind)
#003580
Tritanopia (blue-blind)
#37374E
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #471c82;
/* rgb */ color: rgb(71, 28, 130);
/* oklch */ color: oklch(35.5% 0.158 296.5);
Tailwind
colors: {
  custom: {
    50: '#815da7',
    500: '#471c82',
    950: '#000000',
  },
}
SCSS
$custom: #471c82;
$custom-light: #815da7;
$custom-dark: #000000;
JSON
{
  "hex": "#471c82",
  "rgb": {
    "r": 71,
    "g": 28,
    "b": 130
  },
  "hsl": {
    "h": 265.294,
    "s": 64.557,
    "l": 30.98
  },
  "oklch": {
    "l": 0.35472,
    "c": 0.15775,
    "h": 296.5
  },
  "luminance": 0.03782
}

Semantic roles & 50–950 ramp

primary
#471C82
secondary
#86B544
accent
#E840A1
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B0410
muted
#7C797F

Preview Lab

Preview with #471C82

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

Preview Lab → · Contrast checker → · Palette generator →

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