#471F83#471F83

#471F83 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 35.9% C 0.156 H 295.7°. Best body text is #FFFFFF at 11.72:1 contrast (WCAG AA passes).

Color values

HEX#471F83
RGBrgb(71, 31, 131)
HSLhsl(264, 62%, 32%)
HSVhsv(264, 76%, 51%)
CMYKcmyk(45.8%, 76.3%, 0%, 48.6%)
CIE-LABlab(23.53, 41.01, -48.94)
CIE-LCHlch(23.53, 63.85, 309.96°)
OKLaboklab(35.92% 0.0675 -0.1401)
OKLCHoklch(35.92% 0.156 295.7)
XYZxyz(7.1842, 3.9581, 21.8538)
Luminance0.0396 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471F83 #5B831F
analogous
#1F2983 #471F83 #791F83
triadic
#471F83 #83471F #1F8347
tetradic
#471F83 #831F29 #5B831F #1F8379
square
#471F83 #831F29 #5B831F #1F8379
split-complementary
#471F83 #83791F #29831F
monochromatic
#110820 #2C1352 #471F83 #622BB4 #8049D4

Accessibility & contrast

On white

11.72
#471F83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#471F83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #471F83
11.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471F83#FFFFFF#000000##FFFFFF
##471F831.0011.721.7911.72
#FFFFFF11.721.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003986
Deuteranopia (green-blind)
#003781
Tritanopia (blue-blind)
#36394F
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #471f83;
/* rgb */ color: rgb(71, 31, 131);
/* oklch */ color: oklch(35.9% 0.156 295.7);
Tailwind
colors: {
  custom: {
    50: '#805fa8',
    500: '#471f83',
    950: '#000000',
  },
}
SCSS
$custom: #471f83;
$custom-light: #805fa8;
$custom-dark: #000000;
JSON
{
  "hex": "#471f83",
  "rgb": {
    "r": 71,
    "g": 31,
    "b": 131
  },
  "hsl": {
    "h": 264,
    "s": 61.728,
    "l": 31.765
  },
  "oklch": {
    "l": 0.35919,
    "c": 0.15554,
    "h": 295.7
  },
  "luminance": 0.03958
}

Semantic roles & 50–950 ramp

primary
#471F83
secondary
#8AB648
accent
#E543A4
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #471F83

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

Preview Lab → · Contrast checker → · Palette generator →

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