#471B85#471B85

#471B85 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.6% C 0.162 H 295.7°. Best body text is #FFFFFF at 11.91:1 contrast (WCAG AA passes).

Color values

HEX#471B85
RGBrgb(71, 27, 133)
HSLhsl(265, 66%, 31%)
HSVhsv(265, 80%, 52%)
CMYKcmyk(46.6%, 79.7%, 0%, 47.8%)
CIE-LABlab(23.06, 43.44, -50.98)
CIE-LCHlch(23.06, 66.98, 310.44°)
OKLaboklab(35.64% 0.0705 -0.1461)
OKLCHoklch(35.64% 0.162 295.7)
XYZxyz(7.2230, 3.8167, 22.5419)
Luminance0.0382 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471B85 #59851B
analogous
#1B2485 #471B85 #7C1B85
triadic
#471B85 #85471B #1B8547
tetradic
#471B85 #851B24 #59851B #1B857C
square
#471B85 #851B24 #59851B #1B857C
split-complementary
#471B85 #857C1B #24851B
monochromatic
#11061F #2C1152 #471B85 #6225B8 #8042D9

Accessibility & contrast

On white

11.91
#471B85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#471B85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #471B85
11.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471B85#FFFFFF#000000##FFFFFF
##471B851.0011.911.7611.91
#FFFFFF11.911.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.911.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #471b85;
/* rgb */ color: rgb(71, 27, 133);
/* oklch */ color: oklch(35.6% 0.162 295.7);
Tailwind
colors: {
  custom: {
    50: '#815da9',
    500: '#471b85',
    950: '#000000',
  },
}
SCSS
$custom: #471b85;
$custom-light: #815da9;
$custom-dark: #000000;
JSON
{
  "hex": "#471b85",
  "rgb": {
    "r": 71,
    "g": 27,
    "b": 133
  },
  "hsl": {
    "h": 264.906,
    "s": 66.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.35642,
    "c": 0.1622,
    "h": 295.7
  },
  "luminance": 0.03817
}

Semantic roles & 50–950 ramp

primary
#471B85
secondary
#88B844
accent
#E93FA2
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B0410
muted
#7C797F

Preview Lab

Preview with #471B85

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

Preview Lab → · Contrast checker → · Palette generator →

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