#48154C#48154C

#48154C is a dark, moderate purple. Relative luminance 0.024; OKLCH L 30.4% C 0.108 H 324.8°. Best body text is #FFFFFF at 14.12:1 contrast (WCAG AA passes).

Color values

HEX#48154C
RGBrgb(72, 21, 76)
HSLhsl(296, 57%, 19%)
HSVhsv(296, 72%, 30%)
CMYKcmyk(5.3%, 72.4%, 0%, 70.2%)
CIE-LABlab(17.63, 32.46, -22.46)
CIE-LCHlch(17.63, 39.47, 325.32°)
OKLaboklab(30.39% 0.0883 -0.0624)
OKLCHoklch(30.39% 0.108 324.8)
XYZxyz(4.2451, 2.4361, 7.0827)
Luminance0.0244 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48154C #194C15
analogous
#2D154C #48154C #4C1535
triadic
#48154C #4C4815 #154C48
tetradic
#48154C #4C2D15 #194C15 #15354C
square
#48154C #4C2D15 #194C15 #15354C
split-complementary
#48154C #354C15 #154C2D
monochromatic
#170718 #1B081C #48154C #75227C #A32FAC

Accessibility & contrast

On white

14.12
#48154C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#48154C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48154C
14.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48154C#FFFFFF#000000##FFFFFF
##48154C1.0014.121.4914.12
#FFFFFF14.121.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A274E
Deuteranopia (green-blind)
#1F2D4B
Tritanopia (blue-blind)
#4A1D2E
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #48154c;
/* rgb */ color: rgb(72, 21, 76);
/* oklch */ color: oklch(30.4% 0.108 324.8);
Tailwind
colors: {
  custom: {
    50: '#7d577e',
    500: '#48154c',
    950: '#000000',
  },
}
SCSS
$custom: #48154c;
$custom-light: #7d577e;
$custom-dark: #000000;
JSON
{
  "hex": "#48154c",
  "rgb": {
    "r": 72,
    "g": 21,
    "b": 76
  },
  "hsl": {
    "h": 295.636,
    "s": 56.701,
    "l": 19.02
  },
  "oklch": {
    "l": 0.30385,
    "c": 0.10813,
    "h": 324.8
  },
  "luminance": 0.02436
}

Semantic roles & 50–950 ramp

primary
#48154C
secondary
#3E8439
accent
#E04853
background
#F7F5F7
surface
#EEE9EE
border
#C9C5C9
text
#0A030A
muted
#7C787C

Preview Lab

Preview with #48154C

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

Preview Lab → · Contrast checker → · Palette generator →

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