#471F96#471F96

#471F96 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.7% C 0.177 H 290.5°. Best body text is #FFFFFF at 11.03:1 contrast (WCAG AA passes).

Color values

HEX#471F96
RGBrgb(71, 31, 150)
HSLhsl(260, 66%, 35%)
HSVhsv(260, 79%, 59%)
CMYKcmyk(52.7%, 79.3%, 0%, 41.2%)
CIE-LABlab(25.32, 46.28, -57.83)
CIE-LCHlch(25.32, 74.06, 308.67°)
OKLaboklab(37.72% 0.0621 -0.1662)
OKLCHoklch(37.72% 0.177 290.5)
XYZxyz(8.5920, 4.5212, 29.2682)
Luminance0.0452 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471F96 #6E961F
analogous
#1F3296 #471F96 #821F96
triadic
#471F96 #96471F #1F9647
tetradic
#471F96 #961F32 #6E961F #1F9682
square
#471F96 #961F32 #6E961F #1F9682
split-complementary
#471F96 #96821F #32961F
monochromatic
#170A31 #2F1563 #471F96 #5F29C9 #8154DC

Accessibility & contrast

On white

11.03
#471F96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#471F96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #471F96
11.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471F96#FFFFFF#000000##FFFFFF
##471F961.0011.031.9011.03
#FFFFFF11.031.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E99
Deuteranopia (green-blind)
#003994
Tritanopia (blue-blind)
#2A415A
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #471f96;
/* rgb */ color: rgb(71, 31, 150);
/* oklch */ color: oklch(37.7% 0.177 290.5);
Tailwind
colors: {
  custom: {
    50: '#8360b6',
    500: '#471f96',
    950: '#000000',
  },
}
SCSS
$custom: #471f96;
$custom-light: #8360b6;
$custom-dark: #000000;
JSON
{
  "hex": "#471f96",
  "rgb": {
    "r": 71,
    "g": 31,
    "b": 150
  },
  "hsl": {
    "h": 260.168,
    "s": 65.746,
    "l": 35.49
  },
  "oklch": {
    "l": 0.37723,
    "c": 0.17741,
    "h": 290.5
  },
  "luminance": 0.04522
}

Semantic roles & 50–950 ramp

primary
#471F96
secondary
#9ABF52
accent
#E93FB0
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #471F96

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

Preview Lab → · Contrast checker → · Palette generator →

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