#471F80#471F80

#471F80 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.6% C 0.152 H 296.7°. Best body text is #FFFFFF at 11.83:1 contrast (WCAG AA passes).

Color values

HEX#471F80
RGBrgb(71, 31, 128)
HSLhsl(265, 61%, 31%)
HSVhsv(265, 76%, 50%)
CMYKcmyk(44.5%, 75.8%, 0%, 49.8%)
CIE-LABlab(23.26, 40.18, -47.49)
CIE-LCHlch(23.26, 62.21, 310.24°)
OKLaboklab(35.65% 0.0682 -0.1359)
OKLCHoklch(35.65% 0.152 296.7)
XYZxyz(6.9838, 3.8779, 20.7985)
Luminance0.0388 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471F80 #58801F
analogous
#1F2880 #471F80 #771F80
triadic
#471F80 #80471F #1F8047
tetradic
#471F80 #801F28 #58801F #1F8077
square
#471F80 #801F28 #58801F #1F8077
split-complementary
#471F80 #80771F #28801F
monochromatic
#10071D #2C134F #471F80 #622BB1 #8047D2

Accessibility & contrast

On white

11.83
#471F80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#471F80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #471F80
11.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471F80#FFFFFF#000000##FFFFFF
##471F801.0011.831.7811.83
#FFFFFF11.831.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003883
Deuteranopia (green-blind)
#00367E
Tritanopia (blue-blind)
#38384E
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #471f80;
/* rgb */ color: rgb(71, 31, 128);
/* oklch */ color: oklch(35.6% 0.152 296.7);
Tailwind
colors: {
  custom: {
    50: '#805fa6',
    500: '#471f80',
    950: '#000000',
  },
}
SCSS
$custom: #471f80;
$custom-light: #805fa6;
$custom-dark: #000000;
JSON
{
  "hex": "#471f80",
  "rgb": {
    "r": 71,
    "g": 31,
    "b": 128
  },
  "hsl": {
    "h": 264.742,
    "s": 61.006,
    "l": 31.176
  },
  "oklch": {
    "l": 0.35647,
    "c": 0.15203,
    "h": 296.7
  },
  "luminance": 0.03878
}

Semantic roles & 50–950 ramp

primary
#471F80
secondary
#87B348
accent
#E444A2
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B050F
muted
#7C797F

Preview Lab

Preview with #471F80

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

Preview Lab → · Contrast checker → · Palette generator →

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