#471C7E#471C7E

#471C7E is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.1% C 0.153 H 297.8°. Best body text is #FFFFFF at 12.10:1 contrast (WCAG AA passes).

Color values

HEX#471C7E
RGBrgb(71, 28, 126)
HSLhsl(266, 64%, 30%)
HSVhsv(266, 78%, 49%)
CMYKcmyk(43.7%, 77.8%, 0%, 50.6%)
CIE-LABlab(22.57, 41.10, -47.35)
CIE-LCHlch(22.57, 62.70, 310.95°)
OKLaboklab(35.1% 0.0716 -0.1355)
OKLCHoklch(35.1% 0.153 297.8)
XYZxyz(6.7787, 3.6763, 20.0871)
Luminance0.0368 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471C7E #537E1C
analogous
#1C227E #471C7E #781C7E
triadic
#471C7E #7E471C #1C7E47
tetradic
#471C7E #7E1C22 #537E1C #1C7E78
square
#471C7E #7E1C22 #537E1C #1C7E78
split-complementary
#471C7E #7E781C #227E1C
monochromatic
#0F061A #2B114C #471C7E #6327B0 #8140D5

Accessibility & contrast

On white

12.10
#471C7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#471C7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #471C7E
12.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471C7E#FFFFFF#000000##FFFFFF
##471C7E1.0012.101.7412.10
#FFFFFF12.101.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003681
Deuteranopia (green-blind)
#00357C
Tritanopia (blue-blind)
#39364C
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #471c7e;
/* rgb */ color: rgb(71, 28, 126);
/* oklch */ color: oklch(35.1% 0.153 297.8);
Tailwind
colors: {
  custom: {
    50: '#805da4',
    500: '#471c7e',
    950: '#000000',
  },
}
SCSS
$custom: #471c7e;
$custom-light: #805da4;
$custom-dark: #000000;
JSON
{
  "hex": "#471c7e",
  "rgb": {
    "r": 71,
    "g": 28,
    "b": 126
  },
  "hsl": {
    "h": 266.327,
    "s": 63.636,
    "l": 30.196
  },
  "oklch": {
    "l": 0.35104,
    "c": 0.15321,
    "h": 297.8
  },
  "luminance": 0.03676
}

Semantic roles & 50–950 ramp

primary
#471C7E
secondary
#82B244
accent
#E7419E
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #471C7E

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

Preview Lab → · Contrast checker → · Palette generator →

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