#48155B#48155B

#48155B is a dark, vivid purple. Relative luminance 0.027; OKLCH L 31.5% C 0.124 H 315.1°. Best body text is #FFFFFF at 13.69:1 contrast (WCAG AA passes).

Color values

HEX#48155B
RGBrgb(72, 21, 91)
HSLhsl(284, 63%, 22%)
HSVhsv(284, 77%, 36%)
CMYKcmyk(20.9%, 76.9%, 0%, 64.3%)
CIE-LABlab(18.67, 35.75, -30.93)
CIE-LCHlch(18.67, 47.27, 319.13°)
OKLaboklab(31.47% 0.0876 -0.0871)
OKLCHoklch(31.47% 0.124 315.1)
XYZxyz(4.8287, 2.6696, 10.1564)
Luminance0.0267 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48155B #285B15
analogous
#25155B #48155B #5B154B
triadic
#48155B #5B4815 #155B48
tetradic
#48155B #5B2515 #285B15 #154B5B
square
#48155B #5B2515 #285B15 #154B5B
split-complementary
#48155B #4B5B15 #155B25
monochromatic
#140619 #210A29 #48155B #6F208D #972CBE

Accessibility & contrast

On white

13.69
#48155B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#48155B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48155B
13.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48155B#FFFFFF#000000##FFFFFF
##48155B1.0013.691.5313.69
#FFFFFF13.691.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B5D
Deuteranopia (green-blind)
#132F59
Tritanopia (blue-blind)
#462436
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #48155b;
/* rgb */ color: rgb(72, 21, 91);
/* oklch */ color: oklch(31.5% 0.124 315.1);
Tailwind
colors: {
  custom: {
    50: '#7e588a',
    500: '#48155b',
    950: '#000000',
  },
}
SCSS
$custom: #48155b;
$custom-light: #7e588a;
$custom-dark: #000000;
JSON
{
  "hex": "#48155b",
  "rgb": {
    "r": 72,
    "g": 21,
    "b": 91
  },
  "hsl": {
    "h": 283.714,
    "s": 62.5,
    "l": 21.961
  },
  "oklch": {
    "l": 0.31465,
    "c": 0.12352,
    "h": 315.1
  },
  "luminance": 0.02669
}

Semantic roles & 50–950 ramp

primary
#48155B
secondary
#529239
accent
#E6426F
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#0A030C
muted
#7C787D

Preview Lab

Preview with #48155B

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

Preview Lab → · Contrast checker → · Palette generator →

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