#471148#471148

#471148 is a dark, moderate purple. Relative luminance 0.022; OKLCH L 29.5% C 0.109 H 327.2°. Best body text is #FFFFFF at 14.57:1 contrast (WCAG AA passes).

Color values

HEX#471148
RGBrgb(71, 17, 72)
HSLhsl(299, 62%, 17%)
HSVhsv(299, 76%, 28%)
CMYKcmyk(1.4%, 76.4%, 0%, 71.8%)
CIE-LABlab(16.55, 33.18, -21.43)
CIE-LCHlch(16.55, 39.50, 327.14°)
OKLaboklab(29.49% 0.092 -0.0594)
OKLCHoklch(29.49% 0.109 327.2)
XYZxyz(3.9686, 2.2086, 6.3469)
Luminance0.0221 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471148 #124811
analogous
#2B1148 #471148 #48112E
triadic
#471148 #484711 #114847
tetradic
#471148 #482B11 #124811 #112E48
square
#471148 #482B11 #124811 #112E48
split-complementary
#471148 #2E4811 #11482B
monochromatic
#180619 #180619 #471148 #781D7A #A928AB

Accessibility & contrast

On white

14.57
#471148 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#471148 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #471148
14.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471148#FFFFFF#000000##FFFFFF
##4711481.0014.571.4414.57
#FFFFFF14.571.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#07244A
Deuteranopia (green-blind)
#1E2B47
Tritanopia (blue-blind)
#49192B
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #471148;
/* rgb */ color: rgb(71, 17, 72);
/* oklch */ color: oklch(29.5% 0.109 327.2);
Tailwind
colors: {
  custom: {
    50: '#7d557b',
    500: '#471148',
    950: '#000000',
  },
}
SCSS
$custom: #471148;
$custom-light: #7d557b;
$custom-dark: #000000;
JSON
{
  "hex": "#471148",
  "rgb": {
    "r": 71,
    "g": 17,
    "b": 72
  },
  "hsl": {
    "h": 298.909,
    "s": 61.798,
    "l": 17.451
  },
  "oklch": {
    "l": 0.29488,
    "c": 0.10949,
    "h": 327.2
  },
  "luminance": 0.02208
}

Semantic roles & 50–950 ramp

primary
#471148
secondary
#358233
accent
#E54346
background
#F7F5F7
surface
#EEE9EE
border
#C9C5C9
text
#0A0309
muted
#7C787B

Preview Lab

Preview with #471148

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

Preview Lab → · Contrast checker → · Palette generator →

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