#471A83#471A83

#471A83 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.3% C 0.161 H 296.5°. Best body text is #FFFFFF at 12.05:1 contrast (WCAG AA passes).

Color values

HEX#471A83
RGBrgb(71, 26, 131)
HSLhsl(266, 67%, 31%)
HSVhsv(266, 80%, 51%)
CMYKcmyk(45.8%, 80.2%, 0%, 48.6%)
CIE-LABlab(22.71, 43.35, -50.28)
CIE-LCHlch(22.71, 66.39, 310.77°)
OKLaboklab(35.35% 0.0719 -0.144)
OKLCHoklch(35.35% 0.161 296.5)
XYZxyz(7.0636, 3.7169, 21.8136)
Luminance0.0372 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471A83 #56831A
analogous
#1A2283 #471A83 #7B1A83
triadic
#471A83 #83471A #1A8347
tetradic
#471A83 #831A22 #56831A #1A837B
square
#471A83 #831A22 #56831A #1A837B
split-complementary
#471A83 #837B1A #22831A
monochromatic
#10061D #2B1050 #471A83 #6324B6 #813FD9

Accessibility & contrast

On white

12.05
#471A83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#471A83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #471A83
12.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471A83#FFFFFF#000000##FFFFFF
##471A831.0012.051.7412.05
#FFFFFF12.051.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003786
Deuteranopia (green-blind)
#003581
Tritanopia (blue-blind)
#37374E
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #471a83;
/* rgb */ color: rgb(71, 26, 131);
/* oklch */ color: oklch(35.3% 0.161 296.5);
Tailwind
colors: {
  custom: {
    50: '#815ca8',
    500: '#471a83',
    950: '#000000',
  },
}
SCSS
$custom: #471a83;
$custom-light: #815ca8;
$custom-dark: #000000;
JSON
{
  "hex": "#471a83",
  "rgb": {
    "r": 71,
    "g": 26,
    "b": 131
  },
  "hsl": {
    "h": 265.714,
    "s": 66.879,
    "l": 30.784
  },
  "oklch": {
    "l": 0.35345,
    "c": 0.161,
    "h": 296.5
  },
  "luminance": 0.03717
}

Semantic roles & 50–950 ramp

primary
#471A83
secondary
#85B742
accent
#EA3EA0
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B0410
muted
#7C797F

Preview Lab

Preview with #471A83

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

Preview Lab → · Contrast checker → · Palette generator →

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