#471687#471687

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

Color values

HEX#471687
RGBrgb(71, 22, 135)
HSLhsl(266, 72%, 31%)
HSVhsv(266, 84%, 53%)
CMYKcmyk(47.4%, 83.7%, 0%, 47.1%)
CIE-LABlab(22.52, 46.08, -53.11)
CIE-LCHlch(22.52, 70.31, 310.94°)
OKLaboklab(35.33% 0.0737 -0.1523)
OKLCHoklch(35.33% 0.169 295.8)
XYZxyz(7.2574, 3.6625, 23.2415)
Luminance0.0366 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471687 #568716
analogous
#161D87 #471687 #7F1687
triadic
#471687 #874716 #168747
tetradic
#471687 #87161D #568716 #16877F
square
#471687 #87161D #568716 #16877F
split-complementary
#471687 #877F16 #1D8716
monochromatic
#10051E #2B0D52 #471687 #631FBC #8139DF

Accessibility & contrast

On white

12.12
#471687 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #471687
12.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471687#FFFFFF#000000##FFFFFF
##4716871.0012.121.7312.12
#FFFFFF12.121.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00378A
Deuteranopia (green-blind)
#003485
Tritanopia (blue-blind)
#353750
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #471687;
/* rgb */ color: rgb(71, 22, 135);
/* oklch */ color: oklch(35.3% 0.169 295.8);
Tailwind
colors: {
  custom: {
    50: '#825bab',
    500: '#471687',
    950: '#000000',
  },
}
SCSS
$custom: #471687;
$custom-light: #825bab;
$custom-dark: #000000;
JSON
{
  "hex": "#471687",
  "rgb": {
    "r": 71,
    "g": 22,
    "b": 135
  },
  "hsl": {
    "h": 266.018,
    "s": 71.975,
    "l": 30.784
  },
  "oklch": {
    "l": 0.3533,
    "c": 0.16918,
    "h": 295.8
  },
  "luminance": 0.03663
}

Semantic roles & 50–950 ramp

primary
#471687
secondary
#85BB3E
accent
#EF39A0
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B0410
muted
#7C797F

Preview Lab

Preview with #471687

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

Preview Lab → · Contrast checker → · Palette generator →

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