#471C78#471C78

#471C78 is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.6% C 0.146 H 300.0°. Best body text is #FFFFFF at 12.32:1 contrast (WCAG AA passes).

Color values

HEX#471C78
RGBrgb(71, 28, 120)
HSLhsl(268, 62%, 29%)
HSVhsv(268, 77%, 47%)
CMYKcmyk(40.8%, 76.7%, 0%, 52.9%)
CIE-LABlab(22.04, 39.49, -44.40)
CIE-LCHlch(22.04, 59.42, 311.65°)
OKLaboklab(34.56% 0.0731 -0.1268)
OKLCHoklch(34.56% 0.146 300)
XYZxyz(6.4031, 3.5261, 18.1089)
Luminance0.0353 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471C78 #4D781C
analogous
#1C1F78 #471C78 #751C78
triadic
#471C78 #78471C #1C7847
tetradic
#471C78 #781C1F #4D781C #1C7875
square
#471C78 #781C1F #4D781C #1C7875
split-complementary
#471C78 #78751C #1F781C
monochromatic
#0F0619 #2A1046 #471C78 #6428AA #823DD2

Accessibility & contrast

On white

12.32
#471C78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#471C78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #471C78
12.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471C78#FFFFFF#000000##FFFFFF
##471C781.0012.321.7112.32
#FFFFFF12.321.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00357B
Deuteranopia (green-blind)
#003476
Tritanopia (blue-blind)
#3C3348
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #471c78;
/* rgb */ color: rgb(71, 28, 120);
/* oklch */ color: oklch(34.6% 0.146 300.0);
Tailwind
colors: {
  custom: {
    50: '#7f5da0',
    500: '#471c78',
    950: '#000000',
  },
}
SCSS
$custom: #471c78;
$custom-light: #7f5da0;
$custom-dark: #000000;
JSON
{
  "hex": "#471c78",
  "rgb": {
    "r": 71,
    "g": 28,
    "b": 120
  },
  "hsl": {
    "h": 268.043,
    "s": 62.162,
    "l": 29.02
  },
  "oklch": {
    "l": 0.34563,
    "c": 0.14635,
    "h": 300
  },
  "luminance": 0.03526
}

Semantic roles & 50–950 ramp

primary
#471C78
secondary
#7BAC44
accent
#E54399
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040F
muted
#7C797E

Preview Lab

Preview with #471C78

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

Preview Lab → · Contrast checker → · Palette generator →

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