#471B74#471B74

#471B74 is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.1% C 0.143 H 301.6°. Best body text is #FFFFFF at 12.52:1 contrast (WCAG AA passes).

Color values

HEX#471B74
RGBrgb(71, 27, 116)
HSLhsl(270, 62%, 28%)
HSVhsv(270, 77%, 45%)
CMYKcmyk(38.8%, 76.7%, 0%, 54.5%)
CIE-LABlab(21.52, 38.91, -42.68)
CIE-LCHlch(21.52, 57.76, 312.36°)
OKLaboklab(34.09% 0.075 -0.1217)
OKLCHoklch(34.09% 0.143 301.6)
XYZxyz(6.1421, 3.3844, 16.8493)
Luminance0.0338 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471B74 #48741B
analogous
#1B1B74 #471B74 #731B74
triadic
#471B74 #74471B #1B7447
tetradic
#471B74 #741B1B #48741B #1B7473
square
#471B74 #741B1B #48741B #1B7473
split-complementary
#471B74 #74731B #1B741B
monochromatic
#0F0619 #290F42 #471B74 #6527A6 #8439D1

Accessibility & contrast

On white

12.52
#471B74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#471B74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #471B74
12.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471B74#FFFFFF#000000##FFFFFF
##471B741.0012.521.6812.52
#FFFFFF12.521.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003377
Deuteranopia (green-blind)
#003372
Tritanopia (blue-blind)
#3D3146
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #471b74;
/* rgb */ color: rgb(71, 27, 116);
/* oklch */ color: oklch(34.1% 0.143 301.6);
Tailwind
colors: {
  custom: {
    50: '#7f5c9d',
    500: '#471b74',
    950: '#000000',
  },
}
SCSS
$custom: #471b74;
$custom-light: #7f5c9d;
$custom-dark: #000000;
JSON
{
  "hex": "#471b74",
  "rgb": {
    "r": 71,
    "g": 27,
    "b": 116
  },
  "hsl": {
    "h": 269.663,
    "s": 62.238,
    "l": 28.039
  },
  "oklch": {
    "l": 0.34091,
    "c": 0.14299,
    "h": 301.6
  },
  "luminance": 0.03384
}

Semantic roles & 50–950 ramp

primary
#471B74
secondary
#76A942
accent
#E54295
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #471B74

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

Preview Lab → · Contrast checker → · Palette generator →

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