#471F9B#471F9B

#471F9B is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.2% C 0.183 H 289.3°. Best body text is #FFFFFF at 10.84:1 contrast (WCAG AA passes).

Color values

HEX#471F9B
RGBrgb(71, 31, 155)
HSLhsl(259, 67%, 36%)
HSVhsv(259, 80%, 61%)
CMYKcmyk(54.2%, 80%, 0%, 39.2%)
CIE-LABlab(25.82, 47.67, -60.08)
CIE-LCHlch(25.82, 76.69, 308.43°)
OKLaboklab(38.22% 0.0605 -0.1728)
OKLCHoklch(38.22% 0.183 289.3)
XYZxyz(9.0032, 4.6857, 31.4340)
Luminance0.0469 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471F9B #739B1F
analogous
#1F359B #471F9B #851F9B
triadic
#471F9B #9B471F #1F9B47
tetradic
#471F9B #9B1F35 #739B1F #1F9B85
square
#471F9B #9B1F35 #739B1F #1F9B85
split-complementary
#471F9B #9B851F #359B1F
monochromatic
#180B35 #301568 #471F9B #5E29CE #8257DD

Accessibility & contrast

On white

10.84
#471F9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#471F9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #471F9B
10.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471F9B#FFFFFF#000000##FFFFFF
##471F9B1.0010.841.9410.84
#FFFFFF10.841.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00409E
Deuteranopia (green-blind)
#003A99
Tritanopia (blue-blind)
#26435D
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #471f9b;
/* rgb */ color: rgb(71, 31, 155);
/* oklch */ color: oklch(38.2% 0.183 289.3);
Tailwind
colors: {
  custom: {
    50: '#8460ba',
    500: '#471f9b',
    950: '#000000',
  },
}
SCSS
$custom: #471f9b;
$custom-light: #8460ba;
$custom-dark: #000000;
JSON
{
  "hex": "#471f9b",
  "rgb": {
    "r": 71,
    "g": 31,
    "b": 155
  },
  "hsl": {
    "h": 259.355,
    "s": 66.667,
    "l": 36.471
  },
  "oklch": {
    "l": 0.38218,
    "c": 0.18307,
    "h": 289.3
  },
  "luminance": 0.04686
}

Semantic roles & 50–950 ramp

primary
#471F9B
secondary
#9EC155
accent
#EA3EB2
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0512
muted
#7D7981

Preview Lab

Preview with #471F9B

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

Preview Lab → · Contrast checker → · Palette generator →

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