#471AA1#471AA1

#471AA1 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.3% C 0.194 H 288.5°. Best body text is #FFFFFF at 10.88:1 contrast (WCAG AA passes).

Color values

HEX#471AA1
RGBrgb(71, 26, 161)
HSLhsl(260, 72%, 37%)
HSVhsv(260, 84%, 63%)
CMYKcmyk(55.9%, 83.9%, 0%, 36.9%)
CIE-LABlab(25.72, 51.40, -63.91)
CIE-LCHlch(25.72, 82.02, 308.81°)
OKLaboklab(38.33% 0.0616 -0.1839)
OKLCHoklch(38.33% 0.194 288.5)
XYZxyz(9.3991, 4.6511, 34.1138)
Luminance0.0465 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471AA1 #74A11A
analogous
#1A31A1 #471AA1 #8B1AA1
triadic
#471AA1 #A1471A #1AA147
tetradic
#471AA1 #A11A31 #74A11A #1AA18B
square
#471AA1 #A11A31 #74A11A #1AA18B
split-complementary
#471AA1 #A18B1A #31A11A
monochromatic
#190938 #30116C #471AA1 #5E23D6 #8352E3

Accessibility & contrast

On white

10.88
#471AA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#471AA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #471AA1
10.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471AA1#FFFFFF#000000##FFFFFF
##471AA11.0010.881.9310.88
#FFFFFF10.881.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.881.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #471aa1;
/* rgb */ color: rgb(71, 26, 161);
/* oklch */ color: oklch(38.3% 0.194 288.5);
Tailwind
colors: {
  custom: {
    50: '#855ebe',
    500: '#471aa1',
    950: '#000000',
  },
}
SCSS
$custom: #471aa1;
$custom-light: #855ebe;
$custom-dark: #000000;
JSON
{
  "hex": "#471aa1",
  "rgb": {
    "r": 71,
    "g": 26,
    "b": 161
  },
  "hsl": {
    "h": 260,
    "s": 72.193,
    "l": 36.667
  },
  "oklch": {
    "l": 0.38331,
    "c": 0.19397,
    "h": 288.5
  },
  "luminance": 0.04652
}

Semantic roles & 50–950 ramp

primary
#471AA1
secondary
#9FC651
accent
#EF39B2
background
#F8F5FB
surface
#F0E9F7
border
#CBC5D0
text
#0C0512
muted
#7D7981

Preview Lab

Preview with #471AA1

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

Preview Lab → · Contrast checker → · Palette generator →

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