#471A76#471A76

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

Color values

HEX#471A76
RGBrgb(71, 26, 118)
HSLhsl(269, 64%, 28%)
HSVhsv(269, 78%, 46%)
CMYKcmyk(39.8%, 78%, 0%, 53.7%)
CIE-LABlab(21.53, 39.91, -43.95)
CIE-LCHlch(21.53, 59.37, 312.24°)
OKLaboklab(34.15% 0.0755 -0.1255)
OKLCHoklch(34.15% 0.146 301)
XYZxyz(6.2371, 3.3863, 17.4611)
Luminance0.0339 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471A76 #49761A
analogous
#1A1B76 #471A76 #751A76
triadic
#471A76 #76471A #1A7647
tetradic
#471A76 #761A1B #49761A #1A7675
square
#471A76 #761A1B #49761A #1A7675
split-complementary
#471A76 #76751A #1B761A
monochromatic
#0F0619 #290F44 #471A76 #6525A8 #8437D3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##471A76#FFFFFF#000000##FFFFFF
##471A761.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)
#003379
Deuteranopia (green-blind)
#003374
Tritanopia (blue-blind)
#3D3247
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #471a76;
/* rgb */ color: rgb(71, 26, 118);
/* oklch */ color: oklch(34.2% 0.146 301.0);
Tailwind
colors: {
  custom: {
    50: '#7f5c9e',
    500: '#471a76',
    950: '#000000',
  },
}
SCSS
$custom: #471a76;
$custom-light: #7f5c9e;
$custom-dark: #000000;
JSON
{
  "hex": "#471a76",
  "rgb": {
    "r": 71,
    "g": 26,
    "b": 118
  },
  "hsl": {
    "h": 269.348,
    "s": 63.889,
    "l": 28.235
  },
  "oklch": {
    "l": 0.3415,
    "c": 0.14645,
    "h": 301
  },
  "luminance": 0.03386
}

Semantic roles & 50–950 ramp

primary
#471A76
secondary
#77AB41
accent
#E74196
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #471A76

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

Preview Lab → · Contrast checker → · Palette generator →

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