#471B71#471B71

#471B71 is a dark, vivid violet. Relative luminance 0.033; OKLCH L 33.8% C 0.140 H 302.8°. Best body text is #FFFFFF at 12.63:1 contrast (WCAG AA passes).

Color values

HEX#471B71
RGBrgb(71, 27, 113)
HSLhsl(271, 61%, 27%)
HSVhsv(271, 76%, 44%)
CMYKcmyk(37.2%, 76.1%, 0%, 55.7%)
CIE-LABlab(21.27, 38.13, -41.17)
CIE-LCHlch(21.27, 56.11, 312.81°)
OKLaboklab(33.83% 0.0757 -0.1173)
OKLCHoklch(33.83% 0.14 302.8)
XYZxyz(5.9704, 3.3157, 15.9450)
Luminance0.0332 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471B71 #45711B
analogous
#1C1B71 #471B71 #711B70
triadic
#471B71 #71471B #1B7147
tetradic
#471B71 #711C1B #45711B #1B7071
square
#471B71 #711C1B #45711B #1B7071
split-complementary
#471B71 #70711B #1B711C
monochromatic
#100619 #280F40 #471B71 #6627A2 #8537CF

Accessibility & contrast

On white

12.63
#471B71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#471B71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #471B71
12.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471B71#FFFFFF#000000##FFFFFF
##471B711.0012.631.6612.63
#FFFFFF12.631.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.631.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #471b71;
/* rgb */ color: rgb(71, 27, 113);
/* oklch */ color: oklch(33.8% 0.140 302.8);
Tailwind
colors: {
  custom: {
    50: '#7f5c9a',
    500: '#471b71',
    950: '#000000',
  },
}
SCSS
$custom: #471b71;
$custom-light: #7f5c9a;
$custom-dark: #000000;
JSON
{
  "hex": "#471b71",
  "rgb": {
    "r": 71,
    "g": 27,
    "b": 113
  },
  "hsl": {
    "h": 270.698,
    "s": 61.429,
    "l": 27.451
  },
  "oklch": {
    "l": 0.3383,
    "c": 0.13958,
    "h": 302.8
  },
  "luminance": 0.03316
}

Semantic roles & 50–950 ramp

primary
#471B71
secondary
#73A642
accent
#E54392
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #471B71

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

Preview Lab → · Contrast checker → · Palette generator →

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