#471F76#471F76

#471F76 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.8% C 0.140 H 300.1°. Best body text is #FFFFFF at 12.17:1 contrast (WCAG AA passes).

Color values

HEX#471F76
RGBrgb(71, 31, 118)
HSLhsl(268, 58%, 29%)
HSVhsv(268, 74%, 46%)
CMYKcmyk(39.8%, 73.7%, 0%, 53.7%)
CIE-LABlab(22.40, 37.45, -42.54)
CIE-LCHlch(22.40, 56.67, 311.36°)
OKLaboklab(34.77% 0.0704 -0.1213)
OKLCHoklch(34.77% 0.14 300.1)
XYZxyz(6.3577, 3.6275, 17.5013)
Luminance0.0363 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471F76 #4E761F
analogous
#1F2376 #471F76 #731F76
triadic
#471F76 #76471F #1F7647
tetradic
#471F76 #761F23 #4E761F #1F7673
square
#471F76 #761F23 #4E761F #1F7673
split-complementary
#471F76 #76731F #23761F
monochromatic
#0F0618 #2A1246 #471F76 #642CA6 #8242CD

Accessibility & contrast

On white

12.17
#471F76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#471F76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #471F76
12.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471F76#FFFFFF#000000##FFFFFF
##471F761.0012.171.7312.17
#FFFFFF12.171.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003579
Deuteranopia (green-blind)
#003574
Tritanopia (blue-blind)
#3C3448
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #471f76;
/* rgb */ color: rgb(71, 31, 118);
/* oklch */ color: oklch(34.8% 0.140 300.1);
Tailwind
colors: {
  custom: {
    50: '#7f5e9e',
    500: '#471f76',
    950: '#000000',
  },
}
SCSS
$custom: #471f76;
$custom-light: #7f5e9e;
$custom-dark: #000000;
JSON
{
  "hex": "#471f76",
  "rgb": {
    "r": 71,
    "g": 31,
    "b": 118
  },
  "hsl": {
    "h": 267.586,
    "s": 58.389,
    "l": 29.216
  },
  "oklch": {
    "l": 0.34766,
    "c": 0.14027,
    "h": 300.1
  },
  "luminance": 0.03628
}

Semantic roles & 50–950 ramp

primary
#471F76
secondary
#7CAA47
accent
#E2469A
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0A050E
muted
#7C797E

Preview Lab

Preview with #471F76

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

Preview Lab → · Contrast checker → · Palette generator →

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