#471980#471980

#471980 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 35.0% C 0.159 H 297.7°. Best body text is #FFFFFF at 12.22:1 contrast (WCAG AA passes).

Color values

HEX#471980
RGBrgb(71, 25, 128)
HSLhsl(267, 67%, 30%)
HSVhsv(267, 80%, 50%)
CMYKcmyk(44.5%, 80.5%, 0%, 49.8%)
CIE-LABlab(22.28, 43.00, -49.10)
CIE-LCHlch(22.28, 65.26, 311.21°)
OKLaboklab(34.96% 0.0737 -0.1406)
OKLCHoklch(34.96% 0.159 297.7)
XYZxyz(6.8414, 3.5932, 20.7510)
Luminance0.0359 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471980 #528019
analogous
#191F80 #471980 #7A1980
triadic
#471980 #804719 #198047
tetradic
#471980 #80191F #528019 #19807A
square
#471980 #80191F #528019 #19807A
split-complementary
#471980 #807A19 #1F8019
monochromatic
#0E051A #2B0F4D #471980 #6323B3 #813BD9

Accessibility & contrast

On white

12.22
#471980 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#471980 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #471980
12.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471980#FFFFFF#000000##FFFFFF
##4719801.0012.221.7212.22
#FFFFFF12.221.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003683
Deuteranopia (green-blind)
#00347E
Tritanopia (blue-blind)
#38354C
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #471980;
/* rgb */ color: rgb(71, 25, 128);
/* oklch */ color: oklch(35.0% 0.159 297.7);
Tailwind
colors: {
  custom: {
    50: '#815ca6',
    500: '#471980',
    950: '#000000',
  },
}
SCSS
$custom: #471980;
$custom-light: #815ca6;
$custom-dark: #000000;
JSON
{
  "hex": "#471980",
  "rgb": {
    "r": 71,
    "g": 25,
    "b": 128
  },
  "hsl": {
    "h": 266.796,
    "s": 67.32,
    "l": 30
  },
  "oklch": {
    "l": 0.34955,
    "c": 0.1587,
    "h": 297.7
  },
  "luminance": 0.03593
}

Semantic roles & 50–950 ramp

primary
#471980
secondary
#81B441
accent
#EA3E9D
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #471980

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

Preview Lab → · Contrast checker → · Palette generator →

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