#471157#471157

#471157 is a dark, vivid purple. Relative luminance 0.024; OKLCH L 30.6% C 0.124 H 317.2°. Best body text is #FFFFFF at 14.13:1 contrast (WCAG AA passes).

Color values

HEX#471157
RGBrgb(71, 17, 87)
HSLhsl(286, 67%, 20%)
HSVhsv(286, 80%, 34%)
CMYKcmyk(18.4%, 80.5%, 0%, 65.9%)
CIE-LABlab(17.59, 36.34, -29.99)
CIE-LCHlch(17.59, 47.11, 320.47°)
OKLaboklab(30.57% 0.0911 -0.0844)
OKLCHoklch(30.57% 0.124 317.2)
XYZxyz(4.5190, 2.4288, 9.2457)
Luminance0.0243 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471157 #215711
analogous
#241157 #471157 #571144
triadic
#471157 #574711 #115747
tetradic
#471157 #572411 #215711 #114457
square
#471157 #572411 #215711 #114457
split-complementary
#471157 #445711 #115724
monochromatic
#15051A #1D0724 #471157 #711B8A #9B25BD

Accessibility & contrast

On white

14.13
#471157 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#471157 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #471157
14.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471157#FFFFFF#000000##FFFFFF
##4711571.0014.131.4914.13
#FFFFFF14.131.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002859
Deuteranopia (green-blind)
#122D55
Tritanopia (blue-blind)
#462033
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #471157;
/* rgb */ color: rgb(71, 17, 87);
/* oklch */ color: oklch(30.6% 0.124 317.2);
Tailwind
colors: {
  custom: {
    50: '#7d5687',
    500: '#471157',
    950: '#000000',
  },
}
SCSS
$custom: #471157;
$custom-light: #7d5687;
$custom-dark: #000000;
JSON
{
  "hex": "#471157",
  "rgb": {
    "r": 71,
    "g": 17,
    "b": 87
  },
  "hsl": {
    "h": 286.286,
    "s": 67.308,
    "l": 20.392
  },
  "oklch": {
    "l": 0.30571,
    "c": 0.12413,
    "h": 317.2
  },
  "luminance": 0.02429
}

Semantic roles & 50–950 ramp

primary
#471157
secondary
#499034
accent
#EA3E65
background
#F7F5F8
surface
#EEE9EF
border
#C9C5CA
text
#0A030B
muted
#7C787C

Preview Lab

Preview with #471157

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

Preview Lab → · Contrast checker → · Palette generator →

#471157 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva