#471996#471996

#471996 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 37.1% C 0.183 H 291.2°. Best body text is #FFFFFF at 11.37:1 contrast (WCAG AA passes).

Color values

HEX#471996
RGBrgb(71, 25, 150)
HSLhsl(262, 71%, 34%)
HSVhsv(262, 83%, 59%)
CMYKcmyk(52.7%, 83.3%, 0%, 41.2%)
CIE-LABlab(24.44, 48.85, -59.28)
CIE-LCHlch(24.44, 76.82, 309.49°)
OKLaboklab(37.11% 0.0663 -0.1704)
OKLCHoklch(37.11% 0.183 291.2)
XYZxyz(8.4496, 4.2365, 29.2208)
Luminance0.0424 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471996 #689619
analogous
#192A96 #471996 #861996
triadic
#471996 #964719 #199647
tetradic
#471996 #96192A #689619 #199686
square
#471996 #96192A #689619 #199686
split-complementary
#471996 #968619 #2A9619
monochromatic
#15082D #2E1062 #471996 #6022CA #8149E1

Accessibility & contrast

On white

11.37
#471996 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#471996 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #471996
11.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471996#FFFFFF#000000##FFFFFF
##4719961.0011.371.8511.37
#FFFFFF11.371.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C99
Deuteranopia (green-blind)
#003794
Tritanopia (blue-blind)
#2B3F59
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #471996;
/* rgb */ color: rgb(71, 25, 150);
/* oklch */ color: oklch(37.1% 0.183 291.2);
Tailwind
colors: {
  custom: {
    50: '#845db6',
    500: '#471996',
    950: '#000000',
  },
}
SCSS
$custom: #471996;
$custom-light: #845db6;
$custom-dark: #000000;
JSON
{
  "hex": "#471996",
  "rgb": {
    "r": 71,
    "g": 25,
    "b": 150
  },
  "hsl": {
    "h": 262.08,
    "s": 71.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.37109,
    "c": 0.18283,
    "h": 291.2
  },
  "luminance": 0.04237
}

Semantic roles & 50–950 ramp

primary
#471996
secondary
#95C249
accent
#EE3AAC
background
#F8F5FB
surface
#F0E9F6
border
#CBC5D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #471996

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

Preview Lab → · Contrast checker → · Palette generator →

#471996 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva