#48154A#48154A

#48154A is a dark, moderate purple. Relative luminance 0.024; OKLCH L 30.3% C 0.106 H 326.3°. Best body text is #FFFFFF at 14.17:1 contrast (WCAG AA passes).

Color values

HEX#48154A
RGBrgb(72, 21, 74)
HSLhsl(298, 56%, 19%)
HSVhsv(298, 72%, 29%)
CMYKcmyk(2.7%, 71.6%, 0%, 71%)
CIE-LABlab(17.50, 32.04, -21.29)
CIE-LCHlch(17.50, 38.47, 326.40°)
OKLaboklab(30.25% 0.0883 -0.059)
OKLCHoklch(30.25% 0.106 326.3)
XYZxyz(4.1766, 2.4087, 6.7222)
Luminance0.0241 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48154A #174A15
analogous
#2D154A #48154A #4A1531
triadic
#48154A #4A4815 #154A48
tetradic
#48154A #4A2D15 #174A15 #15314A
square
#48154A #4A2D15 #174A15 #15314A
split-complementary
#48154A #314A15 #154A2D
monochromatic
#170718 #1A071A #48154A #76237A #A530A9

Accessibility & contrast

On white

14.17
#48154A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#48154A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48154A
14.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48154A#FFFFFF#000000##FFFFFF
##48154A1.0014.171.4814.17
#FFFFFF14.171.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C274C
Deuteranopia (green-blind)
#202D49
Tritanopia (blue-blind)
#4A1D2D
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #48154a;
/* rgb */ color: rgb(72, 21, 74);
/* oklch */ color: oklch(30.3% 0.106 326.3);
Tailwind
colors: {
  custom: {
    50: '#7d577d',
    500: '#48154a',
    950: '#000000',
  },
}
SCSS
$custom: #48154a;
$custom-light: #7d577d;
$custom-dark: #000000;
JSON
{
  "hex": "#48154a",
  "rgb": {
    "r": 72,
    "g": 21,
    "b": 74
  },
  "hsl": {
    "h": 297.736,
    "s": 55.789,
    "l": 18.627
  },
  "oklch": {
    "l": 0.30252,
    "c": 0.10615,
    "h": 326.3
  },
  "luminance": 0.02408
}

Semantic roles & 50–950 ramp

primary
#48154A
secondary
#3C8239
accent
#DF494E
background
#F7F5F7
surface
#EEE9EE
border
#C9C5C9
text
#0A0309
muted
#7C787B

Preview Lab

Preview with #48154A

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

Preview Lab → · Contrast checker → · Palette generator →

#48154A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva