#471C71#471C71

#471C71 is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.0% C 0.138 H 302.6°. Best body text is #FFFFFF at 12.56:1 contrast (WCAG AA passes).

Color values

HEX#471C71
RGBrgb(71, 28, 113)
HSLhsl(270, 60%, 28%)
HSVhsv(270, 75%, 44%)
CMYKcmyk(37.2%, 75.2%, 0%, 55.7%)
CIE-LABlab(21.44, 37.64, -40.88)
CIE-LCHlch(21.44, 55.57, 312.63°)
OKLaboklab(33.95% 0.0746 -0.1165)
OKLCHoklch(33.95% 0.138 302.6)
XYZxyz(5.9937, 3.3623, 15.9528)
Luminance0.0336 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471C71 #46711C
analogous
#1C1C71 #471C71 #711C70
triadic
#471C71 #71471C #1C7147
tetradic
#471C71 #711C1C #46711C #1C7071
square
#471C71 #711C1C #46711C #1C7071
split-complementary
#471C71 #70711C #1C711C
monochromatic
#0F0619 #281040 #471C71 #6628A2 #8539CE

Accessibility & contrast

On white

12.56
#471C71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#471C71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #471C71
12.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471C71#FFFFFF#000000##FFFFFF
##471C711.0012.561.6712.56
#FFFFFF12.561.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.561.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #471c71;
/* rgb */ color: rgb(71, 28, 113);
/* oklch */ color: oklch(34.0% 0.138 302.6);
Tailwind
colors: {
  custom: {
    50: '#7f5c9a',
    500: '#471c71',
    950: '#000000',
  },
}
SCSS
$custom: #471c71;
$custom-light: #7f5c9a;
$custom-dark: #000000;
JSON
{
  "hex": "#471c71",
  "rgb": {
    "r": 71,
    "g": 28,
    "b": 113
  },
  "hsl": {
    "h": 270.353,
    "s": 60.284,
    "l": 27.647
  },
  "oklch": {
    "l": 0.33953,
    "c": 0.13831,
    "h": 302.6
  },
  "luminance": 0.03362
}

Semantic roles & 50–950 ramp

primary
#471C71
secondary
#74A643
accent
#E34493
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #471C71

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

Preview Lab → · Contrast checker → · Palette generator →

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