#48154D#48154D

#48154D is a dark, moderate purple. Relative luminance 0.025; OKLCH L 30.5% C 0.109 H 324.1°. Best body text is #FFFFFF at 14.09:1 contrast (WCAG AA passes).

Color values

HEX#48154D
RGBrgb(72, 21, 77)
HSLhsl(295, 57%, 19%)
HSVhsv(295, 73%, 30%)
CMYKcmyk(6.5%, 72.7%, 0%, 69.8%)
CIE-LABlab(17.69, 32.66, -23.04)
CIE-LCHlch(17.69, 39.97, 324.80°)
OKLaboklab(30.45% 0.0883 -0.0641)
OKLCHoklch(30.45% 0.109 324.1)
XYZxyz(4.2801, 2.4501, 7.2672)
Luminance0.0245 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48154D #1A4D15
analogous
#2C154D #48154D #4D1536
triadic
#48154D #4D4815 #154D48
tetradic
#48154D #4D2C15 #1A4D15 #15364D
square
#48154D #4D2C15 #1A4D15 #15364D
split-complementary
#48154D #364D15 #154D2C
monochromatic
#160718 #1B081D #48154D #75227D #A22FAD

Accessibility & contrast

On white

14.09
#48154D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #48154D
14.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48154D#FFFFFF#000000##FFFFFF
##48154D1.0014.091.4914.09
#FFFFFF14.091.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#08274F
Deuteranopia (green-blind)
#1E2D4C
Tritanopia (blue-blind)
#491E2F
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #48154d;
/* rgb */ color: rgb(72, 21, 77);
/* oklch */ color: oklch(30.5% 0.109 324.1);
Tailwind
colors: {
  custom: {
    50: '#7d577f',
    500: '#48154d',
    950: '#000000',
  },
}
SCSS
$custom: #48154d;
$custom-light: #7d577f;
$custom-dark: #000000;
JSON
{
  "hex": "#48154d",
  "rgb": {
    "r": 72,
    "g": 21,
    "b": 77
  },
  "hsl": {
    "h": 294.643,
    "s": 57.143,
    "l": 19.216
  },
  "oklch": {
    "l": 0.30452,
    "c": 0.10912,
    "h": 324.1
  },
  "luminance": 0.0245
}

Semantic roles & 50–950 ramp

primary
#48154D
secondary
#408539
accent
#E04755
background
#F7F5F7
surface
#EEE9EE
border
#C9C5C9
text
#0A030A
muted
#7C787C

Preview Lab

Preview with #48154D

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

Preview Lab → · Contrast checker → · Palette generator →

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