#471B8D#471B8D

#471B8D is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.4% C 0.171 H 293.4°. Best body text is #FFFFFF at 11.61:1 contrast (WCAG AA passes).

Color values

HEX#471B8D
RGBrgb(71, 27, 141)
HSLhsl(263, 68%, 33%)
HSVhsv(263, 81%, 55%)
CMYKcmyk(49.6%, 80.9%, 0%, 44.7%)
CIE-LABlab(23.82, 45.60, -54.72)
CIE-LCHlch(23.82, 71.23, 309.80°)
OKLaboklab(36.41% 0.068 -0.1571)
OKLCHoklch(36.41% 0.171 293.4)
XYZxyz(7.7968, 4.0463, 25.5643)
Luminance0.0405 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471B8D #618D1B
analogous
#1B288D #471B8D #801B8D
triadic
#471B8D #8D471B #1B8D47
tetradic
#471B8D #8D1B28 #618D1B #1B8D80
square
#471B8D #8D1B28 #618D1B #1B8D80
split-complementary
#471B8D #8D801B #288D1B
monochromatic
#130726 #2D115A #471B8D #6125C0 #8047DC

Accessibility & contrast

On white

11.61
#471B8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#471B8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #471B8D
11.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471B8D#FFFFFF#000000##FFFFFF
##471B8D1.0011.611.8111.61
#FFFFFF11.611.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A90
Deuteranopia (green-blind)
#00378B
Tritanopia (blue-blind)
#313C54
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #471b8d;
/* rgb */ color: rgb(71, 27, 141);
/* oklch */ color: oklch(36.4% 0.171 293.4);
Tailwind
colors: {
  custom: {
    50: '#825daf',
    500: '#471b8d',
    950: '#000000',
  },
}
SCSS
$custom: #471b8d;
$custom-light: #825daf;
$custom-dark: #000000;
JSON
{
  "hex": "#471b8d",
  "rgb": {
    "r": 71,
    "g": 27,
    "b": 141
  },
  "hsl": {
    "h": 263.158,
    "s": 67.857,
    "l": 32.941
  },
  "oklch": {
    "l": 0.36411,
    "c": 0.17114,
    "h": 293.4
  },
  "luminance": 0.04047
}

Semantic roles & 50–950 ramp

primary
#471B8D
secondary
#8FBD46
accent
#EB3DA8
background
#F8F5FA
surface
#F0E9F5
border
#CBC5CF
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #471B8D

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

Preview Lab → · Contrast checker → · Palette generator →

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