#471A72#471A72

#471A72 is a dark, vivid violet. Relative luminance 0.033; OKLCH L 33.8% C 0.142 H 302.6°. Best body text is #FFFFFF at 12.66:1 contrast (WCAG AA passes).

Color values

HEX#471A72
RGBrgb(71, 26, 114)
HSLhsl(271, 63%, 27%)
HSVhsv(271, 77%, 45%)
CMYKcmyk(37.7%, 77.2%, 0%, 55.3%)
CIE-LABlab(21.18, 38.87, -41.95)
CIE-LCHlch(21.18, 57.19, 312.82°)
OKLaboklab(33.8% 0.0765 -0.1196)
OKLCHoklch(33.8% 0.142 302.6)
XYZxyz(6.0045, 3.2933, 16.2357)
Luminance0.0329 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471A72 #45721A
analogous
#1B1A72 #471A72 #721A71
triadic
#471A72 #72471A #1A7247
tetradic
#471A72 #721B1A #45721A #1A7172
square
#471A72 #721B1A #45721A #1A7172
split-complementary
#471A72 #71721A #1A721B
monochromatic
#100619 #280F40 #471A72 #6625A4 #8535D1

Accessibility & contrast

On white

12.66
#471A72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#471A72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #471A72
12.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471A72#FFFFFF#000000##FFFFFF
##471A721.0012.661.6612.66
#FFFFFF12.661.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003275
Deuteranopia (green-blind)
#003370
Tritanopia (blue-blind)
#3E3044
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #471a72;
/* rgb */ color: rgb(71, 26, 114);
/* oklch */ color: oklch(33.8% 0.142 302.6);
Tailwind
colors: {
  custom: {
    50: '#7f5b9b',
    500: '#471a72',
    950: '#000000',
  },
}
SCSS
$custom: #471a72;
$custom-light: #7f5b9b;
$custom-dark: #000000;
JSON
{
  "hex": "#471a72",
  "rgb": {
    "r": 71,
    "g": 26,
    "b": 114
  },
  "hsl": {
    "h": 270.682,
    "s": 62.857,
    "l": 27.451
  },
  "oklch": {
    "l": 0.33797,
    "c": 0.14195,
    "h": 302.6
  },
  "luminance": 0.03293
}

Semantic roles & 50–950 ramp

primary
#471A72
secondary
#73A741
accent
#E64292
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #471A72

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

Preview Lab → · Contrast checker → · Palette generator →

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