#471D76#471D76

#471D76 is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.5% C 0.143 H 300.5°. Best body text is #FFFFFF at 12.32:1 contrast (WCAG AA passes).

Color values

HEX#471D76
RGBrgb(71, 29, 118)
HSLhsl(268, 61%, 29%)
HSVhsv(268, 75%, 46%)
CMYKcmyk(39.8%, 75.4%, 0%, 53.7%)
CIE-LABlab(22.04, 38.46, -43.12)
CIE-LCHlch(22.04, 57.78, 311.73°)
OKLaboklab(34.51% 0.0725 -0.123)
OKLCHoklch(34.51% 0.143 300.5)
XYZxyz(6.3071, 3.5263, 17.4844)
Luminance0.0353 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471D76 #4C761D
analogous
#1D2076 #471D76 #741D76
triadic
#471D76 #76471D #1D7647
tetradic
#471D76 #761D20 #4C761D #1D7674
square
#471D76 #761D20 #4C761D #1D7674
split-complementary
#471D76 #76741D #20761D
monochromatic
#0F0619 #291145 #471D76 #6529A7 #833ED0

Accessibility & contrast

On white

12.32
#471D76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #471D76
12.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471D76#FFFFFF#000000##FFFFFF
##471D761.0012.321.7112.32
#FFFFFF12.321.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003479
Deuteranopia (green-blind)
#003474
Tritanopia (blue-blind)
#3C3347
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #471d76;
/* rgb */ color: rgb(71, 29, 118);
/* oklch */ color: oklch(34.5% 0.143 300.5);
Tailwind
colors: {
  custom: {
    50: '#7f5d9e',
    500: '#471d76',
    950: '#000000',
  },
}
SCSS
$custom: #471d76;
$custom-light: #7f5d9e;
$custom-dark: #000000;
JSON
{
  "hex": "#471d76",
  "rgb": {
    "r": 71,
    "g": 29,
    "b": 118
  },
  "hsl": {
    "h": 268.315,
    "s": 60.544,
    "l": 28.824
  },
  "oklch": {
    "l": 0.3451,
    "c": 0.14283,
    "h": 300.5
  },
  "luminance": 0.03526
}

Semantic roles & 50–950 ramp

primary
#471D76
secondary
#7AAA45
accent
#E44498
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #471D76

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

Preview Lab → · Contrast checker → · Palette generator →

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