#471EB4#471EB4

#471EB4 is a dark, highly saturated violet. Relative luminance 0.056; OKLCH L 40.7% C 0.212 H 284.4°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#471EB4
RGBrgb(71, 30, 180)
HSLhsl(256, 71%, 41%)
HSVhsv(256, 83%, 71%)
CMYKcmyk(60.6%, 83.3%, 0%, 29.4%)
CIE-LABlab(28.28, 54.98, -71.12)
CIE-LCHlch(28.28, 89.90, 307.70°)
OKLaboklab(40.69% 0.0526 -0.205)
OKLCHoklch(40.69% 0.212 284.4)
XYZxyz(11.2985, 5.5627, 43.6495)
Luminance0.0556 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471EB4 #8BB41E
analogous
#1E40B4 #471EB4 #921EB4
triadic
#471EB4 #B4471E #1EB447
tetradic
#471EB4 #B41E40 #8BB41E #1EB492
square
#471EB4 #B41E40 #8BB41E #1EB492
split-complementary
#471EB4 #B4921E #40B41E
monochromatic
#1E0D4B #321580 #471EB4 #6132DD #8967E6

Accessibility & contrast

On white

9.94
#471EB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#471EB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #471EB4
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471EB4#FFFFFF#000000##FFFFFF
##471EB41.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047B8
Deuteranopia (green-blind)
#003EB1
Tritanopia (blue-blind)
#004D6B
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #471eb4;
/* rgb */ color: rgb(71, 30, 180);
/* oklch */ color: oklch(40.7% 0.212 284.4);
Tailwind
colors: {
  custom: {
    50: '#8861cc',
    500: '#471eb4',
    950: '#000000',
  },
}
SCSS
$custom: #471eb4;
$custom-light: #8861cc;
$custom-dark: #000000;
JSON
{
  "hex": "#471eb4",
  "rgb": {
    "r": 71,
    "g": 30,
    "b": 180
  },
  "hsl": {
    "h": 256.4,
    "s": 71.429,
    "l": 41.176
  },
  "oklch": {
    "l": 0.40694,
    "c": 0.21164,
    "h": 284.4
  },
  "luminance": 0.05563
}

Semantic roles & 50–950 ramp

primary
#471EB4
secondary
#AECB63
accent
#EE3ABD
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0514
muted
#7E7A82

Preview Lab

Preview with #471EB4

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

Preview Lab → · Contrast checker → · Palette generator →

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