#471B86#471B86

#471B86 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.7% C 0.163 H 295.4°. Best body text is #FFFFFF at 11.87:1 contrast (WCAG AA passes).

Color values

HEX#471B86
RGBrgb(71, 27, 134)
HSLhsl(265, 66%, 32%)
HSVhsv(265, 80%, 53%)
CMYKcmyk(47%, 79.9%, 0%, 47.5%)
CIE-LABlab(23.15, 43.71, -51.45)
CIE-LCHlch(23.15, 67.51, 310.35°)
OKLaboklab(35.74% 0.0702 -0.1475)
OKLCHoklch(35.74% 0.163 295.4)
XYZxyz(7.2924, 3.8445, 22.9075)
Luminance0.0384 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471B86 #5A861B
analogous
#1B2586 #471B86 #7D1B86
triadic
#471B86 #86471B #1B8647
tetradic
#471B86 #861B25 #5A861B #1B867D
square
#471B86 #861B25 #5A861B #1B867D
split-complementary
#471B86 #867D1B #25861B
monochromatic
#110620 #2C1153 #471B86 #6225B9 #8042D9

Accessibility & contrast

On white

11.87
#471B86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#471B86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #471B86
11.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471B86#FFFFFF#000000##FFFFFF
##471B861.0011.871.7711.87
#FFFFFF11.871.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.871.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #471b86;
/* rgb */ color: rgb(71, 27, 134);
/* oklch */ color: oklch(35.7% 0.163 295.4);
Tailwind
colors: {
  custom: {
    50: '#815daa',
    500: '#471b86',
    950: '#000000',
  },
}
SCSS
$custom: #471b86;
$custom-light: #815daa;
$custom-dark: #000000;
JSON
{
  "hex": "#471b86",
  "rgb": {
    "r": 71,
    "g": 27,
    "b": 134
  },
  "hsl": {
    "h": 264.673,
    "s": 66.46,
    "l": 31.569
  },
  "oklch": {
    "l": 0.35737,
    "c": 0.16332,
    "h": 295.4
  },
  "luminance": 0.03845
}

Semantic roles & 50–950 ramp

primary
#471B86
secondary
#89B944
accent
#E93EA3
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B0410
muted
#7C797F

Preview Lab

Preview with #471B86

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

Preview Lab → · Contrast checker → · Palette generator →

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