#471C8F#471C8F

#471C8F is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.7% C 0.172 H 292.7°. Best body text is #FFFFFF at 11.47:1 contrast (WCAG AA passes).

Color values

HEX#471C8F
RGBrgb(71, 28, 143)
HSLhsl(262, 67%, 34%)
HSVhsv(262, 80%, 56%)
CMYKcmyk(50.3%, 80.4%, 0%, 43.9%)
CIE-LABlab(24.17, 45.70, -55.39)
CIE-LCHlch(24.17, 71.81, 309.52°)
OKLaboklab(36.71% 0.0665 -0.159)
OKLCHoklch(36.71% 0.172 292.7)
XYZxyz(7.9703, 4.1530, 26.3629)
Luminance0.0415 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471C8F #648F1C
analogous
#1C2A8F #471C8F #801C8F
triadic
#471C8F #8F471C #1C8F47
tetradic
#471C8F #8F1C2A #648F1C #1C8F80
square
#471C8F #8F1C2A #648F1C #1C8F80
split-complementary
#471C8F #8F801C #2A8F1C
monochromatic
#140829 #2E125C #471C8F #6026C2 #804ADC

Accessibility & contrast

On white

11.47
#471C8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#471C8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #471C8F
11.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471C8F#FFFFFF#000000##FFFFFF
##471C8F1.0011.471.8311.47
#FFFFFF11.471.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B92
Deuteranopia (green-blind)
#00378D
Tritanopia (blue-blind)
#303D55
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #471c8f;
/* rgb */ color: rgb(71, 28, 143);
/* oklch */ color: oklch(36.7% 0.172 292.7);
Tailwind
colors: {
  custom: {
    50: '#825eb1',
    500: '#471c8f',
    950: '#000000',
  },
}
SCSS
$custom: #471c8f;
$custom-light: #825eb1;
$custom-dark: #000000;
JSON
{
  "hex": "#471c8f",
  "rgb": {
    "r": 71,
    "g": 28,
    "b": 143
  },
  "hsl": {
    "h": 262.435,
    "s": 67.251,
    "l": 33.529
  },
  "oklch": {
    "l": 0.36712,
    "c": 0.17241,
    "h": 292.7
  },
  "luminance": 0.04153
}

Semantic roles & 50–950 ramp

primary
#471C8F
secondary
#92BE49
accent
#EA3EAA
background
#F8F5FB
surface
#F0E9F6
border
#CBC5D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #471C8F

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

Preview Lab → · Contrast checker → · Palette generator →

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