#471152#471152

#471152 is a dark, moderate purple. Relative luminance 0.024; OKLCH L 30.2% C 0.119 H 320.2°. Best body text is #FFFFFF at 14.29:1 contrast (WCAG AA passes).

Color values

HEX#471152
RGBrgb(71, 17, 82)
HSLhsl(290, 66%, 19%)
HSVhsv(290, 79%, 32%)
CMYKcmyk(13.4%, 79.3%, 0%, 67.8%)
CIE-LABlab(17.23, 35.25, -27.20)
CIE-LCHlch(17.23, 44.52, 322.35°)
OKLaboklab(30.19% 0.0916 -0.0762)
OKLCHoklch(30.19% 0.119 320.2)
XYZxyz(4.3218, 2.3499, 8.2069)
Luminance0.0235 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471152 #1C5211
analogous
#271152 #471152 #52113D
triadic
#471152 #524711 #115247
tetradic
#471152 #522711 #1C5211 #113D52
square
#471152 #522711 #1C5211 #113D52
split-complementary
#471152 #3D5211 #115227
monochromatic
#160519 #1B061F #471152 #731C85 #9F26B7

Accessibility & contrast

On white

14.29
#471152 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#471152 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #471152
14.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471152#FFFFFF#000000##FFFFFF
##4711521.0014.291.4714.29
#FFFFFF14.291.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002754
Deuteranopia (green-blind)
#172C50
Tritanopia (blue-blind)
#471E30
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #471152;
/* rgb */ color: rgb(71, 17, 82);
/* oklch */ color: oklch(30.2% 0.119 320.2);
Tailwind
colors: {
  custom: {
    50: '#7d5583',
    500: '#471152',
    950: '#000000',
  },
}
SCSS
$custom: #471152;
$custom-light: #7d5583;
$custom-dark: #000000;
JSON
{
  "hex": "#471152",
  "rgb": {
    "r": 71,
    "g": 17,
    "b": 82
  },
  "hsl": {
    "h": 289.846,
    "s": 65.657,
    "l": 19.412
  },
  "oklch": {
    "l": 0.30192,
    "c": 0.11917,
    "h": 320.2
  },
  "luminance": 0.0235
}

Semantic roles & 50–950 ramp

primary
#471152
secondary
#428B34
accent
#E93F5C
background
#F7F5F8
surface
#EEE9EF
border
#C9C5CA
text
#0A030A
muted
#7C787C

Preview Lab

Preview with #471152

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

Preview Lab → · Contrast checker → · Palette generator →

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