#471D7E#471D7E

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

Color values

HEX#471D7E
RGBrgb(71, 29, 126)
HSLhsl(266, 63%, 30%)
HSVhsv(266, 77%, 49%)
CMYKcmyk(43.7%, 77%, 0%, 50.6%)
CIE-LABlab(22.74, 40.62, -47.08)
CIE-LCHlch(22.74, 62.18, 310.79°)
OKLaboklab(35.22% 0.0706 -0.1347)
OKLCHoklch(35.22% 0.152 297.7)
XYZxyz(6.8028, 3.7246, 20.0951)
Luminance0.0372 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471D7E #547E1D
analogous
#1D247E #471D7E #771D7E
triadic
#471D7E #7E471D #1D7E47
tetradic
#471D7E #7E1D24 #547E1D #1D7E77
square
#471D7E #7E1D24 #547E1D #1D7E77
split-complementary
#471D7E #7E771D #247E1D
monochromatic
#0F061B #2B124C #471D7E #6328B0 #8142D3

Accessibility & contrast

On white

12.03
#471D7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#471D7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #471D7E
12.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471D7E#FFFFFF#000000##FFFFFF
##471D7E1.0012.031.7512.03
#FFFFFF12.031.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.031.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #471d7e;
/* rgb */ color: rgb(71, 29, 126);
/* oklch */ color: oklch(35.2% 0.152 297.7);
Tailwind
colors: {
  custom: {
    50: '#805ea4',
    500: '#471d7e',
    950: '#000000',
  },
}
SCSS
$custom: #471d7e;
$custom-light: #805ea4;
$custom-dark: #000000;
JSON
{
  "hex": "#471d7e",
  "rgb": {
    "r": 71,
    "g": 29,
    "b": 126
  },
  "hsl": {
    "h": 265.979,
    "s": 62.581,
    "l": 30.392
  },
  "oklch": {
    "l": 0.35222,
    "c": 0.15206,
    "h": 297.7
  },
  "luminance": 0.03725
}

Semantic roles & 50–950 ramp

primary
#471D7E
secondary
#83B145
accent
#E6429F
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #471D7E

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

Preview Lab → · Contrast checker → · Palette generator →

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