#471F85#471F85

#471F85 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.1% C 0.158 H 295.1°. Best body text is #FFFFFF at 11.65:1 contrast (WCAG AA passes).

Color values

HEX#471F85
RGBrgb(71, 31, 133)
HSLhsl(264, 62%, 32%)
HSVhsv(264, 77%, 52%)
CMYKcmyk(46.6%, 76.7%, 0%, 47.8%)
CIE-LABlab(23.71, 41.56, -49.90)
CIE-LCHlch(23.71, 64.94, 309.79°)
OKLaboklab(36.1% 0.067 -0.143)
OKLCHoklch(36.1% 0.158 295.1)
XYZxyz(7.3210, 4.0128, 22.5746)
Luminance0.0401 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471F85 #5D851F
analogous
#1F2A85 #471F85 #7A1F85
triadic
#471F85 #85471F #1F8547
tetradic
#471F85 #851F2A #5D851F #1F857A
square
#471F85 #851F2A #5D851F #1F857A
split-complementary
#471F85 #857A1F #2A851F
monochromatic
#120822 #2D1353 #471F85 #612BB7 #804AD5

Accessibility & contrast

On white

11.65
#471F85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#471F85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #471F85
11.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471F85#FFFFFF#000000##FFFFFF
##471F851.0011.651.8011.65
#FFFFFF11.651.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003988
Deuteranopia (green-blind)
#003783
Tritanopia (blue-blind)
#353A50
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #471f85;
/* rgb */ color: rgb(71, 31, 133);
/* oklch */ color: oklch(36.1% 0.158 295.1);
Tailwind
colors: {
  custom: {
    50: '#815fa9',
    500: '#471f85',
    950: '#000000',
  },
}
SCSS
$custom: #471f85;
$custom-light: #815fa9;
$custom-dark: #000000;
JSON
{
  "hex": "#471f85",
  "rgb": {
    "r": 71,
    "g": 31,
    "b": 133
  },
  "hsl": {
    "h": 263.529,
    "s": 62.195,
    "l": 32.157
  },
  "oklch": {
    "l": 0.36103,
    "c": 0.15787,
    "h": 295.1
  },
  "luminance": 0.04013
}

Semantic roles & 50–950 ramp

primary
#471F85
secondary
#8CB749
accent
#E543A5
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #471F85

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

Preview Lab → · Contrast checker → · Palette generator →

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