#471457#471457

#471457 is a dark, vivid purple. Relative luminance 0.025; OKLCH L 30.9% C 0.120 H 316.8°. Best body text is #FFFFFF at 13.95:1 contrast (WCAG AA passes).

Color values

HEX#471457
RGBrgb(71, 20, 87)
HSLhsl(286, 63%, 21%)
HSVhsv(286, 77%, 34%)
CMYKcmyk(18.4%, 77%, 0%, 65.9%)
CIE-LABlab(18.05, 35.05, -29.26)
CIE-LCHlch(18.05, 45.66, 320.14°)
OKLaboklab(30.89% 0.0877 -0.0823)
OKLCHoklch(30.89% 0.12 316.8)
XYZxyz(4.5687, 2.5282, 9.2623)
Luminance0.0253 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471457 #245714
analogous
#251457 #471457 #571445
triadic
#471457 #574714 #145747
tetradic
#471457 #572514 #245714 #144557
square
#471457 #572514 #245714 #144557
split-complementary
#471457 #455714 #145725
monochromatic
#140619 #1E0925 #471457 #701F89 #982BBB

Accessibility & contrast

On white

13.95
#471457 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#471457 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #471457
13.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471457#FFFFFF#000000##FFFFFF
##4714571.0013.951.5113.95
#FFFFFF13.951.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002959
Deuteranopia (green-blind)
#152E55
Tritanopia (blue-blind)
#462234
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #471457;
/* rgb */ color: rgb(71, 20, 87);
/* oklch */ color: oklch(30.9% 0.120 316.8);
Tailwind
colors: {
  custom: {
    50: '#7d5787',
    500: '#471457',
    950: '#000000',
  },
}
SCSS
$custom: #471457;
$custom-light: #7d5787;
$custom-dark: #000000;
JSON
{
  "hex": "#471457",
  "rgb": {
    "r": 71,
    "g": 20,
    "b": 87
  },
  "hsl": {
    "h": 285.672,
    "s": 62.617,
    "l": 20.98
  },
  "oklch": {
    "l": 0.30893,
    "c": 0.12027,
    "h": 316.8
  },
  "luminance": 0.02528
}

Semantic roles & 50–950 ramp

primary
#471457
secondary
#4D8F38
accent
#E64269
background
#F7F5F8
surface
#EEE9EF
border
#C9C5CA
text
#0A030B
muted
#7C787C

Preview Lab

Preview with #471457

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

Preview Lab → · Contrast checker → · Palette generator →

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