#471A9F#471A9F

#471A9F is a dark, vivid violet. Relative luminance 0.046; OKLCH L 38.1% C 0.192 H 289.0°. Best body text is #FFFFFF at 10.96:1 contrast (WCAG AA passes).

Color values

HEX#471A9F
RGBrgb(71, 26, 159)
HSLhsl(260, 72%, 36%)
HSVhsv(260, 84%, 62%)
CMYKcmyk(55.3%, 83.6%, 0%, 37.6%)
CIE-LABlab(25.51, 50.87, -63.04)
CIE-LCHlch(25.51, 81.00, 308.90°)
OKLaboklab(38.12% 0.0624 -0.1814)
OKLCHoklch(38.12% 0.192 289)
XYZxyz(9.2241, 4.5811, 33.1924)
Luminance0.0458 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471A9F #729F1A
analogous
#1A309F #471A9F #8A1A9F
triadic
#471A9F #9F471A #1A9F47
tetradic
#471A9F #9F1A30 #729F1A #1A9F8A
square
#471A9F #9F1A30 #729F1A #1A9F8A
split-complementary
#471A9F #9F8A1A #309F1A
monochromatic
#180936 #30116A #471A9F #5E23D4 #8251E3

Accessibility & contrast

On white

10.96
#471A9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#471A9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #471A9F
10.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471A9F#FFFFFF#000000##FFFFFF
##471A9F1.0010.961.9210.96
#FFFFFF10.961.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003FA3
Deuteranopia (green-blind)
#00399D
Tritanopia (blue-blind)
#22435E
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #471a9f;
/* rgb */ color: rgb(71, 26, 159);
/* oklch */ color: oklch(38.1% 0.192 289.0);
Tailwind
colors: {
  custom: {
    50: '#855ebd',
    500: '#471a9f',
    950: '#000000',
  },
}
SCSS
$custom: #471a9f;
$custom-light: #855ebd;
$custom-dark: #000000;
JSON
{
  "hex": "#471a9f",
  "rgb": {
    "r": 71,
    "g": 26,
    "b": 159
  },
  "hsl": {
    "h": 260.301,
    "s": 71.892,
    "l": 36.275
  },
  "oklch": {
    "l": 0.38124,
    "c": 0.19181,
    "h": 289
  },
  "luminance": 0.04582
}

Semantic roles & 50–950 ramp

primary
#471A9F
secondary
#9DC550
accent
#EF39B1
background
#F8F5FB
surface
#F0E9F7
border
#CBC5D0
text
#0C0512
muted
#7D7981

Preview Lab

Preview with #471A9F

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

Preview Lab → · Contrast checker → · Palette generator →

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