#471F9E#471F9E

#471F9E is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.5% C 0.186 H 288.6°. Best body text is #FFFFFF at 10.73:1 contrast (WCAG AA passes).

Color values

HEX#471F9E
RGBrgb(71, 31, 158)
HSLhsl(259, 67%, 37%)
HSVhsv(259, 80%, 62%)
CMYKcmyk(55.1%, 80.4%, 0%, 38%)
CIE-LABlab(26.12, 48.50, -61.42)
CIE-LCHlch(26.12, 78.26, 308.30°)
OKLaboklab(38.52% 0.0595 -0.1767)
OKLCHoklch(38.52% 0.186 288.6)
XYZxyz(9.2583, 4.7877, 32.7774)
Luminance0.0479 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471F9E #769E1F
analogous
#1F369E #471F9E #871F9E
triadic
#471F9E #9E471F #1F9E47
tetradic
#471F9E #9E1F36 #769E1F #1F9E87
square
#471F9E #9E1F36 #769E1F #1F9E87
split-complementary
#471F9E #9E871F #369E1F
monochromatic
#190B38 #30156B #471F9E #5E29D1 #8359DE

Accessibility & contrast

On white

10.73
#471F9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#471F9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #471F9E
10.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471F9E#FFFFFF#000000##FFFFFF
##471F9E1.0010.731.9610.73
#FFFFFF10.731.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040A1
Deuteranopia (green-blind)
#003B9C
Tritanopia (blue-blind)
#23445F
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #471f9e;
/* rgb */ color: rgb(71, 31, 158);
/* oklch */ color: oklch(38.5% 0.186 288.6);
Tailwind
colors: {
  custom: {
    50: '#8560bc',
    500: '#471f9e',
    950: '#000000',
  },
}
SCSS
$custom: #471f9e;
$custom-light: #8560bc;
$custom-dark: #000000;
JSON
{
  "hex": "#471f9e",
  "rgb": {
    "r": 71,
    "g": 31,
    "b": 158
  },
  "hsl": {
    "h": 258.898,
    "s": 67.196,
    "l": 37.059
  },
  "oklch": {
    "l": 0.38518,
    "c": 0.18646,
    "h": 288.6
  },
  "luminance": 0.04788
}

Semantic roles & 50–950 ramp

primary
#471F9E
secondary
#A0C256
accent
#EA3EB4
background
#F8F5FB
surface
#F0EAF7
border
#CBC6D0
text
#0C0512
muted
#7D7981

Preview Lab

Preview with #471F9E

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

Preview Lab → · Contrast checker → · Palette generator →

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