#471D8C#471D8C

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

Color values

HEX#471D8C
RGBrgb(71, 29, 140)
HSLhsl(263, 66%, 33%)
HSVhsv(263, 79%, 55%)
CMYKcmyk(49.3%, 79.3%, 0%, 45.1%)
CIE-LABlab(24.04, 44.43, -53.75)
CIE-LCHlch(24.04, 69.74, 309.58°)
OKLaboklab(36.53% 0.0667 -0.1542)
OKLCHoklch(36.53% 0.168 293.4)
XYZxyz(7.7702, 4.1115, 25.1901)
Luminance0.0411 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471D8C #628C1D
analogous
#1D2A8C #471D8C #7E1D8C
triadic
#471D8C #8C471D #1D8C47
tetradic
#471D8C #8C1D2A #628C1D #1D8C7E
square
#471D8C #8C1D2A #628C1D #1D8C7E
split-complementary
#471D8C #8C7E1D #2A8C1D
monochromatic
#140827 #2D1259 #471D8C #6128BF #804AD9

Accessibility & contrast

On white

11.52
#471D8C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#471D8C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #471D8C
11.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471D8C#FFFFFF#000000##FFFFFF
##471D8C1.0011.521.8211.52
#FFFFFF11.521.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A8F
Deuteranopia (green-blind)
#00378A
Tritanopia (blue-blind)
#313C54
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #471d8c;
/* rgb */ color: rgb(71, 29, 140);
/* oklch */ color: oklch(36.5% 0.168 293.4);
Tailwind
colors: {
  custom: {
    50: '#825eaf',
    500: '#471d8c',
    950: '#000000',
  },
}
SCSS
$custom: #471d8c;
$custom-light: #825eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#471d8c",
  "rgb": {
    "r": 71,
    "g": 29,
    "b": 140
  },
  "hsl": {
    "h": 262.703,
    "s": 65.68,
    "l": 33.137
  },
  "oklch": {
    "l": 0.3653,
    "c": 0.16804,
    "h": 293.4
  },
  "luminance": 0.04112
}

Semantic roles & 50–950 ramp

primary
#471D8C
secondary
#90BC49
accent
#E93FA9
background
#F8F5FA
surface
#EFE9F5
border
#CAC5CF
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #471D8C

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

Preview Lab → · Contrast checker → · Palette generator →

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