#471C97#471C97

#471C97 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.5% C 0.181 H 290.6°. Best body text is #FFFFFF at 11.17:1 contrast (WCAG AA passes).

Color values

HEX#471C97
RGBrgb(71, 28, 151)
HSLhsl(261, 69%, 35%)
HSVhsv(261, 81%, 59%)
CMYKcmyk(53%, 81.5%, 0%, 40.8%)
CIE-LABlab(24.96, 47.88, -59.03)
CIE-LCHlch(24.96, 76.01, 309.04°)
OKLaboklab(37.5% 0.0639 -0.1697)
OKLCHoklch(37.5% 0.181 290.6)
XYZxyz(8.5981, 4.4041, 29.6692)
Luminance0.0440 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471C97 #6C971C
analogous
#1C2E97 #471C97 #851C97
triadic
#471C97 #97471C #1C9747
tetradic
#471C97 #971C2E #6C971C #1C9785
square
#471C97 #971C2E #6C971C #1C9785
split-complementary
#471C97 #97851C #2E971C
monochromatic
#160930 #2F1263 #471C97 #5F26CB #814FDE

Accessibility & contrast

On white

11.17
#471C97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#471C97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #471C97
11.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471C97#FFFFFF#000000##FFFFFF
##471C971.0011.171.8811.17
#FFFFFF11.171.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D9A
Deuteranopia (green-blind)
#003895
Tritanopia (blue-blind)
#2A405A
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #471c97;
/* rgb */ color: rgb(71, 28, 151);
/* oklch */ color: oklch(37.5% 0.181 290.6);
Tailwind
colors: {
  custom: {
    50: '#845fb7',
    500: '#471c97',
    950: '#000000',
  },
}
SCSS
$custom: #471c97;
$custom-light: #845fb7;
$custom-dark: #000000;
JSON
{
  "hex": "#471c97",
  "rgb": {
    "r": 71,
    "g": 28,
    "b": 151
  },
  "hsl": {
    "h": 260.976,
    "s": 68.715,
    "l": 35.098
  },
  "oklch": {
    "l": 0.37503,
    "c": 0.18133,
    "h": 290.6
  },
  "luminance": 0.04404
}

Semantic roles & 50–950 ramp

primary
#471C97
secondary
#99C14E
accent
#EC3CAE
background
#F8F5FB
surface
#F0E9F6
border
#CBC5D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #471C97

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

Preview Lab → · Contrast checker → · Palette generator →

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