#471E8F#471E8F

#471E8F is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.9% C 0.170 H 292.4°. Best body text is #FFFFFF at 11.35:1 contrast (WCAG AA passes).

Color values

HEX#471E8F
RGBrgb(71, 30, 143)
HSLhsl(262, 65%, 34%)
HSVhsv(262, 79%, 56%)
CMYKcmyk(50.3%, 79%, 0%, 43.9%)
CIE-LABlab(24.48, 44.80, -54.88)
CIE-LCHlch(24.48, 70.84, 309.22°)
OKLaboklab(36.93% 0.065 -0.1576)
OKLCHoklch(36.93% 0.17 292.4)
XYZxyz(8.0193, 4.2510, 26.3793)
Luminance0.0425 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471E8F #668F1E
analogous
#1E2E8F #471E8F #801E8F
triadic
#471E8F #8F471E #1E8F47
tetradic
#471E8F #8F1E2E #668F1E #1E8F80
square
#471E8F #8F1E2E #668F1E #1E8F80
split-complementary
#471E8F #8F801E #2E8F1E
monochromatic
#15092A #2E135C #471E8F #6029C2 #804EDA

Accessibility & contrast

On white

11.35
#471E8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#471E8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #471E8F
11.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471E8F#FFFFFF#000000##FFFFFF
##471E8F1.0011.351.8511.35
#FFFFFF11.351.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C92
Deuteranopia (green-blind)
#00388D
Tritanopia (blue-blind)
#303E56
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #471e8f;
/* rgb */ color: rgb(71, 30, 143);
/* oklch */ color: oklch(36.9% 0.170 292.4);
Tailwind
colors: {
  custom: {
    50: '#825fb1',
    500: '#471e8f',
    950: '#000000',
  },
}
SCSS
$custom: #471e8f;
$custom-light: #825fb1;
$custom-dark: #000000;
JSON
{
  "hex": "#471e8f",
  "rgb": {
    "r": 71,
    "g": 30,
    "b": 143
  },
  "hsl": {
    "h": 261.77,
    "s": 65.318,
    "l": 33.922
  },
  "oklch": {
    "l": 0.3693,
    "c": 0.17043,
    "h": 292.4
  },
  "luminance": 0.04251
}

Semantic roles & 50–950 ramp

primary
#471E8F
secondary
#94BC4C
accent
#E840AB
background
#F8F5FB
surface
#F0E9F6
border
#CBC5D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #471E8F

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

Preview Lab → · Contrast checker → · Palette generator →

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