#471B7D#471B7D

#471B7D is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.9% C 0.153 H 298.4°. Best body text is #FFFFFF at 12.20:1 contrast (WCAG AA passes).

Color values

HEX#471B7D
RGBrgb(71, 27, 125)
HSLhsl(267, 64%, 30%)
HSVhsv(267, 78%, 49%)
CMYKcmyk(43.2%, 78.4%, 0%, 51%)
CIE-LABlab(22.32, 41.30, -47.13)
CIE-LCHlch(22.32, 62.67, 311.22°)
OKLaboklab(34.9% 0.0728 -0.1348)
OKLCHoklch(34.9% 0.153 298.4)
XYZxyz(6.6912, 3.6040, 19.7412)
Luminance0.0360 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471B7D #517D1B
analogous
#1B207D #471B7D #781B7D
triadic
#471B7D #7D471B #1B7D47
tetradic
#471B7D #7D1B20 #517D1B #1B7D78
square
#471B7D #7D1B20 #517D1B #1B7D78
split-complementary
#471B7D #7D781B #207D1B
monochromatic
#0E0519 #2A104B #471B7D #6426AF #813DD5

Accessibility & contrast

On white

12.20
#471B7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#471B7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #471B7D
12.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471B7D#FFFFFF#000000##FFFFFF
##471B7D1.0012.201.7212.20
#FFFFFF12.201.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003580
Deuteranopia (green-blind)
#00347B
Tritanopia (blue-blind)
#39354B
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #471b7d;
/* rgb */ color: rgb(71, 27, 125);
/* oklch */ color: oklch(34.9% 0.153 298.4);
Tailwind
colors: {
  custom: {
    50: '#805ca3',
    500: '#471b7d',
    950: '#000000',
  },
}
SCSS
$custom: #471b7d;
$custom-light: #805ca3;
$custom-dark: #000000;
JSON
{
  "hex": "#471b7d",
  "rgb": {
    "r": 71,
    "g": 27,
    "b": 125
  },
  "hsl": {
    "h": 266.939,
    "s": 64.474,
    "l": 29.804
  },
  "oklch": {
    "l": 0.34897,
    "c": 0.1532,
    "h": 298.4
  },
  "luminance": 0.03604
}

Semantic roles & 50–950 ramp

primary
#471B7D
secondary
#80B143
accent
#E7409C
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #471B7D

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

Preview Lab → · Contrast checker → · Palette generator →

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