#48154B#48154B

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

Color values

HEX#48154B
RGBrgb(72, 21, 75)
HSLhsl(297, 56%, 19%)
HSVhsv(297, 72%, 29%)
CMYKcmyk(4%, 72%, 0%, 70.6%)
CIE-LABlab(17.56, 32.25, -21.87)
CIE-LCHlch(17.56, 38.97, 325.85°)
OKLaboklab(30.32% 0.0883 -0.0607)
OKLCHoklch(30.32% 0.107 325.5)
XYZxyz(4.2106, 2.4223, 6.9010)
Luminance0.0242 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48154B #184B15
analogous
#2D154B #48154B #4B1533
triadic
#48154B #4B4815 #154B48
tetradic
#48154B #4B2D15 #184B15 #15334B
square
#48154B #4B2D15 #184B15 #15334B
split-complementary
#48154B #334B15 #154B2D
monochromatic
#170718 #1A081B #48154B #76227B #A430AB

Accessibility & contrast

On white

14.15
#48154B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #48154B
14.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48154B#FFFFFF#000000##FFFFFF
##48154B1.0014.151.4814.15
#FFFFFF14.151.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B274D
Deuteranopia (green-blind)
#202D4A
Tritanopia (blue-blind)
#4A1D2E
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #48154b;
/* rgb */ color: rgb(72, 21, 75);
/* oklch */ color: oklch(30.3% 0.107 325.5);
Tailwind
colors: {
  custom: {
    50: '#7d577d',
    500: '#48154b',
    950: '#000000',
  },
}
SCSS
$custom: #48154b;
$custom-light: #7d577d;
$custom-dark: #000000;
JSON
{
  "hex": "#48154b",
  "rgb": {
    "r": 72,
    "g": 21,
    "b": 75
  },
  "hsl": {
    "h": 296.667,
    "s": 56.25,
    "l": 18.824
  },
  "oklch": {
    "l": 0.30318,
    "c": 0.10713,
    "h": 325.5
  },
  "luminance": 0.02422
}

Semantic roles & 50–950 ramp

primary
#48154B
secondary
#3D8339
accent
#E04851
background
#F7F5F7
surface
#EEE9EE
border
#C9C5C9
text
#0A030A
muted
#7C787C

Preview Lab

Preview with #48154B

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

Preview Lab → · Contrast checker → · Palette generator →

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