#471D77#471D77

#471D77 is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.6% C 0.144 H 300.1°. Best body text is #FFFFFF at 12.28:1 contrast (WCAG AA passes).

Color values

HEX#471D77
RGBrgb(71, 29, 119)
HSLhsl(268, 61%, 29%)
HSVhsv(268, 76%, 47%)
CMYKcmyk(40.3%, 75.6%, 0%, 53.3%)
CIE-LABlab(22.12, 38.73, -43.62)
CIE-LCHlch(22.12, 58.34, 311.60°)
OKLaboklab(34.6% 0.0723 -0.1245)
OKLCHoklch(34.6% 0.144 300.1)
XYZxyz(6.3668, 3.5502, 17.7990)
Luminance0.0355 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471D77 #4D771D
analogous
#1D2077 #471D77 #741D77
triadic
#471D77 #77471D #1D7747
tetradic
#471D77 #771D20 #4D771D #1D7774
square
#471D77 #771D20 #4D771D #1D7774
split-complementary
#471D77 #77741D #20771D
monochromatic
#0F0619 #2A1146 #471D77 #6429A8 #823ED0

Accessibility & contrast

On white

12.28
#471D77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#471D77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #471D77
12.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471D77#FFFFFF#000000##FFFFFF
##471D771.0012.281.7112.28
#FFFFFF12.281.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00357A
Deuteranopia (green-blind)
#003475
Tritanopia (blue-blind)
#3C3448
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #471d77;
/* rgb */ color: rgb(71, 29, 119);
/* oklch */ color: oklch(34.6% 0.144 300.1);
Tailwind
colors: {
  custom: {
    50: '#7f5d9f',
    500: '#471d77',
    950: '#000000',
  },
}
SCSS
$custom: #471d77;
$custom-light: #7f5d9f;
$custom-dark: #000000;
JSON
{
  "hex": "#471d77",
  "rgb": {
    "r": 71,
    "g": 29,
    "b": 119
  },
  "hsl": {
    "h": 268,
    "s": 60.811,
    "l": 29.02
  },
  "oklch": {
    "l": 0.34597,
    "c": 0.14398,
    "h": 300.1
  },
  "luminance": 0.0355
}

Semantic roles & 50–950 ramp

primary
#471D77
secondary
#7BAB45
accent
#E44499
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #471D77

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

Preview Lab → · Contrast checker → · Palette generator →

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