#471BA1#471BA1

#471BA1 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.4% C 0.193 H 288.4°. Best body text is #FFFFFF at 10.83:1 contrast (WCAG AA passes).

Color values

HEX#471BA1
RGBrgb(71, 27, 161)
HSLhsl(260, 71%, 37%)
HSVhsv(260, 83%, 63%)
CMYKcmyk(55.9%, 83.2%, 0%, 36.9%)
CIE-LABlab(25.85, 51.01, -63.69)
CIE-LCHlch(25.85, 81.60, 308.69°)
OKLaboklab(38.42% 0.061 -0.1833)
OKLCHoklch(38.42% 0.193 288.4)
XYZxyz(9.4216, 4.6962, 34.1213)
Luminance0.0470 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471BA1 #75A11B
analogous
#1B32A1 #471BA1 #8A1BA1
triadic
#471BA1 #A1471B #1BA147
tetradic
#471BA1 #A11B32 #75A11B #1BA18A
square
#471BA1 #A11B32 #75A11B #1BA18A
split-complementary
#471BA1 #A18A1B #32A11B
monochromatic
#190938 #30126D #471BA1 #5E24D5 #8354E2

Accessibility & contrast

On white

10.83
#471BA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#471BA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #471BA1
10.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471BA1#FFFFFF#000000##FFFFFF
##471BA11.0010.831.9410.83
#FFFFFF10.831.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040A5
Deuteranopia (green-blind)
#003A9F
Tritanopia (blue-blind)
#204460
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #471ba1;
/* rgb */ color: rgb(71, 27, 161);
/* oklch */ color: oklch(38.4% 0.193 288.4);
Tailwind
colors: {
  custom: {
    50: '#855fbe',
    500: '#471ba1',
    950: '#000000',
  },
}
SCSS
$custom: #471ba1;
$custom-light: #855fbe;
$custom-dark: #000000;
JSON
{
  "hex": "#471ba1",
  "rgb": {
    "r": 71,
    "g": 27,
    "b": 161
  },
  "hsl": {
    "h": 259.701,
    "s": 71.277,
    "l": 36.863
  },
  "oklch": {
    "l": 0.38423,
    "c": 0.19319,
    "h": 288.4
  },
  "luminance": 0.04697
}

Semantic roles & 50–950 ramp

primary
#471BA1
secondary
#A0C552
accent
#EE3AB3
background
#F8F5FB
surface
#F0EAF7
border
#CBC6D0
text
#0C0512
muted
#7D7981

Preview Lab

Preview with #471BA1

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

Preview Lab → · Contrast checker → · Palette generator →

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