#471D82#471D82

#471D82 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.6% C 0.157 H 296.4°. Best body text is #FFFFFF at 11.89:1 contrast (WCAG AA passes).

Color values

HEX#471D82
RGBrgb(71, 29, 130)
HSLhsl(265, 64%, 31%)
HSVhsv(265, 78%, 51%)
CMYKcmyk(45.4%, 77.7%, 0%, 49%)
CIE-LABlab(23.10, 41.70, -49.01)
CIE-LCHlch(23.10, 64.35, 310.39°)
OKLaboklab(35.59% 0.0696 -0.1404)
OKLCHoklch(35.59% 0.157 296.4)
XYZxyz(7.0661, 3.8299, 21.4817)
Luminance0.0383 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471D82 #58821D
analogous
#1D2682 #471D82 #791D82
triadic
#471D82 #82471D #1D8247
tetradic
#471D82 #821D26 #58821D #1D8279
square
#471D82 #821D26 #58821D #1D8279
split-complementary
#471D82 #82791D #26821D
monochromatic
#10071E #2C1250 #471D82 #6228B4 #8044D5

Accessibility & contrast

On white

11.89
#471D82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #471D82
11.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471D82#FFFFFF#000000##FFFFFF
##471D821.0011.891.7711.89
#FFFFFF11.891.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.891.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: #471d82;
/* rgb */ color: rgb(71, 29, 130);
/* oklch */ color: oklch(35.6% 0.157 296.4);
Tailwind
colors: {
  custom: {
    50: '#815ea7',
    500: '#471d82',
    950: '#000000',
  },
}
SCSS
$custom: #471d82;
$custom-light: #815ea7;
$custom-dark: #000000;
JSON
{
  "hex": "#471d82",
  "rgb": {
    "r": 71,
    "g": 29,
    "b": 130
  },
  "hsl": {
    "h": 264.95,
    "s": 63.522,
    "l": 31.176
  },
  "oklch": {
    "l": 0.35588,
    "c": 0.15666,
    "h": 296.4
  },
  "luminance": 0.0383
}

Semantic roles & 50–950 ramp

primary
#471D82
secondary
#87B546
accent
#E741A2
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #471D82

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

Preview Lab → · Contrast checker → · Palette generator →

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