#471158#471158

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

Color values

HEX#471158
RGBrgb(71, 17, 88)
HSLhsl(286, 68%, 21%)
HSVhsv(286, 81%, 35%)
CMYKcmyk(19.3%, 80.7%, 0%, 65.5%)
CIE-LABlab(17.67, 36.56, -30.54)
CIE-LCHlch(17.67, 47.63, 320.13°)
OKLaboklab(30.65% 0.0909 -0.086)
OKLCHoklch(30.65% 0.125 316.6)
XYZxyz(4.5602, 2.4453, 9.4624)
Luminance0.0244 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471158 #225811
analogous
#231158 #471158 #581145
triadic
#471158 #584711 #115847
tetradic
#471158 #582311 #225811 #114558
square
#471158 #582311 #225811 #114558
split-complementary
#471158 #455811 #115823
monochromatic
#15051A #1E0725 #471158 #701B8B #9A25BF

Accessibility & contrast

On white

14.10
#471158 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #471158
14.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471158#FFFFFF#000000##FFFFFF
##4711581.0014.101.4914.10
#FFFFFF14.101.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00285A
Deuteranopia (green-blind)
#112D56
Tritanopia (blue-blind)
#462034
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #471158;
/* rgb */ color: rgb(71, 17, 88);
/* oklch */ color: oklch(30.6% 0.125 316.6);
Tailwind
colors: {
  custom: {
    50: '#7d5688',
    500: '#471158',
    950: '#000000',
  },
}
SCSS
$custom: #471158;
$custom-light: #7d5688;
$custom-dark: #000000;
JSON
{
  "hex": "#471158",
  "rgb": {
    "r": 71,
    "g": 17,
    "b": 88
  },
  "hsl": {
    "h": 285.634,
    "s": 67.619,
    "l": 20.588
  },
  "oklch": {
    "l": 0.30649,
    "c": 0.12514,
    "h": 316.6
  },
  "luminance": 0.02445
}

Semantic roles & 50–950 ramp

primary
#471158
secondary
#4A9134
accent
#EA3D67
background
#F7F5F8
surface
#EEE9EF
border
#C9C5CA
text
#0A030B
muted
#7C787C

Preview Lab

Preview with #471158

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

Preview Lab → · Contrast checker → · Palette generator →

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