#471D81#471D81

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

Color values

HEX#471D81
RGBrgb(71, 29, 129)
HSLhsl(265, 63%, 31%)
HSVhsv(265, 78%, 51%)
CMYKcmyk(45%, 77.5%, 0%, 49.4%)
CIE-LABlab(23.01, 41.43, -48.53)
CIE-LCHlch(23.01, 63.81, 310.49°)
OKLaboklab(35.5% 0.0698 -0.1389)
OKLCHoklch(35.5% 0.156 296.7)
XYZxyz(6.9993, 3.8032, 21.1299)
Luminance0.0380 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471D81 #57811D
analogous
#1D2581 #471D81 #791D81
triadic
#471D81 #81471D #1D8147
tetradic
#471D81 #811D25 #57811D #1D8179
square
#471D81 #811D25 #57811D #1D8179
split-complementary
#471D81 #81791D #25811D
monochromatic
#10071D #2B124F #471D81 #6328B3 #8144D5

Accessibility & contrast

On white

11.93
#471D81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #471D81
11.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471D81#FFFFFF#000000##FFFFFF
##471D811.0011.931.7611.93
#FFFFFF11.931.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.931.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #471d81;
/* rgb */ color: rgb(71, 29, 129);
/* oklch */ color: oklch(35.5% 0.156 296.7);
Tailwind
colors: {
  custom: {
    50: '#805ea6',
    500: '#471d81',
    950: '#000000',
  },
}
SCSS
$custom: #471d81;
$custom-light: #805ea6;
$custom-dark: #000000;
JSON
{
  "hex": "#471d81",
  "rgb": {
    "r": 71,
    "g": 29,
    "b": 129
  },
  "hsl": {
    "h": 265.2,
    "s": 63.291,
    "l": 30.98
  },
  "oklch": {
    "l": 0.35496,
    "c": 0.15551,
    "h": 296.7
  },
  "luminance": 0.03803
}

Semantic roles & 50–950 ramp

primary
#471D81
secondary
#86B446
accent
#E641A1
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B050F
muted
#7C797F

Preview Lab

Preview with #471D81

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

Preview Lab → · Contrast checker → · Palette generator →

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