#471B7F#471B7F

#471B7F is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.1% C 0.155 H 297.7°. Best body text is #FFFFFF at 12.13:1 contrast (WCAG AA passes).

Color values

HEX#471B7F
RGBrgb(71, 27, 127)
HSLhsl(266, 65%, 30%)
HSVhsv(266, 79%, 50%)
CMYKcmyk(44.1%, 78.7%, 0%, 50.2%)
CIE-LABlab(22.50, 41.83, -48.10)
CIE-LCHlch(22.50, 63.75, 311.01°)
OKLaboklab(35.08% 0.0722 -0.1377)
OKLCHoklch(35.08% 0.155 297.7)
XYZxyz(6.8202, 3.6556, 20.4208)
Luminance0.0366 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471B7F #537F1B
analogous
#1B217F #471B7F #791B7F
triadic
#471B7F #7F471B #1B7F47
tetradic
#471B7F #7F1B21 #537F1B #1B7F79
square
#471B7F #7F1B21 #537F1B #1B7F79
split-complementary
#471B7F #7F791B #217F1B
monochromatic
#0F061A #2B104D #471B7F #6326B1 #813ED6

Accessibility & contrast

On white

12.13
#471B7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#471B7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #471B7F
12.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471B7F#FFFFFF#000000##FFFFFF
##471B7F1.0012.131.7312.13
#FFFFFF12.131.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003682
Deuteranopia (green-blind)
#00357D
Tritanopia (blue-blind)
#39364C
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #471b7f;
/* rgb */ color: rgb(71, 27, 127);
/* oklch */ color: oklch(35.1% 0.155 297.7);
Tailwind
colors: {
  custom: {
    50: '#805da5',
    500: '#471b7f',
    950: '#000000',
  },
}
SCSS
$custom: #471b7f;
$custom-light: #805da5;
$custom-dark: #000000;
JSON
{
  "hex": "#471b7f",
  "rgb": {
    "r": 71,
    "g": 27,
    "b": 127
  },
  "hsl": {
    "h": 266.4,
    "s": 64.935,
    "l": 30.196
  },
  "oklch": {
    "l": 0.35081,
    "c": 0.15545,
    "h": 297.7
  },
  "luminance": 0.03656
}

Semantic roles & 50–950 ramp

primary
#471B7F
secondary
#82B343
accent
#E8409E
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #471B7F

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

Preview Lab → · Contrast checker → · Palette generator →

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