#48155C#48155C

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

Color values

HEX#48155C
RGBrgb(72, 21, 92)
HSLhsl(283, 63%, 22%)
HSVhsv(283, 77%, 36%)
CMYKcmyk(21.7%, 77.2%, 0%, 63.9%)
CIE-LABlab(18.74, 35.98, -31.48)
CIE-LCHlch(18.74, 47.80, 318.82°)
OKLaboklab(31.54% 0.0874 -0.0887)
OKLCHoklch(31.54% 0.125 314.6)
XYZxyz(4.8721, 2.6869, 10.3851)
Luminance0.0269 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48155C #295C15
analogous
#25155C #48155C #5C154D
triadic
#48155C #5C4815 #155C48
tetradic
#48155C #5C2515 #295C15 #154D5C
square
#48155C #5C2515 #295C15 #154D5C
split-complementary
#48155C #4D5C15 #155C25
monochromatic
#130619 #210A2A #48155C #6F208E #962CC0

Accessibility & contrast

On white

13.66
#48155C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#48155C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48155C
13.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48155C#FFFFFF#000000##FFFFFF
##48155C1.0013.661.5413.66
#FFFFFF13.661.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B5E
Deuteranopia (green-blind)
#122F5A
Tritanopia (blue-blind)
#462437
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #48155c;
/* rgb */ color: rgb(72, 21, 92);
/* oklch */ color: oklch(31.5% 0.125 314.6);
Tailwind
colors: {
  custom: {
    50: '#7e588b',
    500: '#48155c',
    950: '#000000',
  },
}
SCSS
$custom: #48155c;
$custom-light: #7e588b;
$custom-dark: #000000;
JSON
{
  "hex": "#48155c",
  "rgb": {
    "r": 72,
    "g": 21,
    "b": 92
  },
  "hsl": {
    "h": 283.099,
    "s": 62.832,
    "l": 22.157
  },
  "oklch": {
    "l": 0.31542,
    "c": 0.12457,
    "h": 314.6
  },
  "luminance": 0.02687
}

Semantic roles & 50–950 ramp

primary
#48155C
secondary
#539339
accent
#E64270
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#0A030C
muted
#7C787D

Preview Lab

Preview with #48155C

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

Preview Lab → · Contrast checker → · Palette generator →

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