#471FA8#471FA8

#471FA8 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.5% C 0.198 H 286.5°. Best body text is #FFFFFF at 10.35:1 contrast (WCAG AA passes).

Color values

HEX#471FA8
RGBrgb(71, 31, 168)
HSLhsl(258, 69%, 39%)
HSVhsv(258, 82%, 66%)
CMYKcmyk(57.7%, 81.5%, 0%, 34.1%)
CIE-LABlab(27.15, 51.27, -65.80)
CIE-LCHlch(27.15, 83.41, 307.93°)
OKLaboklab(39.53% 0.0562 -0.1895)
OKLCHoklch(39.53% 0.198 286.5)
XYZxyz(10.1543, 5.1461, 37.4964)
Luminance0.0515 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471FA8 #80A81F
analogous
#1F3CA8 #471FA8 #8C1FA8
triadic
#471FA8 #A8471F #1FA847
tetradic
#471FA8 #A81F3C #80A81F #1FA88C
square
#471FA8 #A81F3C #80A81F #1FA88C
split-complementary
#471FA8 #A88C1F #3CA81F
monochromatic
#1B0C41 #311574 #471FA8 #5E2CD8 #8660E2

Accessibility & contrast

On white

10.35
#471FA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#471FA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #471FA8
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471FA8#FFFFFF#000000##FFFFFF
##471FA81.0010.352.0310.35
#FFFFFF10.351.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043AC
Deuteranopia (green-blind)
#003CA6
Tritanopia (blue-blind)
#164864
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #471fa8;
/* rgb */ color: rgb(71, 31, 168);
/* oklch */ color: oklch(39.5% 0.198 286.5);
Tailwind
colors: {
  custom: {
    50: '#8661c3',
    500: '#471fa8',
    950: '#000000',
  },
}
SCSS
$custom: #471fa8;
$custom-light: #8661c3;
$custom-dark: #000000;
JSON
{
  "hex": "#471fa8",
  "rgb": {
    "r": 71,
    "g": 31,
    "b": 168
  },
  "hsl": {
    "h": 257.518,
    "s": 68.844,
    "l": 39.02
  },
  "oklch": {
    "l": 0.39535,
    "c": 0.19765,
    "h": 286.5
  },
  "luminance": 0.05147
}

Semantic roles & 50–950 ramp

primary
#471FA8
secondary
#A7C65D
accent
#EC3CB8
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0513
muted
#7D7A82

Preview Lab

Preview with #471FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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