#471B76#471B76

#471B76 is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.3% C 0.145 H 300.9°. Best body text is #FFFFFF at 12.45:1 contrast (WCAG AA passes).

Color values

HEX#471B76
RGBrgb(71, 27, 118)
HSLhsl(269, 63%, 28%)
HSVhsv(269, 77%, 46%)
CMYKcmyk(39.8%, 77.1%, 0%, 53.7%)
CIE-LABlab(21.69, 39.44, -43.68)
CIE-LCHlch(21.69, 58.85, 312.08°)
OKLaboklab(34.27% 0.0745 -0.1247)
OKLCHoklch(34.27% 0.145 300.9)
XYZxyz(6.2597, 3.4314, 17.4686)
Luminance0.0343 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471B76 #4A761B
analogous
#1B1C76 #471B76 #741B76
triadic
#471B76 #76471B #1B7647
tetradic
#471B76 #761B1C #4A761B #1B7674
square
#471B76 #761B1C #4A761B #1B7674
split-complementary
#471B76 #76741B #1C761B
monochromatic
#0F0619 #291044 #471B76 #6526A8 #833AD2

Accessibility & contrast

On white

12.45
#471B76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#471B76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #471B76
12.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471B76#FFFFFF#000000##FFFFFF
##471B761.0012.451.6912.45
#FFFFFF12.451.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003479
Deuteranopia (green-blind)
#003374
Tritanopia (blue-blind)
#3C3247
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #471b76;
/* rgb */ color: rgb(71, 27, 118);
/* oklch */ color: oklch(34.3% 0.145 300.9);
Tailwind
colors: {
  custom: {
    50: '#7f5c9e',
    500: '#471b76',
    950: '#000000',
  },
}
SCSS
$custom: #471b76;
$custom-light: #7f5c9e;
$custom-dark: #000000;
JSON
{
  "hex": "#471b76",
  "rgb": {
    "r": 71,
    "g": 27,
    "b": 118
  },
  "hsl": {
    "h": 269.011,
    "s": 62.759,
    "l": 28.431
  },
  "oklch": {
    "l": 0.34267,
    "c": 0.14526,
    "h": 300.9
  },
  "luminance": 0.03431
}

Semantic roles & 50–950 ramp

primary
#471B76
secondary
#78AA42
accent
#E64297
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #471B76

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

Preview Lab → · Contrast checker → · Palette generator →

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