#471E7F#471E7F

#471E7F is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.4% C 0.152 H 297.2°. Best body text is #FFFFFF at 11.93:1 contrast (WCAG AA passes).

Color values

HEX#471E7F
RGBrgb(71, 30, 127)
HSLhsl(265, 62%, 31%)
HSVhsv(265, 76%, 50%)
CMYKcmyk(44.1%, 76.4%, 0%, 50.2%)
CIE-LABlab(23.00, 40.40, -47.28)
CIE-LCHlch(23.00, 62.20, 310.51°)
OKLaboklab(35.43% 0.0694 -0.1353)
OKLCHoklch(35.43% 0.152 297.2)
XYZxyz(6.8926, 3.8003, 20.4449)
Luminance0.0380 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471E7F #567F1E
analogous
#1E257F #471E7F #771E7F
triadic
#471E7F #7F471E #1E7F47
tetradic
#471E7F #7F1E25 #567F1E #1E7F77
square
#471E7F #7F1E25 #567F1E #1E7F77
split-complementary
#471E7F #7F771E #257F1E
monochromatic
#10071C #2B124D #471E7F #632AB1 #8144D3

Accessibility & contrast

On white

11.93
#471E7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#471E7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #471E7F
11.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471E7F#FFFFFF#000000##FFFFFF
##471E7F1.0011.931.7611.93
#FFFFFF11.931.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.931.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #471e7f;
/* rgb */ color: rgb(71, 30, 127);
/* oklch */ color: oklch(35.4% 0.152 297.2);
Tailwind
colors: {
  custom: {
    50: '#805ea5',
    500: '#471e7f',
    950: '#000000',
  },
}
SCSS
$custom: #471e7f;
$custom-light: #805ea5;
$custom-dark: #000000;
JSON
{
  "hex": "#471e7f",
  "rgb": {
    "r": 71,
    "g": 30,
    "b": 127
  },
  "hsl": {
    "h": 265.361,
    "s": 61.783,
    "l": 30.784
  },
  "oklch": {
    "l": 0.35433,
    "c": 0.15205,
    "h": 297.2
  },
  "luminance": 0.038
}

Semantic roles & 50–950 ramp

primary
#471E7F
secondary
#85B247
accent
#E543A0
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B050F
muted
#7C797F

Preview Lab

Preview with #471E7F

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

Preview Lab → · Contrast checker → · Palette generator →

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