#471A8E#471A8E

#471A8E is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.4% C 0.173 H 293.2°. Best body text is #FFFFFF at 11.63:1 contrast (WCAG AA passes).

Color values

HEX#471A8E
RGBrgb(71, 26, 142)
HSLhsl(263, 69%, 33%)
HSVhsv(263, 82%, 56%)
CMYKcmyk(50%, 81.7%, 0%, 44.3%)
CIE-LABlab(23.77, 46.30, -55.43)
CIE-LCHlch(23.77, 72.22, 309.87°)
OKLaboklab(36.41% 0.0684 -0.1591)
OKLCHoklch(36.41% 0.173 293.2)
XYZxyz(7.8491, 4.0311, 25.9505)
Luminance0.0403 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471A8E #618E1A
analogous
#1A278E #471A8E #811A8E
triadic
#471A8E #8E471A #1A8E47
tetradic
#471A8E #8E1A27 #618E1A #1A8E81
square
#471A8E #8E1A27 #618E1A #1A8E81
split-complementary
#471A8E #8E811A #278E1A
monochromatic
#130727 #2D115A #471A8E #6123C2 #8045DD

Accessibility & contrast

On white

11.63
#471A8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #471A8E
11.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471A8E#FFFFFF#000000##FFFFFF
##471A8E1.0011.631.8111.63
#FFFFFF11.631.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A91
Deuteranopia (green-blind)
#00368C
Tritanopia (blue-blind)
#303C54
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #471a8e;
/* rgb */ color: rgb(71, 26, 142);
/* oklch */ color: oklch(36.4% 0.173 293.2);
Tailwind
colors: {
  custom: {
    50: '#825db0',
    500: '#471a8e',
    950: '#000000',
  },
}
SCSS
$custom: #471a8e;
$custom-light: #825db0;
$custom-dark: #000000;
JSON
{
  "hex": "#471a8e",
  "rgb": {
    "r": 71,
    "g": 26,
    "b": 142
  },
  "hsl": {
    "h": 263.276,
    "s": 69.048,
    "l": 32.941
  },
  "oklch": {
    "l": 0.36406,
    "c": 0.17318,
    "h": 293.2
  },
  "luminance": 0.04031
}

Semantic roles & 50–950 ramp

primary
#471A8E
secondary
#8FBE45
accent
#EC3CA8
background
#F8F5FB
surface
#F0E9F6
border
#CBC5D0
text
#0B0411
muted
#7C7980

Preview Lab

Preview with #471A8E

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

Preview Lab → · Contrast checker → · Palette generator →

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