#48155E#48155E

#48155E is a dark, vivid purple. Relative luminance 0.027; OKLCH L 31.7% C 0.127 H 313.5°. Best body text is #FFFFFF at 13.60:1 contrast (WCAG AA passes).

Color values

HEX#48155E
RGBrgb(72, 21, 94)
HSLhsl(282, 63%, 23%)
HSVhsv(282, 78%, 37%)
CMYKcmyk(23.4%, 77.7%, 0%, 63.1%)
CIE-LABlab(18.90, 36.44, -32.56)
CIE-LCHlch(18.90, 48.87, 318.22°)
OKLaboklab(31.7% 0.0872 -0.0919)
OKLCHoklch(31.7% 0.127 313.5)
XYZxyz(4.9607, 2.7224, 10.8517)
Luminance0.0272 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48155E #2B5E15
analogous
#24155E #48155E #5E154F
triadic
#48155E #5E4815 #155E48
tetradic
#48155E #5E2415 #2B5E15 #154F5E
square
#48155E #5E2415 #2B5E15 #154F5E
split-complementary
#48155E #4F5E15 #155E24
monochromatic
#130619 #220A2C #48155E #6E2090 #952BC2

Accessibility & contrast

On white

13.60
#48155E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #48155E
13.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48155E#FFFFFF#000000##FFFFFF
##48155E1.0013.601.5413.60
#FFFFFF13.601.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B60
Deuteranopia (green-blind)
#0F2F5C
Tritanopia (blue-blind)
#462538
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #48155e;
/* rgb */ color: rgb(72, 21, 94);
/* oklch */ color: oklch(31.7% 0.127 313.5);
Tailwind
colors: {
  custom: {
    50: '#7e588c',
    500: '#48155e',
    950: '#000000',
  },
}
SCSS
$custom: #48155e;
$custom-light: #7e588c;
$custom-dark: #000000;
JSON
{
  "hex": "#48155e",
  "rgb": {
    "r": 72,
    "g": 21,
    "b": 94
  },
  "hsl": {
    "h": 281.918,
    "s": 63.478,
    "l": 22.549
  },
  "oklch": {
    "l": 0.31699,
    "c": 0.12667,
    "h": 313.5
  },
  "luminance": 0.02722
}

Semantic roles & 50–950 ramp

primary
#48155E
secondary
#559539
accent
#E74173
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#0A030C
muted
#7C787D

Preview Lab

Preview with #48155E

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

Preview Lab → · Contrast checker → · Palette generator →

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