#471A71#471A71

#471A71 is a dark, vivid violet. Relative luminance 0.033; OKLCH L 33.7% C 0.141 H 303.0°. Best body text is #FFFFFF at 12.69:1 contrast (WCAG AA passes).

Color values

HEX#471A71
RGBrgb(71, 26, 113)
HSLhsl(271, 63%, 27%)
HSVhsv(271, 77%, 44%)
CMYKcmyk(37.2%, 77%, 0%, 55.7%)
CIE-LABlab(21.10, 38.61, -41.44)
CIE-LCHlch(21.10, 56.64, 312.97°)
OKLaboklab(33.71% 0.0767 -0.1181)
OKLCHoklch(33.71% 0.141 303)
XYZxyz(5.9479, 3.2706, 15.9375)
Luminance0.0327 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471A71 #44711A
analogous
#1B1A71 #471A71 #711A70
triadic
#471A71 #71471A #1A7147
tetradic
#471A71 #711B1A #44711A #1A7071
square
#471A71 #711B1A #44711A #1A7071
split-complementary
#471A71 #70711A #1A711B
monochromatic
#100619 #280F3F #471A71 #6625A3 #8535D0

Accessibility & contrast

On white

12.69
#471A71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#471A71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #471A71
12.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471A71#FFFFFF#000000##FFFFFF
##471A711.0012.691.6512.69
#FFFFFF12.691.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003273
Deuteranopia (green-blind)
#00326F
Tritanopia (blue-blind)
#3E3044
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #471a71;
/* rgb */ color: rgb(71, 26, 113);
/* oklch */ color: oklch(33.7% 0.141 303.0);
Tailwind
colors: {
  custom: {
    50: '#7f5b9a',
    500: '#471a71',
    950: '#000000',
  },
}
SCSS
$custom: #471a71;
$custom-light: #7f5b9a;
$custom-dark: #000000;
JSON
{
  "hex": "#471a71",
  "rgb": {
    "r": 71,
    "g": 26,
    "b": 113
  },
  "hsl": {
    "h": 271.034,
    "s": 62.59,
    "l": 27.255
  },
  "oklch": {
    "l": 0.3371,
    "c": 0.14082,
    "h": 303
  },
  "luminance": 0.03271
}

Semantic roles & 50–950 ramp

primary
#471A71
secondary
#72A641
accent
#E64291
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #471A71

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

Preview Lab → · Contrast checker → · Palette generator →

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