#471D85#471D85

#471D85 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.9% C 0.160 H 295.4°. Best body text is #FFFFFF at 11.78:1 contrast (WCAG AA passes).

Color values

HEX#471D85
RGBrgb(71, 29, 133)
HSLhsl(264, 64%, 32%)
HSVhsv(264, 78%, 52%)
CMYKcmyk(46.6%, 78.2%, 0%, 47.8%)
CIE-LABlab(23.38, 42.52, -50.45)
CIE-LCHlch(23.38, 65.98, 310.12°)
OKLaboklab(35.87% 0.0687 -0.1446)
OKLCHoklch(35.87% 0.16 295.4)
XYZxyz(7.2704, 3.9116, 22.5577)
Luminance0.0391 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471D85 #5B851D
analogous
#1D2785 #471D85 #7B1D85
triadic
#471D85 #85471D #1D8547
tetradic
#471D85 #851D27 #5B851D #1D857B
square
#471D85 #851D27 #5B851D #1D857B
split-complementary
#471D85 #857B1D #27851D
monochromatic
#110721 #2C1253 #471D85 #6228B7 #8046D7

Accessibility & contrast

On white

11.78
#471D85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #471D85
11.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471D85#FFFFFF#000000##FFFFFF
##471D851.0011.781.7811.78
#FFFFFF11.781.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003888
Deuteranopia (green-blind)
#003683
Tritanopia (blue-blind)
#353950
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #471d85;
/* rgb */ color: rgb(71, 29, 133);
/* oklch */ color: oklch(35.9% 0.160 295.4);
Tailwind
colors: {
  custom: {
    50: '#815ea9',
    500: '#471d85',
    950: '#000000',
  },
}
SCSS
$custom: #471d85;
$custom-light: #815ea9;
$custom-dark: #000000;
JSON
{
  "hex": "#471d85",
  "rgb": {
    "r": 71,
    "g": 29,
    "b": 133
  },
  "hsl": {
    "h": 264.231,
    "s": 64.198,
    "l": 31.765
  },
  "oklch": {
    "l": 0.35867,
    "c": 0.16008,
    "h": 295.4
  },
  "luminance": 0.03912
}

Semantic roles & 50–950 ramp

primary
#471D85
secondary
#8AB846
accent
#E741A4
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #471D85

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

Preview Lab → · Contrast checker → · Palette generator →

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