#471658#471658

#471658 is a dark, moderate purple. Relative luminance 0.026; OKLCH L 31.2% C 0.119 H 316.0°. Best body text is #FFFFFF at 13.78:1 contrast (WCAG AA passes).

Color values

HEX#471658
RGBrgb(71, 22, 88)
HSLhsl(285, 60%, 22%)
HSVhsv(285, 75%, 35%)
CMYKcmyk(19.3%, 75%, 0%, 65.5%)
CIE-LABlab(18.45, 34.36, -29.29)
CIE-LCHlch(18.45, 45.15, 319.55°)
OKLaboklab(31.2% 0.0853 -0.0824)
OKLCHoklch(31.2% 0.119 316)
XYZxyz(4.6466, 2.6182, 9.4912)
Luminance0.0262 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471658 #275816
analogous
#261658 #471658 #581648
triadic
#471658 #584716 #165847
tetradic
#471658 #582616 #275816 #164858
square
#471658 #582616 #275816 #164858
split-complementary
#471658 #485816 #165826
monochromatic
#140618 #1F0A27 #471658 #6F2289 #962EBA

Accessibility & contrast

On white

13.78
#471658 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#471658 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #471658
13.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471658#FFFFFF#000000##FFFFFF
##4716581.0013.781.5213.78
#FFFFFF13.781.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A5A
Deuteranopia (green-blind)
#162E56
Tritanopia (blue-blind)
#462335
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #471658;
/* rgb */ color: rgb(71, 22, 88);
/* oklch */ color: oklch(31.2% 0.119 316.0);
Tailwind
colors: {
  custom: {
    50: '#7d5887',
    500: '#471658',
    950: '#000000',
  },
}
SCSS
$custom: #471658;
$custom-light: #7d5887;
$custom-dark: #000000;
JSON
{
  "hex": "#471658",
  "rgb": {
    "r": 71,
    "g": 22,
    "b": 88
  },
  "hsl": {
    "h": 284.545,
    "s": 60,
    "l": 21.569
  },
  "oklch": {
    "l": 0.31201,
    "c": 0.11856,
    "h": 316
  },
  "luminance": 0.02618
}

Semantic roles & 50–950 ramp

primary
#471658
secondary
#508F3B
accent
#E3456D
background
#F7F5F8
surface
#EEE9EF
border
#C9C5CA
text
#0A030B
muted
#7C787C

Preview Lab

Preview with #471658

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

Preview Lab → · Contrast checker → · Palette generator →

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