#471159#471159

#471159 is a dark, vivid purple. Relative luminance 0.025; OKLCH L 30.7% C 0.126 H 316.0°. Best body text is #FFFFFF at 14.07:1 contrast (WCAG AA passes).

Color values

HEX#471159
RGBrgb(71, 17, 89)
HSLhsl(285, 68%, 21%)
HSVhsv(285, 81%, 35%)
CMYKcmyk(20.2%, 80.9%, 0%, 65.1%)
CIE-LABlab(17.75, 36.78, -31.09)
CIE-LCHlch(17.75, 48.16, 319.80°)
OKLaboklab(30.73% 0.0908 -0.0876)
OKLCHoklch(30.73% 0.126 316)
XYZxyz(4.6019, 2.4619, 9.6821)
Luminance0.0246 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471159 #235911
analogous
#231159 #471159 #591147
triadic
#471159 #594711 #115947
tetradic
#471159 #592311 #235911 #114759
square
#471159 #592311 #235911 #114759
split-complementary
#471159 #475911 #115923
monochromatic
#14051A #1E0726 #471159 #701B8C #9925C0

Accessibility & contrast

On white

14.07
#471159 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #471159
14.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471159#FFFFFF#000000##FFFFFF
##4711591.0014.071.4914.07
#FFFFFF14.071.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00285B
Deuteranopia (green-blind)
#102D57
Tritanopia (blue-blind)
#462134
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #471159;
/* rgb */ color: rgb(71, 17, 89);
/* oklch */ color: oklch(30.7% 0.126 316.0);
Tailwind
colors: {
  custom: {
    50: '#7d5688',
    500: '#471159',
    950: '#000000',
  },
}
SCSS
$custom: #471159;
$custom-light: #7d5688;
$custom-dark: #000000;
JSON
{
  "hex": "#471159",
  "rgb": {
    "r": 71,
    "g": 17,
    "b": 89
  },
  "hsl": {
    "h": 285,
    "s": 67.925,
    "l": 20.784
  },
  "oklch": {
    "l": 0.30727,
    "c": 0.12614,
    "h": 316
  },
  "luminance": 0.02462
}

Semantic roles & 50–950 ramp

primary
#471159
secondary
#4B9234
accent
#EB3D68
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#0A030B
muted
#7C787C

Preview Lab

Preview with #471159

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

Preview Lab → · Contrast checker → · Palette generator →

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