#471786#471786

#471786 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.3% C 0.167 H 296.0°. Best body text is #FFFFFF at 12.11:1 contrast (WCAG AA passes).

Color values

HEX#471786
RGBrgb(71, 23, 134)
HSLhsl(266, 71%, 31%)
HSVhsv(266, 83%, 53%)
CMYKcmyk(47%, 82.8%, 0%, 47.5%)
CIE-LABlab(22.56, 45.42, -52.42)
CIE-LCHlch(22.56, 69.36, 310.91°)
OKLaboklab(35.33% 0.0733 -0.1503)
OKLCHoklch(35.33% 0.167 296)
XYZxyz(7.2069, 3.6734, 22.8790)
Luminance0.0367 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471786 #568617
analogous
#171E86 #471786 #7E1786
triadic
#471786 #864717 #178647
tetradic
#471786 #86171E #568617 #17867E
square
#471786 #86171E #568617 #17867E
split-complementary
#471786 #867E17 #1E8617
monochromatic
#10051E #2B0E52 #471786 #6320BA #813ADD

Accessibility & contrast

On white

12.11
#471786 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#471786 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #471786
12.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471786#FFFFFF#000000##FFFFFF
##4717861.0012.111.7312.11
#FFFFFF12.111.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003789
Deuteranopia (green-blind)
#003484
Tritanopia (blue-blind)
#35374F
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #471786;
/* rgb */ color: rgb(71, 23, 134);
/* oklch */ color: oklch(35.3% 0.167 296.0);
Tailwind
colors: {
  custom: {
    50: '#815baa',
    500: '#471786',
    950: '#000000',
  },
}
SCSS
$custom: #471786;
$custom-light: #815baa;
$custom-dark: #000000;
JSON
{
  "hex": "#471786",
  "rgb": {
    "r": 71,
    "g": 23,
    "b": 134
  },
  "hsl": {
    "h": 265.946,
    "s": 70.701,
    "l": 30.784
  },
  "oklch": {
    "l": 0.35327,
    "c": 0.1672,
    "h": 296
  },
  "luminance": 0.03674
}

Semantic roles & 50–950 ramp

primary
#471786
secondary
#85BA3F
accent
#ED3AA0
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B0410
muted
#7C797F

Preview Lab

Preview with #471786

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

Preview Lab → · Contrast checker → · Palette generator →

#471786 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva