#471D7F#471D7F

#471D7F is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.3% C 0.153 H 297.3°. Best body text is #FFFFFF at 12.00:1 contrast (WCAG AA passes).

Color values

HEX#471D7F
RGBrgb(71, 29, 127)
HSLhsl(266, 63%, 31%)
HSVhsv(266, 77%, 50%)
CMYKcmyk(44.1%, 77.2%, 0%, 50.2%)
CIE-LABlab(22.83, 40.89, -47.56)
CIE-LCHlch(22.83, 62.72, 310.68°)
OKLaboklab(35.31% 0.0704 -0.1361)
OKLCHoklch(35.31% 0.153 297.3)
XYZxyz(6.8677, 3.7505, 20.4366)
Luminance0.0375 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471D7F #557F1D
analogous
#1D247F #471D7F #781D7F
triadic
#471D7F #7F471D #1D7F47
tetradic
#471D7F #7F1D24 #557F1D #1D7F78
square
#471D7F #7F1D24 #557F1D #1D7F78
split-complementary
#471D7F #7F781D #247F1D
monochromatic
#0F061B #2B124D #471D7F #6328B1 #8142D4

Accessibility & contrast

On white

12.00
#471D7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #471D7F
12.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471D7F#FFFFFF#000000##FFFFFF
##471D7F1.0012.001.7512.00
#FFFFFF12.001.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003782
Deuteranopia (green-blind)
#00357D
Tritanopia (blue-blind)
#38374D
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #471d7f;
/* rgb */ color: rgb(71, 29, 127);
/* oklch */ color: oklch(35.3% 0.153 297.3);
Tailwind
colors: {
  custom: {
    50: '#805ea5',
    500: '#471d7f',
    950: '#000000',
  },
}
SCSS
$custom: #471d7f;
$custom-light: #805ea5;
$custom-dark: #000000;
JSON
{
  "hex": "#471d7f",
  "rgb": {
    "r": 71,
    "g": 29,
    "b": 127
  },
  "hsl": {
    "h": 265.714,
    "s": 62.821,
    "l": 30.588
  },
  "oklch": {
    "l": 0.35313,
    "c": 0.15321,
    "h": 297.3
  },
  "luminance": 0.03751
}

Semantic roles & 50–950 ramp

primary
#471D7F
secondary
#84B245
accent
#E642A0
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #471D7F

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

Preview Lab → · Contrast checker → · Palette generator →

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