#471E96#471E96

#471E96 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.6% C 0.178 H 290.6°. Best body text is #FFFFFF at 11.09:1 contrast (WCAG AA passes).

Color values

HEX#471E96
RGBrgb(71, 30, 150)
HSLhsl(261, 67%, 35%)
HSVhsv(261, 80%, 59%)
CMYKcmyk(52.7%, 80%, 0%, 41.2%)
CIE-LABlab(25.17, 46.73, -58.08)
CIE-LCHlch(25.17, 74.55, 308.82°)
OKLaboklab(37.61% 0.0628 -0.1669)
OKLCHoklch(37.61% 0.178 290.6)
XYZxyz(8.5662, 4.4698, 29.2596)
Luminance0.0447 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471E96 #6D961E
analogous
#1E3196 #471E96 #831E96
triadic
#471E96 #96471E #1E9647
tetradic
#471E96 #961E31 #6D961E #1E9683
square
#471E96 #961E31 #6D961E #1E9683
split-complementary
#471E96 #96831E #31961E
monochromatic
#170A30 #2F1463 #471E96 #5F28C9 #8152DC

Accessibility & contrast

On white

11.09
#471E96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#471E96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #471E96
11.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471E96#FFFFFF#000000##FFFFFF
##471E961.0011.091.8911.09
#FFFFFF11.091.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E99
Deuteranopia (green-blind)
#003994
Tritanopia (blue-blind)
#2A415A
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #471e96;
/* rgb */ color: rgb(71, 30, 150);
/* oklch */ color: oklch(37.6% 0.178 290.6);
Tailwind
colors: {
  custom: {
    50: '#835fb6',
    500: '#471e96',
    950: '#000000',
  },
}
SCSS
$custom: #471e96;
$custom-light: #835fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#471e96",
  "rgb": {
    "r": 71,
    "g": 30,
    "b": 150
  },
  "hsl": {
    "h": 260.5,
    "s": 66.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.37614,
    "c": 0.17836,
    "h": 290.6
  },
  "luminance": 0.0447
}

Semantic roles & 50–950 ramp

primary
#471E96
secondary
#9ABF50
accent
#EA3EAF
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #471E96

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

Preview Lab → · Contrast checker → · Palette generator →

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