#471480#471480

#471480 is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.5% C 0.163 H 298.3°. Best body text is #FFFFFF at 12.50:1 contrast (WCAG AA passes).

Color values

HEX#471480
RGBrgb(71, 20, 128)
HSLhsl(268, 73%, 29%)
HSVhsv(268, 84%, 50%)
CMYKcmyk(44.5%, 84.4%, 0%, 49.8%)
CIE-LABlab(21.57, 45.04, -50.25)
CIE-LCHlch(21.57, 67.49, 311.87°)
OKLaboklab(34.47% 0.0776 -0.1439)
OKLCHoklch(34.47% 0.163 298.3)
XYZxyz(6.7440, 3.3983, 20.7185)
Luminance0.0340 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471480 #4D8014
analogous
#141780 #471480 #7D1480
triadic
#471480 #804714 #148047
tetradic
#471480 #801417 #4D8014 #14807D
square
#471480 #801417 #4D8014 #14807D
split-complementary
#471480 #807D14 #178014
monochromatic
#0F041A #2A0C4B #471480 #641CB5 #8230DF

Accessibility & contrast

On white

12.50
#471480 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#471480 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #471480
12.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471480#FFFFFF#000000##FFFFFF
##4714801.0012.501.6812.50
#FFFFFF12.501.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003483
Deuteranopia (green-blind)
#00337E
Tritanopia (blue-blind)
#38334B
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #471480;
/* rgb */ color: rgb(71, 20, 128);
/* oklch */ color: oklch(34.5% 0.163 298.3);
Tailwind
colors: {
  custom: {
    50: '#8159a6',
    500: '#471480',
    950: '#000000',
  },
}
SCSS
$custom: #471480;
$custom-light: #8159a6;
$custom-dark: #000000;
JSON
{
  "hex": "#471480",
  "rgb": {
    "r": 71,
    "g": 20,
    "b": 128
  },
  "hsl": {
    "h": 268.333,
    "s": 72.973,
    "l": 29.02
  },
  "oklch": {
    "l": 0.34465,
    "c": 0.16349,
    "h": 298.3
  },
  "luminance": 0.03398
}

Semantic roles & 50–950 ramp

primary
#471480
secondary
#7BB53B
accent
#F03899
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #471480

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

Preview Lab → · Contrast checker → · Palette generator →

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