#471B73#471B73

#471B73 is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.0% C 0.142 H 302.0°. Best body text is #FFFFFF at 12.56:1 contrast (WCAG AA passes).

Color values

HEX#471B73
RGBrgb(71, 27, 115)
HSLhsl(270, 62%, 28%)
HSVhsv(270, 77%, 45%)
CMYKcmyk(38.3%, 76.5%, 0%, 54.9%)
CIE-LABlab(21.44, 38.65, -42.18)
CIE-LCHlch(21.44, 57.21, 312.50°)
OKLaboklab(34% 0.0752 -0.1203)
OKLCHoklch(34% 0.142 302)
XYZxyz(6.0842, 3.3612, 16.5446)
Luminance0.0336 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471B73 #47731B
analogous
#1B1B73 #471B73 #731B73
triadic
#471B73 #73471B #1B7347
tetradic
#471B73 #731B1B #47731B #1B7373
square
#471B73 #731B1B #47731B #1B7373
split-complementary
#471B73 #73731B #1B731B
monochromatic
#0F0619 #280F41 #471B73 #6627A5 #8438D0

Accessibility & contrast

On white

12.56
#471B73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#471B73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #471B73
12.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471B73#FFFFFF#000000##FFFFFF
##471B731.0012.561.6712.56
#FFFFFF12.561.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003376
Deuteranopia (green-blind)
#003371
Tritanopia (blue-blind)
#3E3145
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #471b73;
/* rgb */ color: rgb(71, 27, 115);
/* oklch */ color: oklch(34.0% 0.142 302.0);
Tailwind
colors: {
  custom: {
    50: '#7f5c9c',
    500: '#471b73',
    950: '#000000',
  },
}
SCSS
$custom: #471b73;
$custom-light: #7f5c9c;
$custom-dark: #000000;
JSON
{
  "hex": "#471b73",
  "rgb": {
    "r": 71,
    "g": 27,
    "b": 115
  },
  "hsl": {
    "h": 270,
    "s": 61.972,
    "l": 27.843
  },
  "oklch": {
    "l": 0.34003,
    "c": 0.14186,
    "h": 302
  },
  "luminance": 0.03361
}

Semantic roles & 50–950 ramp

primary
#471B73
secondary
#75A842
accent
#E54394
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #471B73

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

Preview Lab → · Contrast checker → · Palette generator →

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