#471880#471880

#471880 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.9% C 0.160 H 297.8°. Best body text is #FFFFFF at 12.28:1 contrast (WCAG AA passes).

Color values

HEX#471880
RGBrgb(71, 24, 128)
HSLhsl(267, 68%, 30%)
HSVhsv(267, 81%, 50%)
CMYKcmyk(44.5%, 81.3%, 0%, 49.8%)
CIE-LABlab(22.13, 43.43, -49.34)
CIE-LCHlch(22.13, 65.73, 311.35°)
OKLaboklab(34.85% 0.0745 -0.1413)
OKLCHoklch(34.85% 0.16 297.8)
XYZxyz(6.8204, 3.5512, 20.7440)
Luminance0.0355 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471880 #518018
analogous
#181D80 #471880 #7B1880
triadic
#471880 #804718 #188047
tetradic
#471880 #80181D #518018 #18807B
square
#471880 #80181D #518018 #18807B
split-complementary
#471880 #807B18 #1D8018
monochromatic
#0E051A #2A0E4C #471880 #6422B4 #8139DA

Accessibility & contrast

On white

12.28
#471880 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#471880 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #471880
12.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471880#FFFFFF#000000##FFFFFF
##4718801.0012.281.7112.28
#FFFFFF12.281.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.281.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #471880;
/* rgb */ color: rgb(71, 24, 128);
/* oklch */ color: oklch(34.9% 0.160 297.8);
Tailwind
colors: {
  custom: {
    50: '#815ba6',
    500: '#471880',
    950: '#000000',
  },
}
SCSS
$custom: #471880;
$custom-light: #815ba6;
$custom-dark: #000000;
JSON
{
  "hex": "#471880",
  "rgb": {
    "r": 71,
    "g": 24,
    "b": 128
  },
  "hsl": {
    "h": 267.115,
    "s": 68.421,
    "l": 29.804
  },
  "oklch": {
    "l": 0.34851,
    "c": 0.15971,
    "h": 297.8
  },
  "luminance": 0.03551
}

Semantic roles & 50–950 ramp

primary
#471880
secondary
#80B440
accent
#EB3D9C
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #471880

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

Preview Lab → · Contrast checker → · Palette generator →

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