#471B7B#471B7B

#471B7B is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.7% C 0.151 H 299.0°. Best body text is #FFFFFF at 12.27:1 contrast (WCAG AA passes).

Color values

HEX#471B7B
RGBrgb(71, 27, 123)
HSLhsl(268, 64%, 29%)
HSVhsv(268, 78%, 48%)
CMYKcmyk(42.3%, 78%, 0%, 51.8%)
CIE-LABlab(22.14, 40.76, -46.16)
CIE-LCHlch(22.14, 61.58, 311.45°)
OKLaboklab(34.72% 0.0733 -0.132)
OKLCHoklch(34.72% 0.151 299)
XYZxyz(6.5647, 3.5534, 19.0751)
Luminance0.0355 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471B7B #4F7B1B
analogous
#1B1F7B #471B7B #771B7B
triadic
#471B7B #7B471B #1B7B47
tetradic
#471B7B #7B1B1F #4F7B1B #1B7B77
square
#471B7B #7B1B1F #4F7B1B #1B7B77
split-complementary
#471B7B #7B771B #1F7B1B
monochromatic
#0E0619 #2A1049 #471B7B #6426AD #823CD4

Accessibility & contrast

On white

12.27
#471B7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#471B7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #471B7B
12.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471B7B#FFFFFF#000000##FFFFFF
##471B7B1.0012.271.7112.27
#FFFFFF12.271.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00357E
Deuteranopia (green-blind)
#003479
Tritanopia (blue-blind)
#3A344A
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #471b7b;
/* rgb */ color: rgb(71, 27, 123);
/* oklch */ color: oklch(34.7% 0.151 299.0);
Tailwind
colors: {
  custom: {
    50: '#805ca2',
    500: '#471b7b',
    950: '#000000',
  },
}
SCSS
$custom: #471b7b;
$custom-light: #805ca2;
$custom-dark: #000000;
JSON
{
  "hex": "#471b7b",
  "rgb": {
    "r": 71,
    "g": 27,
    "b": 123
  },
  "hsl": {
    "h": 267.5,
    "s": 64,
    "l": 29.412
  },
  "oklch": {
    "l": 0.34715,
    "c": 0.15094,
    "h": 299
  },
  "luminance": 0.03554
}

Semantic roles & 50–950 ramp

primary
#471B7B
secondary
#7DAF43
accent
#E7419B
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #471B7B

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

Preview Lab → · Contrast checker → · Palette generator →

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