#471A86#471A86

#471A86 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.6% C 0.164 H 295.6°. Best body text is #FFFFFF at 11.93:1 contrast (WCAG AA passes).

Color values

HEX#471A86
RGBrgb(71, 26, 134)
HSLhsl(265, 68%, 31%)
HSVhsv(265, 81%, 53%)
CMYKcmyk(47%, 80.6%, 0%, 47.5%)
CIE-LABlab(23.00, 44.15, -51.70)
CIE-LCHlch(23.00, 67.99, 310.50°)
OKLaboklab(35.63% 0.071 -0.1482)
OKLCHoklch(35.63% 0.164 295.6)
XYZxyz(7.2698, 3.7994, 22.9000)
Luminance0.0380 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471A86 #59861A
analogous
#1A2386 #471A86 #7D1A86
triadic
#471A86 #86471A #1A8647
tetradic
#471A86 #861A23 #59861A #1A867D
square
#471A86 #861A23 #59861A #1A867D
split-complementary
#471A86 #867D1A #23861A
monochromatic
#11061F #2C1053 #471A86 #6224B9 #8040DA

Accessibility & contrast

On white

11.93
#471A86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#471A86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #471A86
11.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471A86#FFFFFF#000000##FFFFFF
##471A861.0011.931.7611.93
#FFFFFF11.931.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003889
Deuteranopia (green-blind)
#003584
Tritanopia (blue-blind)
#353850
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #471a86;
/* rgb */ color: rgb(71, 26, 134);
/* oklch */ color: oklch(35.6% 0.164 295.6);
Tailwind
colors: {
  custom: {
    50: '#815daa',
    500: '#471a86',
    950: '#000000',
  },
}
SCSS
$custom: #471a86;
$custom-light: #815daa;
$custom-dark: #000000;
JSON
{
  "hex": "#471a86",
  "rgb": {
    "r": 71,
    "g": 26,
    "b": 134
  },
  "hsl": {
    "h": 265,
    "s": 67.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.3563,
    "c": 0.16433,
    "h": 295.6
  },
  "luminance": 0.038
}

Semantic roles & 50–950 ramp

primary
#471A86
secondary
#88B942
accent
#EA3DA2
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B0410
muted
#7C797F

Preview Lab

Preview with #471A86

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

Preview Lab → · Contrast checker → · Palette generator →

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