#471B82#471B82

#471B82 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.4% C 0.159 H 296.7°. Best body text is #FFFFFF at 12.02:1 contrast (WCAG AA passes).

Color values

HEX#471B82
RGBrgb(71, 27, 130)
HSLhsl(266, 66%, 31%)
HSVhsv(266, 79%, 51%)
CMYKcmyk(45.4%, 79.2%, 0%, 49%)
CIE-LABlab(22.78, 42.63, -49.55)
CIE-LCHlch(22.78, 65.37, 310.71°)
OKLaboklab(35.36% 0.0714 -0.1419)
OKLCHoklch(35.36% 0.159 296.7)
XYZxyz(7.0187, 3.7350, 21.4659)
Luminance0.0374 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471B82 #56821B
analogous
#1B2282 #471B82 #7A1B82
triadic
#471B82 #82471B #1B8247
tetradic
#471B82 #821B22 #56821B #1B827A
square
#471B82 #821B22 #56821B #1B827A
split-complementary
#471B82 #827A1B #22821B
monochromatic
#10061D #2B104F #471B82 #6326B5 #8140D7

Accessibility & contrast

On white

12.02
#471B82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#471B82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #471B82
12.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471B82#FFFFFF#000000##FFFFFF
##471B821.0012.021.7512.02
#FFFFFF12.021.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003785
Deuteranopia (green-blind)
#003580
Tritanopia (blue-blind)
#37374E
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #471b82;
/* rgb */ color: rgb(71, 27, 130);
/* oklch */ color: oklch(35.4% 0.159 296.7);
Tailwind
colors: {
  custom: {
    50: '#815da7',
    500: '#471b82',
    950: '#000000',
  },
}
SCSS
$custom: #471b82;
$custom-light: #815da7;
$custom-dark: #000000;
JSON
{
  "hex": "#471b82",
  "rgb": {
    "r": 71,
    "g": 27,
    "b": 130
  },
  "hsl": {
    "h": 265.631,
    "s": 65.605,
    "l": 30.784
  },
  "oklch": {
    "l": 0.3536,
    "c": 0.15883,
    "h": 296.7
  },
  "luminance": 0.03735
}

Semantic roles & 50–950 ramp

primary
#471B82
secondary
#85B643
accent
#E93FA0
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B0410
muted
#7C797F

Preview Lab

Preview with #471B82

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

Preview Lab → · Contrast checker → · Palette generator →

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