#471B9F#471B9F

#471B9F is a dark, vivid violet. Relative luminance 0.046; OKLCH L 38.2% C 0.191 H 288.9°. Best body text is #FFFFFF at 10.91:1 contrast (WCAG AA passes).

Color values

HEX#471B9F
RGBrgb(71, 27, 159)
HSLhsl(260, 71%, 36%)
HSVhsv(260, 83%, 62%)
CMYKcmyk(55.3%, 83%, 0%, 37.6%)
CIE-LABlab(25.64, 50.47, -62.82)
CIE-LCHlch(25.64, 80.58, 308.78°)
OKLaboklab(38.22% 0.0618 -0.1807)
OKLCHoklch(38.22% 0.191 288.9)
XYZxyz(9.2466, 4.6262, 33.1999)
Luminance0.0463 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471B9F #739F1B
analogous
#1B319F #471B9F #891B9F
triadic
#471B9F #9F471B #1B9F47
tetradic
#471B9F #9F1B31 #739F1B #1B9F89
square
#471B9F #9F1B31 #739F1B #1B9F89
split-complementary
#471B9F #9F891B #319F1B
monochromatic
#180936 #30126B #471B9F #5E24D3 #8253E2

Accessibility & contrast

On white

10.91
#471B9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#471B9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #471B9F
10.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471B9F#FFFFFF#000000##FFFFFF
##471B9F1.0010.911.9310.91
#FFFFFF10.911.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003FA3
Deuteranopia (green-blind)
#00399D
Tritanopia (blue-blind)
#22435F
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #471b9f;
/* rgb */ color: rgb(71, 27, 159);
/* oklch */ color: oklch(38.2% 0.191 288.9);
Tailwind
colors: {
  custom: {
    50: '#855fbd',
    500: '#471b9f',
    950: '#000000',
  },
}
SCSS
$custom: #471b9f;
$custom-light: #855fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#471b9f",
  "rgb": {
    "r": 71,
    "g": 27,
    "b": 159
  },
  "hsl": {
    "h": 260,
    "s": 70.968,
    "l": 36.471
  },
  "oklch": {
    "l": 0.38217,
    "c": 0.19101,
    "h": 288.9
  },
  "luminance": 0.04627
}

Semantic roles & 50–950 ramp

primary
#471B9F
secondary
#9EC551
accent
#EE3AB2
background
#F8F5FB
surface
#F0EAF7
border
#CBC6D0
text
#0C0512
muted
#7D7981

Preview Lab

Preview with #471B9F

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

Preview Lab → · Contrast checker → · Palette generator →

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