#471B96#471B96

#471B96 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.3% C 0.181 H 291.0°. Best body text is #FFFFFF at 11.26:1 contrast (WCAG AA passes).

Color values

HEX#471B96
RGBrgb(71, 27, 150)
HSLhsl(261, 69%, 35%)
HSVhsv(261, 82%, 59%)
CMYKcmyk(52.7%, 82%, 0%, 41.2%)
CIE-LABlab(24.72, 48.03, -58.82)
CIE-LCHlch(24.72, 75.94, 309.23°)
OKLaboklab(37.3% 0.0649 -0.1691)
OKLCHoklch(37.3% 0.181 291)
XYZxyz(8.4939, 4.3251, 29.2355)
Luminance0.0432 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471B96 #6A961B
analogous
#1B2D96 #471B96 #841B96
triadic
#471B96 #96471B #1B9647
tetradic
#471B96 #961B2D #6A961B #1B9684
square
#471B96 #961B2D #6A961B #1B9684
split-complementary
#471B96 #96841B #2D961B
monochromatic
#16082E #2E1262 #471B96 #6024CA #814DDF

Accessibility & contrast

On white

11.26
#471B96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#471B96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #471B96
11.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471B96#FFFFFF#000000##FFFFFF
##471B961.0011.261.8711.26
#FFFFFF11.261.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D99
Deuteranopia (green-blind)
#003894
Tritanopia (blue-blind)
#2B3F59
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #471b96;
/* rgb */ color: rgb(71, 27, 150);
/* oklch */ color: oklch(37.3% 0.181 291.0);
Tailwind
colors: {
  custom: {
    50: '#845eb6',
    500: '#471b96',
    950: '#000000',
  },
}
SCSS
$custom: #471b96;
$custom-light: #845eb6;
$custom-dark: #000000;
JSON
{
  "hex": "#471b96",
  "rgb": {
    "r": 71,
    "g": 27,
    "b": 150
  },
  "hsl": {
    "h": 261.463,
    "s": 69.492,
    "l": 34.706
  },
  "oklch": {
    "l": 0.37302,
    "c": 0.18112,
    "h": 291
  },
  "luminance": 0.04325
}

Semantic roles & 50–950 ramp

primary
#471B96
secondary
#97C14C
accent
#EC3BAD
background
#F8F5FB
surface
#F0E9F6
border
#CBC5D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #471B96

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

Preview Lab → · Contrast checker → · Palette generator →

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