#471B8A#471B8A

#471B8A is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.1% C 0.168 H 294.2°. Best body text is #FFFFFF at 11.72:1 contrast (WCAG AA passes).

Color values

HEX#471B8A
RGBrgb(71, 27, 138)
HSLhsl(264, 67%, 32%)
HSVhsv(264, 80%, 54%)
CMYKcmyk(48.6%, 80.4%, 0%, 45.9%)
CIE-LABlab(23.53, 44.79, -53.33)
CIE-LCHlch(23.53, 69.64, 310.03°)
OKLaboklab(36.12% 0.0689 -0.153)
OKLCHoklch(36.12% 0.168 294.2)
XYZxyz(7.5767, 3.9582, 24.4046)
Luminance0.0396 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471B8A #5E8A1B
analogous
#1B268A #471B8A #7F1B8A
triadic
#471B8A #8A471B #1B8A47
tetradic
#471B8A #8A1B26 #5E8A1B #1B8A7F
square
#471B8A #8A1B26 #5E8A1B #1B8A7F
split-complementary
#471B8A #8A7F1B #268A1B
monochromatic
#120724 #2D1157 #471B8A #6125BD #8045DB

Accessibility & contrast

On white

11.72
#471B8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#471B8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #471B8A
11.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471B8A#FFFFFF#000000##FFFFFF
##471B8A1.0011.721.7911.72
#FFFFFF11.721.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00398D
Deuteranopia (green-blind)
#003688
Tritanopia (blue-blind)
#333A52
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #471b8a;
/* rgb */ color: rgb(71, 27, 138);
/* oklch */ color: oklch(36.1% 0.168 294.2);
Tailwind
colors: {
  custom: {
    50: '#825dad',
    500: '#471b8a',
    950: '#000000',
  },
}
SCSS
$custom: #471b8a;
$custom-light: #825dad;
$custom-dark: #000000;
JSON
{
  "hex": "#471b8a",
  "rgb": {
    "r": 71,
    "g": 27,
    "b": 138
  },
  "hsl": {
    "h": 263.784,
    "s": 67.273,
    "l": 32.353
  },
  "oklch": {
    "l": 0.3612,
    "c": 0.16779,
    "h": 294.2
  },
  "luminance": 0.03958
}

Semantic roles & 50–950 ramp

primary
#471B8A
secondary
#8DBC45
accent
#EA3EA6
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B0410
muted
#7C797F

Preview Lab

Preview with #471B8A

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

Preview Lab → · Contrast checker → · Palette generator →

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