#471784#471784

#471784 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 35.1% C 0.165 H 296.6°. Best body text is #FFFFFF at 12.18:1 contrast (WCAG AA passes).

Color values

HEX#471784
RGBrgb(71, 23, 132)
HSLhsl(266, 70%, 30%)
HSVhsv(266, 83%, 52%)
CMYKcmyk(46.2%, 82.6%, 0%, 48.2%)
CIE-LABlab(22.37, 44.89, -51.48)
CIE-LCHlch(22.37, 68.30, 311.09°)
OKLaboklab(35.13% 0.074 -0.1475)
OKLCHoklch(35.13% 0.165 296.6)
XYZxyz(7.0687, 3.6182, 22.1513)
Luminance0.0362 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471784 #548417
analogous
#171D84 #471784 #7D1784
triadic
#471784 #844717 #178447
tetradic
#471784 #84171D #548417 #17847D
square
#471784 #84171D #548417 #17847D
split-complementary
#471784 #847D17 #1D8417
monochromatic
#0F051C #2B0E50 #471784 #6320B8 #8139DC

Accessibility & contrast

On white

12.18
#471784 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#471784 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #471784
12.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471784#FFFFFF#000000##FFFFFF
##4717841.0012.181.7212.18
#FFFFFF12.181.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003687
Deuteranopia (green-blind)
#003482
Tritanopia (blue-blind)
#36364E
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #471784;
/* rgb */ color: rgb(71, 23, 132);
/* oklch */ color: oklch(35.1% 0.165 296.6);
Tailwind
colors: {
  custom: {
    50: '#815ba9',
    500: '#471784',
    950: '#000000',
  },
}
SCSS
$custom: #471784;
$custom-light: #815ba9;
$custom-dark: #000000;
JSON
{
  "hex": "#471784",
  "rgb": {
    "r": 71,
    "g": 23,
    "b": 132
  },
  "hsl": {
    "h": 266.422,
    "s": 70.323,
    "l": 30.392
  },
  "oklch": {
    "l": 0.35133,
    "c": 0.16504,
    "h": 296.6
  },
  "luminance": 0.03618
}

Semantic roles & 50–950 ramp

primary
#471784
secondary
#83B83F
accent
#ED3B9F
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B0410
muted
#7C797F

Preview Lab

Preview with #471784

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

Preview Lab → · Contrast checker → · Palette generator →

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