#471E6D#471E6D

#471E6D is a dark, vivid violet. Relative luminance 0.034; OKLCH L 33.9% C 0.131 H 303.9°. Best body text is #FFFFFF at 12.54:1 contrast (WCAG AA passes).

Color values

HEX#471E6D
RGBrgb(71, 30, 109)
HSLhsl(271, 57%, 27%)
HSVhsv(271, 72%, 43%)
CMYKcmyk(34.9%, 72.5%, 0%, 57.3%)
CIE-LABlab(21.48, 35.56, -38.24)
CIE-LCHlch(21.48, 52.22, 312.92°)
OKLaboklab(33.88% 0.0731 -0.1087)
OKLCHoklch(33.88% 0.131 303.9)
XYZxyz(5.8225, 3.3723, 14.8092)
Luminance0.0337 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471E6D #446D1E
analogous
#1F1E6D #471E6D #6D1E6C
triadic
#471E6D #6D471E #1E6D47
tetradic
#471E6D #6D1F1E #446D1E #1E6C6D
square
#471E6D #6D1F1E #446D1E #1E6C6D
split-complementary
#471E6D #6C6D1E #1E6D1F
monochromatic
#100718 #28113D #471E6D #662B9D #853CC9

Accessibility & contrast

On white

12.54
#471E6D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #471E6D
12.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471E6D#FFFFFF#000000##FFFFFF
##471E6D1.0012.541.6712.54
#FFFFFF12.541.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00336F
Deuteranopia (green-blind)
#00336B
Tritanopia (blue-blind)
#403043
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #471e6d;
/* rgb */ color: rgb(71, 30, 109);
/* oklch */ color: oklch(33.9% 0.131 303.9);
Tailwind
colors: {
  custom: {
    50: '#7e5d97',
    500: '#471e6d',
    950: '#000000',
  },
}
SCSS
$custom: #471e6d;
$custom-light: #7e5d97;
$custom-dark: #000000;
JSON
{
  "hex": "#471e6d",
  "rgb": {
    "r": 71,
    "g": 30,
    "b": 109
  },
  "hsl": {
    "h": 271.139,
    "s": 56.835,
    "l": 27.255
  },
  "oklch": {
    "l": 0.33877,
    "c": 0.13098,
    "h": 303.9
  },
  "luminance": 0.03372
}

Semantic roles & 50–950 ramp

primary
#471E6D
secondary
#72A145
accent
#E04891
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040D
muted
#7C797E

Preview Lab

Preview with #471E6D

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

Preview Lab → · Contrast checker → · Palette generator →

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