#471B9E#471B9E

#471B9E is a dark, vivid violet. Relative luminance 0.046; OKLCH L 38.1% C 0.190 H 289.1°. Best body text is #FFFFFF at 10.95:1 contrast (WCAG AA passes).

Color values

HEX#471B9E
RGBrgb(71, 27, 158)
HSLhsl(260, 71%, 36%)
HSVhsv(260, 83%, 62%)
CMYKcmyk(55.1%, 82.9%, 0%, 38%)
CIE-LABlab(25.54, 50.20, -62.38)
CIE-LCHlch(25.54, 80.07, 308.82°)
OKLaboklab(38.11% 0.0621 -0.1795)
OKLCHoklch(38.11% 0.19 289.1)
XYZxyz(9.1602, 4.5916, 32.7447)
Luminance0.0459 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471B9E #729E1B
analogous
#1B309E #471B9E #891B9E
triadic
#471B9E #9E471B #1B9E47
tetradic
#471B9E #9E1B30 #729E1B #1B9E89
square
#471B9E #9E1B30 #729E1B #1B9E89
split-complementary
#471B9E #9E891B #309E1B
monochromatic
#180935 #30126A #471B9E #5E24D2 #8252E1

Accessibility & contrast

On white

10.95
#471B9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#471B9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #471B9E
10.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471B9E#FFFFFF#000000##FFFFFF
##471B9E1.0010.951.9210.95
#FFFFFF10.951.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003FA2
Deuteranopia (green-blind)
#00399C
Tritanopia (blue-blind)
#23435E
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #471b9e;
/* rgb */ color: rgb(71, 27, 158);
/* oklch */ color: oklch(38.1% 0.190 289.1);
Tailwind
colors: {
  custom: {
    50: '#855fbc',
    500: '#471b9e',
    950: '#000000',
  },
}
SCSS
$custom: #471b9e;
$custom-light: #855fbc;
$custom-dark: #000000;
JSON
{
  "hex": "#471b9e",
  "rgb": {
    "r": 71,
    "g": 27,
    "b": 158
  },
  "hsl": {
    "h": 260.153,
    "s": 70.811,
    "l": 36.275
  },
  "oklch": {
    "l": 0.38114,
    "c": 0.18991,
    "h": 289.1
  },
  "luminance": 0.04592
}

Semantic roles & 50–950 ramp

primary
#471B9E
secondary
#9DC451
accent
#EE3AB1
background
#F8F5FB
surface
#F0EAF7
border
#CBC6D0
text
#0C0512
muted
#7D7981

Preview Lab

Preview with #471B9E

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

Preview Lab → · Contrast checker → · Palette generator →

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