#471A8B#471A8B

#471A8B is a dark, vivid violet. Relative luminance 0.039; OKLCH L 36.1% C 0.170 H 294.1°. Best body text is #FFFFFF at 11.74:1 contrast (WCAG AA passes).

Color values

HEX#471A8B
RGBrgb(71, 26, 139)
HSLhsl(264, 68%, 32%)
HSVhsv(264, 81%, 55%)
CMYKcmyk(48.9%, 81.3%, 0%, 45.5%)
CIE-LABlab(23.48, 45.49, -54.04)
CIE-LCHlch(23.48, 70.64, 310.09°)
OKLaboklab(36.11% 0.0694 -0.1551)
OKLCHoklch(36.11% 0.17 294.1)
XYZxyz(7.6268, 3.9422, 24.7802)
Luminance0.0394 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471A8B #5E8B1A
analogous
#1A258B #471A8B #801A8B
triadic
#471A8B #8B471A #1A8B47
tetradic
#471A8B #8B1A25 #5E8B1A #1A8B80
square
#471A8B #8B1A25 #5E8B1A #1A8B80
split-complementary
#471A8B #8B801A #258B1A
monochromatic
#120724 #2D1057 #471A8B #6124BF #8043DC

Accessibility & contrast

On white

11.74
#471A8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#471A8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #471A8B
11.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471A8B#FFFFFF#000000##FFFFFF
##471A8B1.0011.741.7911.74
#FFFFFF11.741.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00398E
Deuteranopia (green-blind)
#003689
Tritanopia (blue-blind)
#323A53
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #471a8b;
/* rgb */ color: rgb(71, 26, 139);
/* oklch */ color: oklch(36.1% 0.170 294.1);
Tailwind
colors: {
  custom: {
    50: '#825dae',
    500: '#471a8b',
    950: '#000000',
  },
}
SCSS
$custom: #471a8b;
$custom-light: #825dae;
$custom-dark: #000000;
JSON
{
  "hex": "#471a8b",
  "rgb": {
    "r": 71,
    "g": 26,
    "b": 139
  },
  "hsl": {
    "h": 263.894,
    "s": 68.485,
    "l": 32.353
  },
  "oklch": {
    "l": 0.36113,
    "c": 0.16987,
    "h": 294.1
  },
  "luminance": 0.03942
}

Semantic roles & 50–950 ramp

primary
#471A8B
secondary
#8DBD44
accent
#EB3CA6
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0B0410
muted
#7C797F

Preview Lab

Preview with #471A8B

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

Preview Lab → · Contrast checker → · Palette generator →

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