#471D8F#471D8F

#471D8F is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.8% C 0.171 H 292.6°. Best body text is #FFFFFF at 11.41:1 contrast (WCAG AA passes).

Color values

HEX#471D8F
RGBrgb(71, 29, 143)
HSLhsl(262, 66%, 34%)
HSVhsv(262, 80%, 56%)
CMYKcmyk(50.3%, 79.7%, 0%, 43.9%)
CIE-LABlab(24.33, 45.25, -55.14)
CIE-LCHlch(24.33, 71.33, 309.38°)
OKLaboklab(36.82% 0.0658 -0.1583)
OKLCHoklch(36.82% 0.171 292.6)
XYZxyz(7.9944, 4.2012, 26.3710)
Luminance0.0420 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471D8F #658F1D
analogous
#1D2C8F #471D8F #801D8F
triadic
#471D8F #8F471D #1D8F47
tetradic
#471D8F #8F1D2C #658F1D #1D8F80
square
#471D8F #8F1D2C #658F1D #1D8F80
split-complementary
#471D8F #8F801D #2C8F1D
monochromatic
#140829 #2E135C #471D8F #6027C2 #804CDB

Accessibility & contrast

On white

11.41
#471D8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#471D8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #471D8F
11.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471D8F#FFFFFF#000000##FFFFFF
##471D8F1.0011.411.8411.41
#FFFFFF11.411.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B92
Deuteranopia (green-blind)
#00388D
Tritanopia (blue-blind)
#303D56
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #471d8f;
/* rgb */ color: rgb(71, 29, 143);
/* oklch */ color: oklch(36.8% 0.171 292.6);
Tailwind
colors: {
  custom: {
    50: '#825fb1',
    500: '#471d8f',
    950: '#000000',
  },
}
SCSS
$custom: #471d8f;
$custom-light: #825fb1;
$custom-dark: #000000;
JSON
{
  "hex": "#471d8f",
  "rgb": {
    "r": 71,
    "g": 29,
    "b": 143
  },
  "hsl": {
    "h": 262.105,
    "s": 66.279,
    "l": 33.725
  },
  "oklch": {
    "l": 0.3682,
    "c": 0.17144,
    "h": 292.6
  },
  "luminance": 0.04201
}

Semantic roles & 50–950 ramp

primary
#471D8F
secondary
#93BD4B
accent
#E93FAA
background
#F8F5FB
surface
#F0E9F6
border
#CBC5D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #471D8F

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

Preview Lab → · Contrast checker → · Palette generator →

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