#471E8D#471E8D

#471E8D is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.7% C 0.168 H 293.0°. Best body text is #FFFFFF at 11.42:1 contrast (WCAG AA passes).

Color values

HEX#471E8D
RGBrgb(71, 30, 141)
HSLhsl(262, 65%, 34%)
HSVhsv(262, 79%, 55%)
CMYKcmyk(49.6%, 78.7%, 0%, 44.7%)
CIE-LABlab(24.29, 44.24, -53.95)
CIE-LCHlch(24.29, 69.77, 309.35°)
OKLaboklab(36.74% 0.0656 -0.1548)
OKLCHoklch(36.74% 0.168 293)
XYZxyz(7.8692, 4.1910, 25.5885)
Luminance0.0419 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471E8D #648D1E
analogous
#1E2C8D #471E8D #7E1E8D
triadic
#471E8D #8D471E #1E8D47
tetradic
#471E8D #8D1E2C #648D1E #1E8D7E
square
#471E8D #8D1E2C #648D1E #1E8D7E
split-complementary
#471E8D #8D7E1E #2C8D1E
monochromatic
#140928 #2E135B #471E8D #6029BF #804CD9

Accessibility & contrast

On white

11.42
#471E8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #471E8D
11.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471E8D#FFFFFF#000000##FFFFFF
##471E8D1.0011.421.8411.42
#FFFFFF11.421.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B90
Deuteranopia (green-blind)
#00388B
Tritanopia (blue-blind)
#313D55
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #471e8d;
/* rgb */ color: rgb(71, 30, 141);
/* oklch */ color: oklch(36.7% 0.168 293.0);
Tailwind
colors: {
  custom: {
    50: '#825faf',
    500: '#471e8d',
    950: '#000000',
  },
}
SCSS
$custom: #471e8d;
$custom-light: #825faf;
$custom-dark: #000000;
JSON
{
  "hex": "#471e8d",
  "rgb": {
    "r": 71,
    "g": 30,
    "b": 141
  },
  "hsl": {
    "h": 262.162,
    "s": 64.912,
    "l": 33.529
  },
  "oklch": {
    "l": 0.36738,
    "c": 0.16816,
    "h": 293
  },
  "luminance": 0.04191
}

Semantic roles & 50–950 ramp

primary
#471E8D
secondary
#92BC4B
accent
#E840AA
background
#F8F5FA
surface
#F0E9F5
border
#CBC5CF
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #471E8D

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

Preview Lab → · Contrast checker → · Palette generator →

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