#471CB4#471CB4

#471CB4 is a dark, highly saturated violet. Relative luminance 0.055; OKLCH L 40.5% C 0.213 H 284.6°. Best body text is #FFFFFF at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#471CB4
RGBrgb(71, 28, 180)
HSLhsl(257, 73%, 41%)
HSVhsv(257, 84%, 71%)
CMYKcmyk(60.6%, 84.4%, 0%, 29.4%)
CIE-LABlab(28.02, 55.75, -71.56)
CIE-LCHlch(28.02, 90.71, 307.92°)
OKLaboklab(40.52% 0.0536 -0.2062)
OKLCHoklch(40.52% 0.213 284.6)
XYZxyz(11.2495, 5.4647, 43.6332)
Luminance0.0546 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471CB4 #89B41C
analogous
#1C3DB4 #471CB4 #931CB4
triadic
#471CB4 #B4471C #1CB447
tetradic
#471CB4 #B41C3D #89B41C #1CB493
square
#471CB4 #B41C3D #89B41C #1CB493
split-complementary
#471CB4 #B4931C #3DB41C
monochromatic
#1D0C4A #32147F #471CB4 #602FDF #8964E7

Accessibility & contrast

On white

10.03
#471CB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#471CB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #471CB4
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471CB4#FFFFFF#000000##FFFFFF
##471CB41.0010.032.0910.03
#FFFFFF10.031.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.031.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: #471cb4;
/* rgb */ color: rgb(71, 28, 180);
/* oklch */ color: oklch(40.5% 0.213 284.6);
Tailwind
colors: {
  custom: {
    50: '#8961cc',
    500: '#471cb4',
    950: '#000000',
  },
}
SCSS
$custom: #471cb4;
$custom-light: #8961cc;
$custom-dark: #000000;
JSON
{
  "hex": "#471cb4",
  "rgb": {
    "r": 71,
    "g": 28,
    "b": 180
  },
  "hsl": {
    "h": 256.974,
    "s": 73.077,
    "l": 40.784
  },
  "oklch": {
    "l": 0.40515,
    "c": 0.21308,
    "h": 284.6
  },
  "luminance": 0.05465
}

Semantic roles & 50–950 ramp

primary
#471CB4
secondary
#ADCC60
accent
#F038BC
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0514
muted
#7E7A82

Preview Lab

Preview with #471CB4

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

Preview Lab → · Contrast checker → · Palette generator →

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