#471A77#471A77

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

Color values

HEX#471A77
RGBrgb(71, 26, 119)
HSLhsl(269, 64%, 28%)
HSVhsv(269, 78%, 47%)
CMYKcmyk(40.3%, 78.2%, 0%, 53.3%)
CIE-LABlab(21.62, 40.17, -44.45)
CIE-LCHlch(21.62, 59.92, 312.11°)
OKLaboklab(34.24% 0.0753 -0.1269)
OKLCHoklch(34.24% 0.148 300.7)
XYZxyz(6.2969, 3.4102, 17.7757)
Luminance0.0341 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471A77 #4A771A
analogous
#1A1B77 #471A77 #751A77
triadic
#471A77 #77471A #1A7747
tetradic
#471A77 #771A1B #4A771A #1A7775
square
#471A77 #771A1B #4A771A #1A7775
split-complementary
#471A77 #77751A #1B771A
monochromatic
#0F0519 #290F45 #471A77 #6525A9 #8338D3

Accessibility & contrast

On white

12.49
#471A77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #471A77
12.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471A77#FFFFFF#000000##FFFFFF
##471A771.0012.491.6812.49
#FFFFFF12.491.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00337A
Deuteranopia (green-blind)
#003375
Tritanopia (blue-blind)
#3C3247
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #471a77;
/* rgb */ color: rgb(71, 26, 119);
/* oklch */ color: oklch(34.2% 0.148 300.7);
Tailwind
colors: {
  custom: {
    50: '#7f5c9f',
    500: '#471a77',
    950: '#000000',
  },
}
SCSS
$custom: #471a77;
$custom-light: #7f5c9f;
$custom-dark: #000000;
JSON
{
  "hex": "#471a77",
  "rgb": {
    "r": 71,
    "g": 26,
    "b": 119
  },
  "hsl": {
    "h": 269.032,
    "s": 64.138,
    "l": 28.431
  },
  "oklch": {
    "l": 0.34239,
    "c": 0.14757,
    "h": 300.7
  },
  "luminance": 0.0341
}

Semantic roles & 50–950 ramp

primary
#471A77
secondary
#78AC41
accent
#E74197
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040F
muted
#7C797E

Preview Lab

Preview with #471A77

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

Preview Lab → · Contrast checker → · Palette generator →

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