#471C81#471C81

#471C81 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.4% C 0.157 H 296.9°. Best body text is #FFFFFF at 11.99:1 contrast (WCAG AA passes).

Color values

HEX#471C81
RGBrgb(71, 28, 129)
HSLhsl(266, 64%, 31%)
HSVhsv(266, 78%, 51%)
CMYKcmyk(45%, 78.3%, 0%, 49.4%)
CIE-LABlab(22.84, 41.90, -48.80)
CIE-LCHlch(22.84, 64.33, 310.65°)
OKLaboklab(35.38% 0.0707 -0.1397)
OKLCHoklch(35.38% 0.157 296.9)
XYZxyz(6.9752, 3.7549, 21.1219)
Luminance0.0376 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471C81 #56811C
analogous
#1C2381 #471C81 #791C81
triadic
#471C81 #81471C #1C8147
tetradic
#471C81 #811C23 #56811C #1C8179
square
#471C81 #811C23 #56811C #1C8179
split-complementary
#471C81 #81791C #23811C
monochromatic
#10061C #2B114F #471C81 #6327B3 #8142D6

Accessibility & contrast

On white

11.99
#471C81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #471C81
11.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471C81#FFFFFF#000000##FFFFFF
##471C811.0011.991.7511.99
#FFFFFF11.991.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003784
Deuteranopia (green-blind)
#00357F
Tritanopia (blue-blind)
#38374D
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #471c81;
/* rgb */ color: rgb(71, 28, 129);
/* oklch */ color: oklch(35.4% 0.157 296.9);
Tailwind
colors: {
  custom: {
    50: '#805da6',
    500: '#471c81',
    950: '#000000',
  },
}
SCSS
$custom: #471c81;
$custom-light: #805da6;
$custom-dark: #000000;
JSON
{
  "hex": "#471c81",
  "rgb": {
    "r": 71,
    "g": 28,
    "b": 129
  },
  "hsl": {
    "h": 265.545,
    "s": 64.331,
    "l": 30.784
  },
  "oklch": {
    "l": 0.35379,
    "c": 0.15662,
    "h": 296.9
  },
  "luminance": 0.03755
}

Semantic roles & 50–950 ramp

primary
#471C81
secondary
#85B444
accent
#E740A0
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #471C81

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

Preview Lab → · Contrast checker → · Palette generator →

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