#471E6E#471E6E

#471E6E is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.0% C 0.132 H 303.5°. Best body text is #FFFFFF at 12.51:1 contrast (WCAG AA passes).

Color values

HEX#471E6E
RGBrgb(71, 30, 110)
HSLhsl(271, 57%, 27%)
HSVhsv(271, 73%, 43%)
CMYKcmyk(35.5%, 72.7%, 0%, 56.9%)
CIE-LABlab(21.56, 35.83, -38.76)
CIE-LCHlch(21.56, 52.78, 312.75°)
OKLaboklab(33.96% 0.0729 -0.1102)
OKLCHoklch(33.96% 0.132 303.5)
XYZxyz(5.8766, 3.3939, 15.0943)
Luminance0.0339 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471E6E #456E1E
analogous
#1F1E6E #471E6E #6E1E6D
triadic
#471E6E #6E471E #1E6E47
tetradic
#471E6E #6E1F1E #456E1E #1E6D6E
square
#471E6E #6E1F1E #456E1E #1E6D6E
split-complementary
#471E6E #6D6E1E #1E6E1F
monochromatic
#100718 #28113E #471E6E #662B9E #853CCA

Accessibility & contrast

On white

12.51
#471E6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#471E6E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #471E6E
12.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471E6E#FFFFFF#000000##FFFFFF
##471E6E1.0012.511.6812.51
#FFFFFF12.511.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003370
Deuteranopia (green-blind)
#00346C
Tritanopia (blue-blind)
#3F3143
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #471e6e;
/* rgb */ color: rgb(71, 30, 110);
/* oklch */ color: oklch(34.0% 0.132 303.5);
Tailwind
colors: {
  custom: {
    50: '#7e5d98',
    500: '#471e6e',
    950: '#000000',
  },
}
SCSS
$custom: #471e6e;
$custom-light: #7e5d98;
$custom-dark: #000000;
JSON
{
  "hex": "#471e6e",
  "rgb": {
    "r": 71,
    "g": 30,
    "b": 110
  },
  "hsl": {
    "h": 270.75,
    "s": 57.143,
    "l": 27.451
  },
  "oklch": {
    "l": 0.33959,
    "c": 0.13215,
    "h": 303.5
  },
  "luminance": 0.03394
}

Semantic roles & 50–950 ramp

primary
#471E6E
secondary
#73A246
accent
#E04792
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #471E6E

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

Preview Lab → · Contrast checker → · Palette generator →

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