#471771#471771

#471771 is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.4% C 0.144 H 303.5°. Best body text is #FFFFFF at 12.89:1 contrast (WCAG AA passes).

Color values

HEX#471771
RGBrgb(71, 23, 113)
HSLhsl(272, 66%, 27%)
HSVhsv(272, 80%, 44%)
CMYKcmyk(37.2%, 79.6%, 0%, 55.7%)
CIE-LABlab(20.61, 39.99, -42.23)
CIE-LCHlch(20.61, 58.16, 313.44°)
OKLaboklab(33.37% 0.0797 -0.1204)
OKLCHoklch(33.37% 0.144 303.5)
XYZxyz(5.8849, 3.1446, 15.9165)
Luminance0.0314 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471771 #417117
analogous
#1A1771 #471771 #71176E
triadic
#471771 #714717 #177147
tetradic
#471771 #711A17 #417117 #176E71
square
#471771 #711A17 #417117 #176E71
split-complementary
#471771 #6E7117 #17711A
monochromatic
#100519 #270D3E #471771 #6721A4 #872ED4

Accessibility & contrast

On white

12.89
#471771 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#471771 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #471771
12.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471771#FFFFFF#000000##FFFFFF
##4717711.0012.891.6312.89
#FFFFFF12.891.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003174
Deuteranopia (green-blind)
#00316F
Tritanopia (blue-blind)
#3E2E43
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #471771;
/* rgb */ color: rgb(71, 23, 113);
/* oklch */ color: oklch(33.4% 0.144 303.5);
Tailwind
colors: {
  custom: {
    50: '#7f5a9b',
    500: '#471771',
    950: '#000000',
  },
}
SCSS
$custom: #471771;
$custom-light: #7f5a9b;
$custom-dark: #000000;
JSON
{
  "hex": "#471771",
  "rgb": {
    "r": 71,
    "g": 23,
    "b": 113
  },
  "hsl": {
    "h": 272,
    "s": 66.176,
    "l": 26.667
  },
  "oklch": {
    "l": 0.3337,
    "c": 0.14437,
    "h": 303.5
  },
  "luminance": 0.03145
}

Semantic roles & 50–950 ramp

primary
#471771
secondary
#6EA73D
accent
#E93F8E
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #471771

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

Preview Lab → · Contrast checker → · Palette generator →

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