#471A85#471A85

#471A85 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.5% C 0.163 H 295.9°. Best body text is #FFFFFF at 11.97:1 contrast (WCAG AA passes).

Color values

HEX#471A85
RGBrgb(71, 26, 133)
HSLhsl(265, 67%, 31%)
HSVhsv(265, 80%, 52%)
CMYKcmyk(46.6%, 80.5%, 0%, 47.8%)
CIE-LABlab(22.90, 43.88, -51.23)
CIE-LCHlch(22.90, 67.46, 310.58°)
OKLaboklab(35.53% 0.0713 -0.1468)
OKLCHoklch(35.53% 0.163 295.9)
XYZxyz(7.2004, 3.7717, 22.5344)
Luminance0.0377 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471A85 #58851A
analogous
#1A2285 #471A85 #7C1A85
triadic
#471A85 #85471A #1A8547
tetradic
#471A85 #851A22 #58851A #1A857C
square
#471A85 #851A22 #58851A #1A857C
split-complementary
#471A85 #857C1A #22851A
monochromatic
#10061F #2C1052 #471A85 #6224B8 #8040DA

Accessibility & contrast

On white

11.97
#471A85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#471A85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #471A85
11.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471A85#FFFFFF#000000##FFFFFF
##471A851.0011.971.7511.97
#FFFFFF11.971.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003788
Deuteranopia (green-blind)
#003583
Tritanopia (blue-blind)
#36384F
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #471a85;
/* rgb */ color: rgb(71, 26, 133);
/* oklch */ color: oklch(35.5% 0.163 295.9);
Tailwind
colors: {
  custom: {
    50: '#815ca9',
    500: '#471a85',
    950: '#000000',
  },
}
SCSS
$custom: #471a85;
$custom-light: #815ca9;
$custom-dark: #000000;
JSON
{
  "hex": "#471a85",
  "rgb": {
    "r": 71,
    "g": 26,
    "b": 133
  },
  "hsl": {
    "h": 265.234,
    "s": 67.296,
    "l": 31.176
  },
  "oklch": {
    "l": 0.35534,
    "c": 0.16322,
    "h": 295.9
  },
  "luminance": 0.03772
}

Semantic roles & 50–950 ramp

primary
#471A85
secondary
#87B842
accent
#EA3EA2
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B0410
muted
#7C797F

Preview Lab

Preview with #471A85

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

Preview Lab → · Contrast checker → · Palette generator →

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