#471EA6#471EA6

#471EA6 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 39.2% C 0.196 H 287.0°. Best body text is #FFFFFF at 10.48:1 contrast (WCAG AA passes).

Color values

HEX#471EA6
RGBrgb(71, 30, 166)
HSLhsl(258, 69%, 38%)
HSVhsv(258, 82%, 65%)
CMYKcmyk(57.2%, 81.9%, 0%, 34.9%)
CIE-LABlab(26.79, 51.14, -65.17)
CIE-LCHlch(26.79, 82.84, 308.12°)
OKLaboklab(39.23% 0.0575 -0.1876)
OKLCHoklch(39.23% 0.196 287)
XYZxyz(9.9437, 5.0208, 36.5141)
Luminance0.0502 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471EA6 #7DA61E
analogous
#1E39A6 #471EA6 #8B1EA6
triadic
#471EA6 #A6471E #1EA647
tetradic
#471EA6 #A61E39 #7DA61E #1EA68B
square
#471EA6 #A61E39 #7DA61E #1EA68B
split-complementary
#471EA6 #A68B1E #39A61E
monochromatic
#1B0B3E #311572 #471EA6 #5E29D8 #855DE2

Accessibility & contrast

On white

10.48
#471EA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#471EA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #471EA6
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471EA6#FFFFFF#000000##FFFFFF
##471EA61.0010.482.0010.48
#FFFFFF10.481.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042AA
Deuteranopia (green-blind)
#003CA4
Tritanopia (blue-blind)
#194763
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #471ea6;
/* rgb */ color: rgb(71, 30, 166);
/* oklch */ color: oklch(39.2% 0.196 287.0);
Tailwind
colors: {
  custom: {
    50: '#8660c2',
    500: '#471ea6',
    950: '#000000',
  },
}
SCSS
$custom: #471ea6;
$custom-light: #8660c2;
$custom-dark: #000000;
JSON
{
  "hex": "#471ea6",
  "rgb": {
    "r": 71,
    "g": 30,
    "b": 166
  },
  "hsl": {
    "h": 258.088,
    "s": 69.388,
    "l": 38.431
  },
  "oklch": {
    "l": 0.39229,
    "c": 0.19625,
    "h": 287
  },
  "luminance": 0.05021
}

Semantic roles & 50–950 ramp

primary
#471EA6
secondary
#A5C65A
accent
#EC3CB7
background
#F8F5FC
surface
#F0EAF8
border
#CBC6D1
text
#0C0513
muted
#7D7982

Preview Lab

Preview with #471EA6

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

Preview Lab → · Contrast checker → · Palette generator →

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