#471C7C#471C7C

#471C7C is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.9% C 0.151 H 298.5°. Best body text is #FFFFFF at 12.17:1 contrast (WCAG AA passes).

Color values

HEX#471C7C
RGBrgb(71, 28, 124)
HSLhsl(267, 63%, 30%)
HSVhsv(267, 77%, 49%)
CMYKcmyk(42.7%, 77.4%, 0%, 51.4%)
CIE-LABlab(22.39, 40.56, -46.38)
CIE-LCHlch(22.39, 61.61, 311.17°)
OKLaboklab(34.92% 0.0721 -0.1326)
OKLCHoklch(34.92% 0.151 298.5)
XYZxyz(6.6509, 3.6252, 19.4142)
Luminance0.0362 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471C7C #517C1C
analogous
#1C217C #471C7C #771C7C
triadic
#471C7C #7C471C #1C7C47
tetradic
#471C7C #7C1C21 #517C1C #1C7C77
square
#471C7C #7C1C21 #517C1C #1C7C77
split-complementary
#471C7C #7C771C #217C1C
monochromatic
#0E0619 #2A114A #471C7C #6427AE #813FD4

Accessibility & contrast

On white

12.17
#471C7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#471C7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #471C7C
12.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471C7C#FFFFFF#000000##FFFFFF
##471C7C1.0012.171.7312.17
#FFFFFF12.171.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00367F
Deuteranopia (green-blind)
#00357A
Tritanopia (blue-blind)
#3A354B
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #471c7c;
/* rgb */ color: rgb(71, 28, 124);
/* oklch */ color: oklch(34.9% 0.151 298.5);
Tailwind
colors: {
  custom: {
    50: '#805da3',
    500: '#471c7c',
    950: '#000000',
  },
}
SCSS
$custom: #471c7c;
$custom-light: #805da3;
$custom-dark: #000000;
JSON
{
  "hex": "#471c7c",
  "rgb": {
    "r": 71,
    "g": 28,
    "b": 124
  },
  "hsl": {
    "h": 266.875,
    "s": 63.158,
    "l": 29.804
  },
  "oklch": {
    "l": 0.34922,
    "c": 0.15092,
    "h": 298.5
  },
  "luminance": 0.03625
}

Semantic roles & 50–950 ramp

primary
#471C7C
secondary
#80B044
accent
#E6429C
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #471C7C

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

Preview Lab → · Contrast checker → · Palette generator →

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