#471F97#471F97

#471F97 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.8% C 0.179 H 290.2°. Best body text is #FFFFFF at 10.99:1 contrast (WCAG AA passes).

Color values

HEX#471F97
RGBrgb(71, 31, 151)
HSLhsl(260, 66%, 36%)
HSVhsv(260, 79%, 59%)
CMYKcmyk(53%, 79.5%, 0%, 40.8%)
CIE-LABlab(25.42, 46.55, -58.28)
CIE-LCHlch(25.42, 74.59, 308.62°)
OKLaboklab(37.82% 0.0618 -0.1675)
OKLCHoklch(37.82% 0.179 290.2)
XYZxyz(8.6728, 4.5536, 29.6941)
Luminance0.0455 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471F97 #6F971F
analogous
#1F3397 #471F97 #831F97
triadic
#471F97 #97471F #1F9747
tetradic
#471F97 #971F33 #6F971F #1F9783
square
#471F97 #971F33 #6F971F #1F9783
split-complementary
#471F97 #97831F #33971F
monochromatic
#170A31 #2F1564 #471F97 #5F29CA #8254DC

Accessibility & contrast

On white

10.99
#471F97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#471F97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #471F97
10.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471F97#FFFFFF#000000##FFFFFF
##471F971.0010.991.9110.99
#FFFFFF10.991.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.991.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #471f97;
/* rgb */ color: rgb(71, 31, 151);
/* oklch */ color: oklch(37.8% 0.179 290.2);
Tailwind
colors: {
  custom: {
    50: '#8360b7',
    500: '#471f97',
    950: '#000000',
  },
}
SCSS
$custom: #471f97;
$custom-light: #8360b7;
$custom-dark: #000000;
JSON
{
  "hex": "#471f97",
  "rgb": {
    "r": 71,
    "g": 31,
    "b": 151
  },
  "hsl": {
    "h": 260,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.37821,
    "c": 0.17855,
    "h": 290.2
  },
  "luminance": 0.04554
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #471F97

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

Preview Lab → · Contrast checker → · Palette generator →

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