#471371#471371

#471371 is a dark, vivid violet. Relative luminance 0.030; OKLCH L 33.0% C 0.149 H 304.1°. Best body text is #FFFFFF at 13.13:1 contrast (WCAG AA passes).

Color values

HEX#471371
RGBrgb(71, 19, 113)
HSLhsl(273, 71%, 26%)
HSVhsv(273, 83%, 44%)
CMYKcmyk(37.2%, 83.2%, 0%, 55.7%)
CIE-LABlab(20.03, 41.66, -43.17)
CIE-LCHlch(20.03, 59.99, 313.98°)
OKLaboklab(32.97% 0.0833 -0.1231)
OKLCHoklch(32.97% 0.149 304.1)
XYZxyz(5.8113, 2.9976, 15.8920)
Luminance0.0300 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471371 #3D7113
analogous
#181371 #471371 #71136C
triadic
#471371 #714713 #137147
tetradic
#471371 #711813 #3D7113 #136C71
square
#471371 #711813 #3D7113 #136C71
split-complementary
#471371 #6C7113 #137118
monochromatic
#10041A #260A3D #471371 #681CA5 #8925DA

Accessibility & contrast

On white

13.13
#471371 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#471371 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #471371
13.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471371#FFFFFF#000000##FFFFFF
##4713711.0013.131.6013.13
#FFFFFF13.131.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F74
Deuteranopia (green-blind)
#00306F
Tritanopia (blue-blind)
#3F2C42
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #471371;
/* rgb */ color: rgb(71, 19, 113);
/* oklch */ color: oklch(33.0% 0.149 304.1);
Tailwind
colors: {
  custom: {
    50: '#7f589b',
    500: '#471371',
    950: '#000000',
  },
}
SCSS
$custom: #471371;
$custom-light: #7f589b;
$custom-dark: #000000;
JSON
{
  "hex": "#471371",
  "rgb": {
    "r": 71,
    "g": 19,
    "b": 113
  },
  "hsl": {
    "h": 273.191,
    "s": 71.212,
    "l": 25.882
  },
  "oklch": {
    "l": 0.32965,
    "c": 0.14865,
    "h": 304.1
  },
  "luminance": 0.02998
}

Semantic roles & 50–950 ramp

primary
#471371
secondary
#6AA838
accent
#EE3A8A
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #471371

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

Preview Lab → · Contrast checker → · Palette generator →

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