#471D7D#471D7D

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

Color values

HEX#471D7D
RGBrgb(71, 29, 125)
HSLhsl(266, 62%, 30%)
HSVhsv(266, 77%, 49%)
CMYKcmyk(43.2%, 76.8%, 0%, 51%)
CIE-LABlab(22.65, 40.35, -46.59)
CIE-LCHlch(22.65, 61.63, 310.89°)
OKLaboklab(35.13% 0.0709 -0.1332)
OKLCHoklch(35.13% 0.151 298)
XYZxyz(6.7386, 3.6989, 19.7570)
Luminance0.0370 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471D7D #537D1D
analogous
#1D237D #471D7D #771D7D
triadic
#471D7D #7D471D #1D7D47
tetradic
#471D7D #7D1D23 #537D1D #1D7D77
square
#471D7D #7D1D23 #537D1D #1D7D77
split-complementary
#471D7D #7D771D #237D1D
monochromatic
#0F061A #2B114B #471D7D #6329AF #8141D3

Accessibility & contrast

On white

12.07
#471D7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#471D7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #471D7D
12.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471D7D#FFFFFF#000000##FFFFFF
##471D7D1.0012.071.7412.07
#FFFFFF12.071.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003680
Deuteranopia (green-blind)
#00357B
Tritanopia (blue-blind)
#39364B
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #471d7d;
/* rgb */ color: rgb(71, 29, 125);
/* oklch */ color: oklch(35.1% 0.151 298.0);
Tailwind
colors: {
  custom: {
    50: '#805ea3',
    500: '#471d7d',
    950: '#000000',
  },
}
SCSS
$custom: #471d7d;
$custom-light: #805ea3;
$custom-dark: #000000;
JSON
{
  "hex": "#471d7d",
  "rgb": {
    "r": 71,
    "g": 29,
    "b": 125
  },
  "hsl": {
    "h": 266.25,
    "s": 62.338,
    "l": 30.196
  },
  "oklch": {
    "l": 0.35131,
    "c": 0.15091,
    "h": 298
  },
  "luminance": 0.03699
}

Semantic roles & 50–950 ramp

primary
#471D7D
secondary
#82B145
accent
#E5429E
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #471D7D

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

Preview Lab → · Contrast checker → · Palette generator →

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