#471B80#471B80

#471B80 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.2% C 0.157 H 297.3°. Best body text is #FFFFFF at 12.09:1 contrast (WCAG AA passes).

Color values

HEX#471B80
RGBrgb(71, 27, 128)
HSLhsl(266, 65%, 30%)
HSVhsv(266, 79%, 50%)
CMYKcmyk(44.5%, 78.9%, 0%, 49.8%)
CIE-LABlab(22.59, 42.10, -48.59)
CIE-LCHlch(22.59, 64.29, 310.91°)
OKLaboklab(35.17% 0.0719 -0.1391)
OKLCHoklch(35.17% 0.157 297.3)
XYZxyz(6.8857, 3.6818, 20.7658)
Luminance0.0368 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471B80 #54801B
analogous
#1B2180 #471B80 #791B80
triadic
#471B80 #80471B #1B8047
tetradic
#471B80 #801B21 #54801B #1B8079
square
#471B80 #801B21 #54801B #1B8079
split-complementary
#471B80 #80791B #21801B
monochromatic
#0F061B #2B104D #471B80 #6326B3 #813FD6

Accessibility & contrast

On white

12.09
#471B80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#471B80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #471B80
12.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471B80#FFFFFF#000000##FFFFFF
##471B801.0012.091.7412.09
#FFFFFF12.091.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003683
Deuteranopia (green-blind)
#00357E
Tritanopia (blue-blind)
#38364D
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #471b80;
/* rgb */ color: rgb(71, 27, 128);
/* oklch */ color: oklch(35.2% 0.157 297.3);
Tailwind
colors: {
  custom: {
    50: '#805da6',
    500: '#471b80',
    950: '#000000',
  },
}
SCSS
$custom: #471b80;
$custom-light: #805da6;
$custom-dark: #000000;
JSON
{
  "hex": "#471b80",
  "rgb": {
    "r": 71,
    "g": 27,
    "b": 128
  },
  "hsl": {
    "h": 266.139,
    "s": 65.161,
    "l": 30.392
  },
  "oklch": {
    "l": 0.35173,
    "c": 0.15658,
    "h": 297.3
  },
  "luminance": 0.03682
}

Semantic roles & 50–950 ramp

primary
#471B80
secondary
#83B443
accent
#E8409F
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #471B80

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

Preview Lab → · Contrast checker → · Palette generator →

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