#471B79#471B79

#471B79 is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.5% C 0.149 H 299.8°. Best body text is #FFFFFF at 12.35:1 contrast (WCAG AA passes).

Color values

HEX#471B79
RGBrgb(71, 27, 121)
HSLhsl(268, 64%, 29%)
HSVhsv(268, 78%, 47%)
CMYKcmyk(41.3%, 77.7%, 0%, 52.5%)
CIE-LABlab(21.96, 40.23, -45.17)
CIE-LCHlch(21.96, 60.49, 311.69°)
OKLaboklab(34.53% 0.0738 -0.1291)
OKLCHoklch(34.53% 0.149 299.8)
XYZxyz(6.4408, 3.5039, 18.4224)
Luminance0.0350 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471B79 #4D791B
analogous
#1B1E79 #471B79 #761B79
triadic
#471B79 #79471B #1B7947
tetradic
#471B79 #791B1E #4D791B #1B7976
square
#471B79 #791B1E #4D791B #1B7976
split-complementary
#471B79 #79761B #1E791B
monochromatic
#0F0619 #2A1047 #471B79 #6426AB #823BD3

Accessibility & contrast

On white

12.35
#471B79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#471B79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #471B79
12.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471B79#FFFFFF#000000##FFFFFF
##471B791.0012.351.7012.35
#FFFFFF12.351.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00347C
Deuteranopia (green-blind)
#003477
Tritanopia (blue-blind)
#3B3349
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #471b79;
/* rgb */ color: rgb(71, 27, 121);
/* oklch */ color: oklch(34.5% 0.149 299.8);
Tailwind
colors: {
  custom: {
    50: '#805ca0',
    500: '#471b79',
    950: '#000000',
  },
}
SCSS
$custom: #471b79;
$custom-light: #805ca0;
$custom-dark: #000000;
JSON
{
  "hex": "#471b79",
  "rgb": {
    "r": 71,
    "g": 27,
    "b": 121
  },
  "hsl": {
    "h": 268.085,
    "s": 63.514,
    "l": 29.02
  },
  "oklch": {
    "l": 0.34534,
    "c": 0.14867,
    "h": 299.8
  },
  "luminance": 0.03504
}

Semantic roles & 50–950 ramp

primary
#471B79
secondary
#7BAD43
accent
#E74199
background
#F8F5FA
surface
#EFE9F3
border
#CAC5CD
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #471B79

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

Preview Lab → · Contrast checker → · Palette generator →

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