#471571#471571

#471571 is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.2% C 0.147 H 303.8°. Best body text is #FFFFFF at 13.01:1 contrast (WCAG AA passes).

Color values

HEX#471571
RGBrgb(71, 21, 113)
HSLhsl(273, 69%, 26%)
HSVhsv(273, 81%, 44%)
CMYKcmyk(37.2%, 81.4%, 0%, 55.7%)
CIE-LABlab(20.32, 40.84, -42.72)
CIE-LCHlch(20.32, 59.10, 313.72°)
OKLaboklab(33.16% 0.0815 -0.1218)
OKLCHoklch(33.16% 0.147 303.8)
XYZxyz(5.8466, 3.0682, 15.9038)
Luminance0.0307 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471571 #3F7115
analogous
#191571 #471571 #71156D
triadic
#471571 #714715 #157147
tetradic
#471571 #711915 #3F7115 #156D71
square
#471571 #711915 #3F7115 #156D71
split-complementary
#471571 #6D7115 #157119
monochromatic
#10051A #270B3D #471571 #671FA5 #8829D7

Accessibility & contrast

On white

13.01
#471571 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#471571 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #471571
13.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471571#FFFFFF#000000##FFFFFF
##4715711.0013.011.6113.01
#FFFFFF13.011.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003074
Deuteranopia (green-blind)
#00316F
Tritanopia (blue-blind)
#3F2D43
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #471571;
/* rgb */ color: rgb(71, 21, 113);
/* oklch */ color: oklch(33.2% 0.147 303.8);
Tailwind
colors: {
  custom: {
    50: '#7f599b',
    500: '#471571',
    950: '#000000',
  },
}
SCSS
$custom: #471571;
$custom-light: #7f599b;
$custom-dark: #000000;
JSON
{
  "hex": "#471571",
  "rgb": {
    "r": 71,
    "g": 21,
    "b": 113
  },
  "hsl": {
    "h": 272.609,
    "s": 68.657,
    "l": 26.275
  },
  "oklch": {
    "l": 0.33161,
    "c": 0.14657,
    "h": 303.8
  },
  "luminance": 0.03068
}

Semantic roles & 50–950 ramp

primary
#471571
secondary
#6CA73B
accent
#EB3C8C
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #471571

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

Preview Lab → · Contrast checker → · Palette generator →

#471571 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva