#471A8F#471A8F

#471A8F is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.5% C 0.174 H 293.0°. Best body text is #FFFFFF at 11.59:1 contrast (WCAG AA passes).

Color values

HEX#471A8F
RGBrgb(71, 26, 143)
HSLhsl(263, 69%, 33%)
HSVhsv(263, 82%, 56%)
CMYKcmyk(50.3%, 81.8%, 0%, 43.9%)
CIE-LABlab(23.87, 46.56, -55.88)
CIE-LCHlch(23.87, 72.74, 309.80°)
OKLaboklab(36.5% 0.068 -0.1605)
OKLCHoklch(36.5% 0.174 293)
XYZxyz(7.9245, 4.0613, 26.3476)
Luminance0.0406 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471A8F #628F1A
analogous
#1A278F #471A8F #811A8F
triadic
#471A8F #8F471A #1A8F47
tetradic
#471A8F #8F1A27 #628F1A #1A8F81
square
#471A8F #8F1A27 #628F1A #1A8F81
split-complementary
#471A8F #8F811A #278F1A
monochromatic
#140727 #2D115B #471A8F #6123C3 #8046DD

Accessibility & contrast

On white

11.59
#471A8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#471A8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #471A8F
11.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471A8F#FFFFFF#000000##FFFFFF
##471A8F1.0011.591.8111.59
#FFFFFF11.591.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A92
Deuteranopia (green-blind)
#00378D
Tritanopia (blue-blind)
#303C55
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #471a8f;
/* rgb */ color: rgb(71, 26, 143);
/* oklch */ color: oklch(36.5% 0.174 293.0);
Tailwind
colors: {
  custom: {
    50: '#835db1',
    500: '#471a8f',
    950: '#000000',
  },
}
SCSS
$custom: #471a8f;
$custom-light: #835db1;
$custom-dark: #000000;
JSON
{
  "hex": "#471a8f",
  "rgb": {
    "r": 71,
    "g": 26,
    "b": 143
  },
  "hsl": {
    "h": 263.077,
    "s": 69.231,
    "l": 33.137
  },
  "oklch": {
    "l": 0.36505,
    "c": 0.17428,
    "h": 293
  },
  "luminance": 0.04062
}

Semantic roles & 50–950 ramp

primary
#471A8F
secondary
#90BF46
accent
#EC3CA8
background
#F8F5FB
surface
#F0E9F6
border
#CBC5D0
text
#0B0411
muted
#7C7980

Preview Lab

Preview with #471A8F

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

Preview Lab → · Contrast checker → · Palette generator →

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