#471B83#471B83

#471B83 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.5% C 0.160 H 296.4°. Best body text is #FFFFFF at 11.98:1 contrast (WCAG AA passes).

Color values

HEX#471B83
RGBrgb(71, 27, 131)
HSLhsl(265, 66%, 31%)
HSVhsv(265, 79%, 51%)
CMYKcmyk(45.8%, 79.4%, 0%, 48.6%)
CIE-LABlab(22.87, 42.90, -50.03)
CIE-LCHlch(22.87, 65.90, 310.62°)
OKLaboklab(35.45% 0.0711 -0.1433)
OKLCHoklch(35.45% 0.16 296.4)
XYZxyz(7.0861, 3.7620, 21.8211)
Luminance0.0376 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471B83 #57831B
analogous
#1B2383 #471B83 #7B1B83
triadic
#471B83 #83471B #1B8347
tetradic
#471B83 #831B23 #57831B #1B837B
square
#471B83 #831B23 #57831B #1B837B
split-complementary
#471B83 #837B1B #23831B
monochromatic
#10061E #2B1150 #471B83 #6325B6 #8141D8

Accessibility & contrast

On white

11.98
#471B83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#471B83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #471B83
11.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471B83#FFFFFF#000000##FFFFFF
##471B831.0011.981.7511.98
#FFFFFF11.981.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.981.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #471b83;
/* rgb */ color: rgb(71, 27, 131);
/* oklch */ color: oklch(35.5% 0.160 296.4);
Tailwind
colors: {
  custom: {
    50: '#815da8',
    500: '#471b83',
    950: '#000000',
  },
}
SCSS
$custom: #471b83;
$custom-light: #815da8;
$custom-dark: #000000;
JSON
{
  "hex": "#471b83",
  "rgb": {
    "r": 71,
    "g": 27,
    "b": 131
  },
  "hsl": {
    "h": 265.385,
    "s": 65.823,
    "l": 30.98
  },
  "oklch": {
    "l": 0.35453,
    "c": 0.15996,
    "h": 296.4
  },
  "luminance": 0.03762
}

Semantic roles & 50–950 ramp

primary
#471B83
secondary
#86B643
accent
#E93FA1
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B0410
muted
#7C797F

Preview Lab

Preview with #471B83

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

Preview Lab → · Contrast checker → · Palette generator →

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