#471785#471785

#471785 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 35.2% C 0.166 H 296.3°. Best body text is #FFFFFF at 12.14:1 contrast (WCAG AA passes).

Color values

HEX#471785
RGBrgb(71, 23, 133)
HSLhsl(266, 71%, 31%)
HSVhsv(266, 83%, 52%)
CMYKcmyk(46.6%, 82.7%, 0%, 47.8%)
CIE-LABlab(22.46, 45.15, -51.95)
CIE-LCHlch(22.46, 68.83, 311.00°)
OKLaboklab(35.23% 0.0736 -0.1489)
OKLCHoklch(35.23% 0.166 296.3)
XYZxyz(7.1374, 3.6457, 22.5134)
Luminance0.0365 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471785 #558517
analogous
#171E85 #471785 #7E1785
triadic
#471785 #854717 #178547
tetradic
#471785 #85171E #558517 #17857E
square
#471785 #85171E #558517 #17857E
split-complementary
#471785 #857E17 #1E8517
monochromatic
#0F051D #2B0E51 #471785 #6320B9 #813ADD

Accessibility & contrast

On white

12.14
#471785 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #471785
12.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471785#FFFFFF#000000##FFFFFF
##4717851.0012.141.7312.14
#FFFFFF12.141.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003688
Deuteranopia (green-blind)
#003483
Tritanopia (blue-blind)
#36374F
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #471785;
/* rgb */ color: rgb(71, 23, 133);
/* oklch */ color: oklch(35.2% 0.166 296.3);
Tailwind
colors: {
  custom: {
    50: '#815ba9',
    500: '#471785',
    950: '#000000',
  },
}
SCSS
$custom: #471785;
$custom-light: #815ba9;
$custom-dark: #000000;
JSON
{
  "hex": "#471785",
  "rgb": {
    "r": 71,
    "g": 23,
    "b": 133
  },
  "hsl": {
    "h": 266.182,
    "s": 70.513,
    "l": 30.588
  },
  "oklch": {
    "l": 0.3523,
    "c": 0.16612,
    "h": 296.3
  },
  "luminance": 0.03646
}

Semantic roles & 50–950 ramp

primary
#471785
secondary
#84B93F
accent
#ED3B9F
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B0410
muted
#7C797F

Preview Lab

Preview with #471785

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

Preview Lab → · Contrast checker → · Palette generator →

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