#471477#471477

#471477 is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.6% C 0.154 H 301.6°. Best body text is #FFFFFF at 12.85:1 contrast (WCAG AA passes).

Color values

HEX#471477
RGBrgb(71, 20, 119)
HSLhsl(271, 71%, 27%)
HSVhsv(271, 83%, 47%)
CMYKcmyk(40.3%, 83.2%, 0%, 53.3%)
CIE-LABlab(20.72, 42.76, -45.92)
CIE-LCHlch(20.72, 62.74, 312.96°)
OKLaboklab(33.61% 0.0806 -0.1312)
OKLCHoklch(33.61% 0.154 301.6)
XYZxyz(6.1776, 3.1718, 17.7359)
Luminance0.0317 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471477 #447714
analogous
#151477 #471477 #771476
triadic
#471477 #774714 #147747
tetradic
#471477 #771514 #447714 #147677
square
#471477 #771514 #447714 #147677
split-complementary
#471477 #767714 #147715
monochromatic
#10041A #280B43 #471477 #661DAB #852ADB

Accessibility & contrast

On white

12.85
#471477 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #471477
12.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471477#FFFFFF#000000##FFFFFF
##4714771.0012.851.6312.85
#FFFFFF12.851.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00317A
Deuteranopia (green-blind)
#003175
Tritanopia (blue-blind)
#3C2F46
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #471477;
/* rgb */ color: rgb(71, 20, 119);
/* oklch */ color: oklch(33.6% 0.154 301.6);
Tailwind
colors: {
  custom: {
    50: '#80599f',
    500: '#471477',
    950: '#000000',
  },
}
SCSS
$custom: #471477;
$custom-light: #80599f;
$custom-dark: #000000;
JSON
{
  "hex": "#471477",
  "rgb": {
    "r": 71,
    "g": 20,
    "b": 119
  },
  "hsl": {
    "h": 270.909,
    "s": 71.223,
    "l": 27.255
  },
  "oklch": {
    "l": 0.33611,
    "c": 0.15398,
    "h": 301.6
  },
  "luminance": 0.03172
}

Semantic roles & 50–950 ramp

primary
#471477
secondary
#72AD3A
accent
#EE3A91
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040F
muted
#7C797E

Preview Lab

Preview with #471477

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

Preview Lab → · Contrast checker → · Palette generator →

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