#471B97#471B97

#471B97 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.4% C 0.182 H 290.8°. Best body text is #FFFFFF at 11.22:1 contrast (WCAG AA passes).

Color values

HEX#471B97
RGBrgb(71, 27, 151)
HSLhsl(261, 70%, 35%)
HSVhsv(261, 82%, 59%)
CMYKcmyk(53%, 82.1%, 0%, 40.8%)
CIE-LABlab(24.82, 48.30, -59.27)
CIE-LCHlch(24.82, 76.46, 309.18°)
OKLaboklab(37.4% 0.0646 -0.1704)
OKLCHoklch(37.4% 0.182 290.8)
XYZxyz(8.5748, 4.3575, 29.6614)
Luminance0.0436 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471B97 #6B971B
analogous
#1B2D97 #471B97 #851B97
triadic
#471B97 #97471B #1B9747
tetradic
#471B97 #971B2D #6B971B #1B9785
square
#471B97 #971B2D #6B971B #1B9785
split-complementary
#471B97 #97851B #2D971B
monochromatic
#16082F #2F1263 #471B97 #5F24CB #814DDF

Accessibility & contrast

On white

11.22
#471B97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#471B97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #471B97
11.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471B97#FFFFFF#000000##FFFFFF
##471B971.0011.221.8711.22
#FFFFFF11.221.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D9A
Deuteranopia (green-blind)
#003895
Tritanopia (blue-blind)
#2A405A
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #471b97;
/* rgb */ color: rgb(71, 27, 151);
/* oklch */ color: oklch(37.4% 0.182 290.8);
Tailwind
colors: {
  custom: {
    50: '#845eb7',
    500: '#471b97',
    950: '#000000',
  },
}
SCSS
$custom: #471b97;
$custom-light: #845eb7;
$custom-dark: #000000;
JSON
{
  "hex": "#471b97",
  "rgb": {
    "r": 71,
    "g": 27,
    "b": 151
  },
  "hsl": {
    "h": 261.29,
    "s": 69.663,
    "l": 34.902
  },
  "oklch": {
    "l": 0.37403,
    "c": 0.18222,
    "h": 290.8
  },
  "luminance": 0.04358
}

Semantic roles & 50–950 ramp

primary
#471B97
secondary
#98C14C
accent
#EC3BAE
background
#F8F5FB
surface
#F0E9F6
border
#CBC5D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #471B97

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

Preview Lab → · Contrast checker → · Palette generator →

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