#471F81#471F81

#471F81 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.7% C 0.153 H 296.3°. Best body text is #FFFFFF at 11.79:1 contrast (WCAG AA passes).

Color values

HEX#471F81
RGBrgb(71, 31, 129)
HSLhsl(264, 61%, 31%)
HSVhsv(264, 76%, 51%)
CMYKcmyk(45%, 76%, 0%, 49.4%)
CIE-LABlab(23.35, 40.46, -47.97)
CIE-LCHlch(23.35, 62.75, 310.14°)
OKLaboklab(35.74% 0.068 -0.1373)
OKLCHoklch(35.74% 0.153 296.3)
XYZxyz(7.0499, 3.9044, 21.1468)
Luminance0.0391 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471F81 #59811F
analogous
#1F2881 #471F81 #781F81
triadic
#471F81 #81471F #1F8147
tetradic
#471F81 #811F28 #59811F #1F8178
square
#471F81 #811F28 #59811F #1F8178
split-complementary
#471F81 #81781F #28811F
monochromatic
#11071E #2C1350 #471F81 #622BB2 #8047D3

Accessibility & contrast

On white

11.79
#471F81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#471F81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #471F81
11.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471F81#FFFFFF#000000##FFFFFF
##471F811.0011.791.7811.79
#FFFFFF11.791.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003884
Deuteranopia (green-blind)
#00367F
Tritanopia (blue-blind)
#37384E
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #471f81;
/* rgb */ color: rgb(71, 31, 129);
/* oklch */ color: oklch(35.7% 0.153 296.3);
Tailwind
colors: {
  custom: {
    50: '#805fa6',
    500: '#471f81',
    950: '#000000',
  },
}
SCSS
$custom: #471f81;
$custom-light: #805fa6;
$custom-dark: #000000;
JSON
{
  "hex": "#471f81",
  "rgb": {
    "r": 71,
    "g": 31,
    "b": 129
  },
  "hsl": {
    "h": 264.49,
    "s": 61.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.35737,
    "c": 0.15321,
    "h": 296.3
  },
  "luminance": 0.03905
}

Semantic roles & 50–950 ramp

primary
#471F81
secondary
#88B448
accent
#E443A3
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B050F
muted
#7C797F

Preview Lab

Preview with #471F81

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

Preview Lab → · Contrast checker → · Palette generator →

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