#471E82#471E82

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

Color values

HEX#471E82
RGBrgb(71, 30, 130)
HSLhsl(265, 63%, 31%)
HSVhsv(265, 77%, 51%)
CMYKcmyk(45.4%, 76.9%, 0%, 49%)
CIE-LABlab(23.27, 41.22, -48.74)
CIE-LCHlch(23.27, 63.83, 310.22°)
OKLaboklab(35.71% 0.0687 -0.1395)
OKLCHoklch(35.71% 0.156 296.2)
XYZxyz(7.0910, 3.8797, 21.4900)
Luminance0.0388 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471E82 #59821E
analogous
#1E2782 #471E82 #791E82
triadic
#471E82 #82471E #1E8247
tetradic
#471E82 #821E27 #59821E #1E8279
square
#471E82 #821E27 #59821E #1E8279
split-complementary
#471E82 #82791E #27821E
monochromatic
#11071F #2C1350 #471E82 #6229B4 #8046D4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##471E82#FFFFFF#000000##FFFFFF
##471E821.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)
#003885
Deuteranopia (green-blind)
#003680
Tritanopia (blue-blind)
#37384E
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #471e82;
/* rgb */ color: rgb(71, 30, 130);
/* oklch */ color: oklch(35.7% 0.156 296.2);
Tailwind
colors: {
  custom: {
    50: '#805ea7',
    500: '#471e82',
    950: '#000000',
  },
}
SCSS
$custom: #471e82;
$custom-light: #805ea7;
$custom-dark: #000000;
JSON
{
  "hex": "#471e82",
  "rgb": {
    "r": 71,
    "g": 30,
    "b": 130
  },
  "hsl": {
    "h": 264.6,
    "s": 62.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.35707,
    "c": 0.15552,
    "h": 296.2
  },
  "luminance": 0.0388
}

Semantic roles & 50–950 ramp

primary
#471E82
secondary
#88B547
accent
#E642A3
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #471E82

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

Preview Lab → · Contrast checker → · Palette generator →

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