#471E81#471E81

#471E81 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.6% C 0.154 H 296.5°. Best body text is #FFFFFF at 11.86:1 contrast (WCAG AA passes).

Color values

HEX#471E81
RGBrgb(71, 30, 129)
HSLhsl(265, 62%, 31%)
HSVhsv(265, 77%, 51%)
CMYKcmyk(45%, 76.7%, 0%, 49.4%)
CIE-LABlab(23.18, 40.95, -48.26)
CIE-LCHlch(23.18, 63.29, 310.32°)
OKLaboklab(35.62% 0.0689 -0.1381)
OKLCHoklch(35.62% 0.154 296.5)
XYZxyz(7.0242, 3.8530, 21.1382)
Luminance0.0385 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471E81 #58811E
analogous
#1E2781 #471E81 #781E81
triadic
#471E81 #81471E #1E8147
tetradic
#471E81 #811E27 #58811E #1E8178
square
#471E81 #811E27 #58811E #1E8178
split-complementary
#471E81 #81781E #27811E
monochromatic
#10071E #2C124F #471E81 #622AB3 #8046D4

Accessibility & contrast

On white

11.86
#471E81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #471E81
11.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471E81#FFFFFF#000000##FFFFFF
##471E811.0011.861.7711.86
#FFFFFF11.861.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003884
Deuteranopia (green-blind)
#00367F
Tritanopia (blue-blind)
#37384E
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #471e81;
/* rgb */ color: rgb(71, 30, 129);
/* oklch */ color: oklch(35.6% 0.154 296.5);
Tailwind
colors: {
  custom: {
    50: '#805ea6',
    500: '#471e81',
    950: '#000000',
  },
}
SCSS
$custom: #471e81;
$custom-light: #805ea6;
$custom-dark: #000000;
JSON
{
  "hex": "#471e81",
  "rgb": {
    "r": 71,
    "g": 30,
    "b": 129
  },
  "hsl": {
    "h": 264.848,
    "s": 62.264,
    "l": 31.176
  },
  "oklch": {
    "l": 0.35615,
    "c": 0.15436,
    "h": 296.5
  },
  "luminance": 0.03853
}

Semantic roles & 50–950 ramp

primary
#471E81
secondary
#87B447
accent
#E542A2
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B050F
muted
#7C797F

Preview Lab

Preview with #471E81

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

Preview Lab → · Contrast checker → · Palette generator →

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