#471248#471248

#471248 is a dark, moderate purple. Relative luminance 0.022; OKLCH L 29.6% C 0.108 H 327.1°. Best body text is #FFFFFF at 14.50:1 contrast (WCAG AA passes).

Color values

HEX#471248
RGBrgb(71, 18, 72)
HSLhsl(299, 60%, 18%)
HSVhsv(299, 75%, 28%)
CMYKcmyk(1.4%, 75%, 0%, 71.8%)
CIE-LABlab(16.70, 32.74, -21.19)
CIE-LCHlch(16.70, 39.00, 327.09°)
OKLaboklab(29.6% 0.0908 -0.0587)
OKLCHoklch(29.6% 0.108 327.1)
XYZxyz(3.9845, 2.2404, 6.3522)
Luminance0.0224 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471248 #134812
analogous
#2C1248 #471248 #48122E
triadic
#471248 #484712 #124847
tetradic
#471248 #482C12 #134812 #122E48
square
#471248 #482C12 #134812 #122E48
split-complementary
#471248 #2E4812 #12482C
monochromatic
#180618 #180618 #471248 #771E79 #A82AAA

Accessibility & contrast

On white

14.50
#471248 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#471248 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #471248
14.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471248#FFFFFF#000000##FFFFFF
##4712481.0014.501.4514.50
#FFFFFF14.501.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#09254A
Deuteranopia (green-blind)
#1F2C47
Tritanopia (blue-blind)
#491A2B
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #471248;
/* rgb */ color: rgb(71, 18, 72);
/* oklch */ color: oklch(29.6% 0.108 327.1);
Tailwind
colors: {
  custom: {
    50: '#7c557b',
    500: '#471248',
    950: '#000000',
  },
}
SCSS
$custom: #471248;
$custom-light: #7c557b;
$custom-dark: #000000;
JSON
{
  "hex": "#471248",
  "rgb": {
    "r": 71,
    "g": 18,
    "b": 72
  },
  "hsl": {
    "h": 298.889,
    "s": 60,
    "l": 17.647
  },
  "oklch": {
    "l": 0.29599,
    "c": 0.10807,
    "h": 327.1
  },
  "luminance": 0.0224
}

Semantic roles & 50–950 ramp

primary
#471248
secondary
#368135
accent
#E34548
background
#F7F5F7
surface
#EEE9EE
border
#C9C5C9
text
#0A0309
muted
#7C787B

Preview Lab

Preview with #471248

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

Preview Lab → · Contrast checker → · Palette generator →

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