#471BB4#471BB4

#471BB4 is a dark, highly saturated violet. Relative luminance 0.054; OKLCH L 40.4% C 0.214 H 284.6°. Best body text is #FFFFFF at 10.08:1 contrast (WCAG AA passes).

Color values

HEX#471BB4
RGBrgb(71, 27, 180)
HSLhsl(257, 74%, 41%)
HSVhsv(257, 85%, 71%)
CMYKcmyk(60.6%, 85%, 0%, 29.4%)
CIE-LABlab(27.89, 56.12, -71.76)
CIE-LCHlch(27.89, 91.10, 308.03°)
OKLaboklab(40.43% 0.054 -0.2068)
OKLCHoklch(40.43% 0.214 284.6)
XYZxyz(11.2262, 5.4180, 43.6254)
Luminance0.0542 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471BB4 #88B41B
analogous
#1B3BB4 #471BB4 #931BB4
triadic
#471BB4 #B4471B #1BB447
tetradic
#471BB4 #B41B3B #88B41B #1BB493
square
#471BB4 #B41B3B #88B41B #1BB493
split-complementary
#471BB4 #B4931B #3BB41B
monochromatic
#1D0B4A #32137F #471BB4 #602DDF #8862E7

Accessibility & contrast

On white

10.08
#471BB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#471BB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #471BB4
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471BB4#FFFFFF#000000##FFFFFF
##471BB41.0010.082.0810.08
#FFFFFF10.081.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046B8
Deuteranopia (green-blind)
#003DB1
Tritanopia (blue-blind)
#004C6B
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #471bb4;
/* rgb */ color: rgb(71, 27, 180);
/* oklch */ color: oklch(40.4% 0.214 284.6);
Tailwind
colors: {
  custom: {
    50: '#8960cc',
    500: '#471bb4',
    950: '#000000',
  },
}
SCSS
$custom: #471bb4;
$custom-light: #8960cc;
$custom-dark: #000000;
JSON
{
  "hex": "#471bb4",
  "rgb": {
    "r": 71,
    "g": 27,
    "b": 180
  },
  "hsl": {
    "h": 257.255,
    "s": 73.913,
    "l": 40.588
  },
  "oklch": {
    "l": 0.40429,
    "c": 0.21378,
    "h": 284.6
  },
  "luminance": 0.05419
}

Semantic roles & 50–950 ramp

primary
#471BB4
secondary
#ADCC5F
accent
#F137BB
background
#F9F5FC
surface
#F1EAF9
border
#CBC6D2
text
#0D0514
muted
#7E7982

Preview Lab

Preview with #471BB4

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

Preview Lab → · Contrast checker → · Palette generator →

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