#471F71#471F71

#471F71 is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.3% C 0.134 H 302.0°. Best body text is #FFFFFF at 12.34:1 contrast (WCAG AA passes).

Color values

HEX#471F71
RGBrgb(71, 31, 113)
HSLhsl(269, 57%, 28%)
HSVhsv(269, 73%, 44%)
CMYKcmyk(37.2%, 72.6%, 0%, 55.7%)
CIE-LABlab(21.99, 36.10, -40.00)
CIE-LCHlch(21.99, 53.88, 312.07°)
OKLaboklab(34.34% 0.0713 -0.1139)
OKLCHoklch(34.34% 0.134 302)
XYZxyz(6.0684, 3.5118, 15.9777)
Luminance0.0351 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471F71 #49711F
analogous
#1F2071 #471F71 #701F71
triadic
#471F71 #71471F #1F7147
tetradic
#471F71 #711F20 #49711F #1F7170
square
#471F71 #711F20 #49711F #1F7170
split-complementary
#471F71 #71701F #20711F
monochromatic
#0F0718 #291241 #471F71 #652CA1 #8440CB

Accessibility & contrast

On white

12.34
#471F71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #471F71
12.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471F71#FFFFFF#000000##FFFFFF
##471F711.0012.341.7012.34
#FFFFFF12.341.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003473
Deuteranopia (green-blind)
#00346F
Tritanopia (blue-blind)
#3E3245
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #471f71;
/* rgb */ color: rgb(71, 31, 113);
/* oklch */ color: oklch(34.3% 0.134 302.0);
Tailwind
colors: {
  custom: {
    50: '#7e5e9a',
    500: '#471f71',
    950: '#000000',
  },
}
SCSS
$custom: #471f71;
$custom-light: #7e5e9a;
$custom-dark: #000000;
JSON
{
  "hex": "#471f71",
  "rgb": {
    "r": 71,
    "g": 31,
    "b": 113
  },
  "hsl": {
    "h": 269.268,
    "s": 56.944,
    "l": 28.235
  },
  "oklch": {
    "l": 0.34342,
    "c": 0.13434,
    "h": 302
  },
  "luminance": 0.03512
}

Semantic roles & 50–950 ramp

primary
#471F71
secondary
#77A547
accent
#E04896
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #471F71

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

Preview Lab → · Contrast checker → · Palette generator →

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