#471E7E#471E7E

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

Color values

HEX#471E7E
RGBrgb(71, 30, 126)
HSLhsl(266, 62%, 31%)
HSVhsv(266, 76%, 49%)
CMYKcmyk(43.7%, 76.2%, 0%, 50.6%)
CIE-LABlab(22.91, 40.13, -46.80)
CIE-LCHlch(22.91, 61.65, 310.61°)
OKLaboklab(35.34% 0.0697 -0.1338)
OKLCHoklch(35.34% 0.151 297.5)
XYZxyz(6.8277, 3.7744, 20.1034)
Luminance0.0377 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471E7E #557E1E
analogous
#1E257E #471E7E #771E7E
triadic
#471E7E #7E471E #1E7E47
tetradic
#471E7E #7E1E25 #557E1E #1E7E77
square
#471E7E #7E1E25 #557E1E #1E7E77
split-complementary
#471E7E #7E771E #257E1E
monochromatic
#0F061B #2B124D #471E7E #632AAF #8144D2

Accessibility & contrast

On white

11.97
#471E7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #471E7E
11.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471E7E#FFFFFF#000000##FFFFFF
##471E7E1.0011.971.7511.97
#FFFFFF11.971.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003781
Deuteranopia (green-blind)
#00367C
Tritanopia (blue-blind)
#39374C
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #471e7e;
/* rgb */ color: rgb(71, 30, 126);
/* oklch */ color: oklch(35.3% 0.151 297.5);
Tailwind
colors: {
  custom: {
    50: '#805ea4',
    500: '#471e7e',
    950: '#000000',
  },
}
SCSS
$custom: #471e7e;
$custom-light: #805ea4;
$custom-dark: #000000;
JSON
{
  "hex": "#471e7e",
  "rgb": {
    "r": 71,
    "g": 30,
    "b": 126
  },
  "hsl": {
    "h": 265.625,
    "s": 61.538,
    "l": 30.588
  },
  "oklch": {
    "l": 0.35343,
    "c": 0.15089,
    "h": 297.5
  },
  "luminance": 0.03774
}

Semantic roles & 50–950 ramp

primary
#471E7E
secondary
#84B147
accent
#E543A0
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B050F
muted
#7C797F

Preview Lab

Preview with #471E7E

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

Preview Lab → · Contrast checker → · Palette generator →

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