#471D95#471D95

#471D95 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.4% C 0.178 H 291.0°. Best body text is #FFFFFF at 11.18:1 contrast (WCAG AA passes).

Color values

HEX#471D95
RGBrgb(71, 29, 149)
HSLhsl(261, 67%, 35%)
HSVhsv(261, 81%, 58%)
CMYKcmyk(52.3%, 80.5%, 0%, 41.6%)
CIE-LABlab(24.91, 46.90, -57.88)
CIE-LCHlch(24.91, 74.50, 309.02°)
OKLaboklab(37.41% 0.0639 -0.1663)
OKLCHoklch(37.41% 0.178 291)
XYZxyz(8.4612, 4.3879, 28.8291)
Luminance0.0439 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471D95 #6B951D
analogous
#1D2F95 #471D95 #831D95
triadic
#471D95 #95471D #1D9547
tetradic
#471D95 #951D2F #6B951D #1D9583
square
#471D95 #951D2F #6B951D #1D9583
split-complementary
#471D95 #95831D #2F951D
monochromatic
#16092F #2F1362 #471D95 #5F27C8 #8150DD

Accessibility & contrast

On white

11.18
#471D95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#471D95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #471D95
11.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471D95#FFFFFF#000000##FFFFFF
##471D951.0011.181.8811.18
#FFFFFF11.181.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D98
Deuteranopia (green-blind)
#003893
Tritanopia (blue-blind)
#2B4059
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #471d95;
/* rgb */ color: rgb(71, 29, 149);
/* oklch */ color: oklch(37.4% 0.178 291.0);
Tailwind
colors: {
  custom: {
    50: '#835fb5',
    500: '#471d95',
    950: '#000000',
  },
}
SCSS
$custom: #471d95;
$custom-light: #835fb5;
$custom-dark: #000000;
JSON
{
  "hex": "#471d95",
  "rgb": {
    "r": 71,
    "g": 29,
    "b": 149
  },
  "hsl": {
    "h": 261,
    "s": 67.416,
    "l": 34.902
  },
  "oklch": {
    "l": 0.37408,
    "c": 0.17819,
    "h": 291
  },
  "luminance": 0.04388
}

Semantic roles & 50–950 ramp

primary
#471D95
secondary
#98C04E
accent
#EA3DAE
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #471D95

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

Preview Lab → · Contrast checker → · Palette generator →

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