#471E97#471E97

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

Color values

HEX#471E97
RGBrgb(71, 30, 151)
HSLhsl(260, 67%, 35%)
HSVhsv(260, 80%, 59%)
CMYKcmyk(53%, 80.1%, 0%, 40.8%)
CIE-LABlab(25.27, 47.01, -58.54)
CIE-LCHlch(25.27, 75.07, 308.77°)
OKLaboklab(37.71% 0.0625 -0.1683)
OKLCHoklch(37.71% 0.18 290.4)
XYZxyz(8.6471, 4.5021, 29.6855)
Luminance0.0450 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471E97 #6E971E
analogous
#1E3197 #471E97 #841E97
triadic
#471E97 #97471E #1E9747
tetradic
#471E97 #971E31 #6E971E #1E9784
square
#471E97 #971E31 #6E971E #1E9784
split-complementary
#471E97 #97841E #31971E
monochromatic
#170A31 #2F1464 #471E97 #5F28CA #8153DD

Accessibility & contrast

On white

11.05
#471E97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #471E97
11.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471E97#FFFFFF#000000##FFFFFF
##471E971.0011.051.9011.05
#FFFFFF11.051.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.051.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #471e97;
/* rgb */ color: rgb(71, 30, 151);
/* oklch */ color: oklch(37.7% 0.179 290.4);
Tailwind
colors: {
  custom: {
    50: '#8460b7',
    500: '#471e97',
    950: '#000000',
  },
}
SCSS
$custom: #471e97;
$custom-light: #8460b7;
$custom-dark: #000000;
JSON
{
  "hex": "#471e97",
  "rgb": {
    "r": 71,
    "g": 30,
    "b": 151
  },
  "hsl": {
    "h": 260.331,
    "s": 66.851,
    "l": 35.49
  },
  "oklch": {
    "l": 0.37713,
    "c": 0.1795,
    "h": 290.4
  },
  "luminance": 0.04503
}

Semantic roles & 50–950 ramp

primary
#471E97
secondary
#9AC051
accent
#EA3EB0
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #471E97

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

Preview Lab → · Contrast checker → · Palette generator →

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