#48155A#48155A

#48155A is a dark, vivid purple. Relative luminance 0.027; OKLCH L 31.4% C 0.122 H 315.7°. Best body text is #FFFFFF at 13.72:1 contrast (WCAG AA passes).

Color values

HEX#48155A
RGBrgb(72, 21, 90)
HSLhsl(284, 62%, 22%)
HSVhsv(284, 77%, 35%)
CMYKcmyk(20%, 76.7%, 0%, 64.7%)
CIE-LABlab(18.59, 35.52, -30.38)
CIE-LCHlch(18.59, 46.74, 319.46°)
OKLaboklab(31.39% 0.0877 -0.0855)
OKLCHoklch(31.39% 0.122 315.7)
XYZxyz(4.7858, 2.6524, 9.9307)
Luminance0.0265 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48155A #275A15
analogous
#26155A #48155A #5A154A
triadic
#48155A #5A4815 #155A48
tetradic
#48155A #5A2615 #275A15 #154A5A
square
#48155A #5A2615 #275A15 #154A5A
split-complementary
#48155A #4A5A15 #155A26
monochromatic
#140619 #200928 #48155A #70218C #972CBD

Accessibility & contrast

On white

13.72
#48155A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #48155A
13.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48155A#FFFFFF#000000##FFFFFF
##48155A1.0013.721.5313.72
#FFFFFF13.721.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A5C
Deuteranopia (green-blind)
#142F58
Tritanopia (blue-blind)
#472336
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #48155a;
/* rgb */ color: rgb(72, 21, 90);
/* oklch */ color: oklch(31.4% 0.122 315.7);
Tailwind
colors: {
  custom: {
    50: '#7e5889',
    500: '#48155a',
    950: '#000000',
  },
}
SCSS
$custom: #48155a;
$custom-light: #7e5889;
$custom-dark: #000000;
JSON
{
  "hex": "#48155a",
  "rgb": {
    "r": 72,
    "g": 21,
    "b": 90
  },
  "hsl": {
    "h": 284.348,
    "s": 62.162,
    "l": 21.765
  },
  "oklch": {
    "l": 0.31388,
    "c": 0.12248,
    "h": 315.7
  },
  "luminance": 0.02652
}

Semantic roles & 50–950 ramp

primary
#48155A
secondary
#509239
accent
#E5436D
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#0A030B
muted
#7C787C

Preview Lab

Preview with #48155A

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

Preview Lab → · Contrast checker → · Palette generator →

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