#471A8D#471A8D

#471A8D is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.3% C 0.172 H 293.5°. Best body text is #FFFFFF at 11.67:1 contrast (WCAG AA passes).

Color values

HEX#471A8D
RGBrgb(71, 26, 141)
HSLhsl(263, 69%, 33%)
HSVhsv(263, 82%, 55%)
CMYKcmyk(49.6%, 81.6%, 0%, 44.7%)
CIE-LABlab(23.68, 46.03, -54.96)
CIE-LCHlch(23.68, 71.69, 309.94°)
OKLaboklab(36.31% 0.0687 -0.1578)
OKLCHoklch(36.31% 0.172 293.5)
XYZxyz(7.7743, 4.0012, 25.5568)
Luminance0.0400 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471A8D #608D1A
analogous
#1A278D #471A8D #801A8D
triadic
#471A8D #8D471A #1A8D47
tetradic
#471A8D #8D1A27 #608D1A #1A8D80
square
#471A8D #8D1A27 #608D1A #1A8D80
split-complementary
#471A8D #8D801A #278D1A
monochromatic
#130726 #2D1059 #471A8D #6124C1 #8045DD

Accessibility & contrast

On white

11.67
#471A8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#471A8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #471A8D
11.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471A8D#FFFFFF#000000##FFFFFF
##471A8D1.0011.671.8011.67
#FFFFFF11.671.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A90
Deuteranopia (green-blind)
#00368B
Tritanopia (blue-blind)
#313B54
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #471a8d;
/* rgb */ color: rgb(71, 26, 141);
/* oklch */ color: oklch(36.3% 0.172 293.5);
Tailwind
colors: {
  custom: {
    50: '#825daf',
    500: '#471a8d',
    950: '#000000',
  },
}
SCSS
$custom: #471a8d;
$custom-light: #825daf;
$custom-dark: #000000;
JSON
{
  "hex": "#471a8d",
  "rgb": {
    "r": 71,
    "g": 26,
    "b": 141
  },
  "hsl": {
    "h": 263.478,
    "s": 68.862,
    "l": 32.745
  },
  "oklch": {
    "l": 0.36308,
    "c": 0.17208,
    "h": 293.5
  },
  "luminance": 0.04001
}

Semantic roles & 50–950 ramp

primary
#471A8D
secondary
#8FBE45
accent
#EC3CA7
background
#F8F5FA
surface
#F0E9F5
border
#CBC5CF
text
#0B0411
muted
#7C7980

Preview Lab

Preview with #471A8D

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

Preview Lab → · Contrast checker → · Palette generator →

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