#471A7A#471A7A

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

Color values

HEX#471A7A
RGBrgb(71, 26, 122)
HSLhsl(268, 65%, 29%)
HSVhsv(268, 79%, 48%)
CMYKcmyk(41.8%, 78.7%, 0%, 52.2%)
CIE-LABlab(21.88, 40.96, -45.93)
CIE-LCHlch(21.88, 61.54, 311.73°)
OKLaboklab(34.51% 0.0745 -0.1313)
OKLCHoklch(34.51% 0.151 299.6)
XYZxyz(6.4799, 3.4834, 18.7396)
Luminance0.0348 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471A7A #4D7A1A
analogous
#1A1D7A #471A7A #771A7A
triadic
#471A7A #7A471A #1A7A47
tetradic
#471A7A #7A1A1D #4D7A1A #1A7A77
square
#471A7A #7A1A1D #4D7A1A #1A7A77
split-complementary
#471A7A #7A771A #1D7A1A
monochromatic
#0F0519 #2A0F48 #471A7A #6425AC #8239D5

Accessibility & contrast

On white

12.38
#471A7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #471A7A
12.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471A7A#FFFFFF#000000##FFFFFF
##471A7A1.0012.381.7012.38
#FFFFFF12.381.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00347D
Deuteranopia (green-blind)
#003478
Tritanopia (blue-blind)
#3B3349
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #471a7a;
/* rgb */ color: rgb(71, 26, 122);
/* oklch */ color: oklch(34.5% 0.151 299.6);
Tailwind
colors: {
  custom: {
    50: '#805ca1',
    500: '#471a7a',
    950: '#000000',
  },
}
SCSS
$custom: #471a7a;
$custom-light: #805ca1;
$custom-dark: #000000;
JSON
{
  "hex": "#471a7a",
  "rgb": {
    "r": 71,
    "g": 26,
    "b": 122
  },
  "hsl": {
    "h": 268.125,
    "s": 64.865,
    "l": 29.02
  },
  "oklch": {
    "l": 0.3451,
    "c": 0.15094,
    "h": 299.6
  },
  "luminance": 0.03484
}

Semantic roles & 50–950 ramp

primary
#471A7A
secondary
#7BAE41
accent
#E84099
background
#F8F5FA
surface
#EFE9F3
border
#CAC5CD
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #471A7A

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

Preview Lab → · Contrast checker → · Palette generator →

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