#471B70#471B70

#471B70 is a dark, vivid violet. Relative luminance 0.033; OKLCH L 33.7% C 0.138 H 303.2°. Best body text is #FFFFFF at 12.66:1 contrast (WCAG AA passes).

Color values

HEX#471B70
RGBrgb(71, 27, 112)
HSLhsl(271, 61%, 27%)
HSVhsv(271, 76%, 44%)
CMYKcmyk(36.6%, 75.9%, 0%, 56.1%)
CIE-LABlab(21.18, 37.87, -40.66)
CIE-LCHlch(21.18, 55.56, 312.96°)
OKLaboklab(33.74% 0.0759 -0.1158)
OKLCHoklch(33.74% 0.138 303.2)
XYZxyz(5.9144, 3.2933, 15.6502)
Luminance0.0329 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471B70 #44701B
analogous
#1D1B70 #471B70 #701B6F
triadic
#471B70 #70471B #1B7047
tetradic
#471B70 #701D1B #44701B #1B6F70
square
#471B70 #701D1B #44701B #1B6F70
split-complementary
#471B70 #6F701B #1B701D
monochromatic
#100619 #280F3F #471B70 #6627A1 #8537CF

Accessibility & contrast

On white

12.66
#471B70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #471B70
12.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471B70#FFFFFF#000000##FFFFFF
##471B701.0012.661.6612.66
#FFFFFF12.661.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003272
Deuteranopia (green-blind)
#00336E
Tritanopia (blue-blind)
#3F3044
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #471b70;
/* rgb */ color: rgb(71, 27, 112);
/* oklch */ color: oklch(33.7% 0.138 303.2);
Tailwind
colors: {
  custom: {
    50: '#7e5c9a',
    500: '#471b70',
    950: '#000000',
  },
}
SCSS
$custom: #471b70;
$custom-light: #7e5c9a;
$custom-dark: #000000;
JSON
{
  "hex": "#471b70",
  "rgb": {
    "r": 71,
    "g": 27,
    "b": 112
  },
  "hsl": {
    "h": 271.059,
    "s": 61.151,
    "l": 27.255
  },
  "oklch": {
    "l": 0.33744,
    "c": 0.13844,
    "h": 303.2
  },
  "luminance": 0.03293
}

Semantic roles & 50–950 ramp

primary
#471B70
secondary
#72A542
accent
#E44491
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #471B70

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

Preview Lab → · Contrast checker → · Palette generator →

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