#471A75#471A75

#471A75 is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.1% C 0.145 H 301.4°. Best body text is #FFFFFF at 12.56:1 contrast (WCAG AA passes).

Color values

HEX#471A75
RGBrgb(71, 26, 117)
HSLhsl(270, 64%, 28%)
HSVhsv(270, 78%, 46%)
CMYKcmyk(39.3%, 77.8%, 0%, 54.1%)
CIE-LABlab(21.44, 39.65, -43.46)
CIE-LCHlch(21.44, 58.83, 312.38°)
OKLaboklab(34.06% 0.0758 -0.124)
OKLCHoklch(34.06% 0.145 301.4)
XYZxyz(6.1780, 3.3627, 17.1498)
Luminance0.0336 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471A75 #48751A
analogous
#1A1B75 #471A75 #741A75
triadic
#471A75 #75471A #1A7547
tetradic
#471A75 #751A1B #48751A #1A7574
square
#471A75 #751A1B #48751A #1A7574
split-complementary
#471A75 #75741A #1B751A
monochromatic
#0F0619 #290F43 #471A75 #6525A7 #8437D3

Accessibility & contrast

On white

12.56
#471A75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#471A75 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #471A75
12.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471A75#FFFFFF#000000##FFFFFF
##471A751.0012.561.6712.56
#FFFFFF12.561.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003378
Deuteranopia (green-blind)
#003373
Tritanopia (blue-blind)
#3D3146
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #471a75;
/* rgb */ color: rgb(71, 26, 117);
/* oklch */ color: oklch(34.1% 0.145 301.4);
Tailwind
colors: {
  custom: {
    50: '#7f5c9e',
    500: '#471a75',
    950: '#000000',
  },
}
SCSS
$custom: #471a75;
$custom-light: #7f5c9e;
$custom-dark: #000000;
JSON
{
  "hex": "#471a75",
  "rgb": {
    "r": 71,
    "g": 26,
    "b": 117
  },
  "hsl": {
    "h": 269.67,
    "s": 63.636,
    "l": 28.039
  },
  "oklch": {
    "l": 0.34061,
    "c": 0.14533,
    "h": 301.4
  },
  "luminance": 0.03363
}

Semantic roles & 50–950 ramp

primary
#471A75
secondary
#76AA41
accent
#E74195
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #471A75

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

Preview Lab → · Contrast checker → · Palette generator →

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