#48165A#48165A

#48165A is a dark, vivid purple. Relative luminance 0.027; OKLCH L 31.5% C 0.121 H 315.6°. Best body text is #FFFFFF at 13.65:1 contrast (WCAG AA passes).

Color values

HEX#48165A
RGBrgb(72, 22, 90)
HSLhsl(284, 61%, 22%)
HSVhsv(284, 76%, 35%)
CMYKcmyk(20%, 75.6%, 0%, 64.7%)
CIE-LABlab(18.76, 35.06, -30.12)
CIE-LCHlch(18.76, 46.22, 319.33°)
OKLaboklab(31.5% 0.0865 -0.0848)
OKLCHoklch(31.5% 0.121 315.6)
XYZxyz(4.8046, 2.6899, 9.9370)
Luminance0.0269 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48165A #285A16
analogous
#26165A #48165A #5A164A
triadic
#48165A #5A4816 #165A48
tetradic
#48165A #5A2616 #285A16 #164A5A
square
#48165A #5A2616 #285A16 #164A5A
split-complementary
#48165A #4A5A16 #165A26
monochromatic
#140619 #210A29 #48165A #6F228B #972EBC

Accessibility & contrast

On white

13.65
#48165A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#48165A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48165A
13.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48165A#FFFFFF#000000##FFFFFF
##48165A1.0013.651.5413.65
#FFFFFF13.651.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B5C
Deuteranopia (green-blind)
#152F58
Tritanopia (blue-blind)
#472436
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #48165a;
/* rgb */ color: rgb(72, 22, 90);
/* oklch */ color: oklch(31.5% 0.121 315.6);
Tailwind
colors: {
  custom: {
    50: '#7e5889',
    500: '#48165a',
    950: '#000000',
  },
}
SCSS
$custom: #48165a;
$custom-light: #7e5889;
$custom-dark: #000000;
JSON
{
  "hex": "#48165a",
  "rgb": {
    "r": 72,
    "g": 22,
    "b": 90
  },
  "hsl": {
    "h": 284.118,
    "s": 60.714,
    "l": 21.961
  },
  "oklch": {
    "l": 0.31504,
    "c": 0.12111,
    "h": 315.6
  },
  "luminance": 0.0269
}

Semantic roles & 50–950 ramp

primary
#48165A
secondary
#52913B
accent
#E4446E
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#0A040B
muted
#7C797C

Preview Lab

Preview with #48165A

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

Preview Lab → · Contrast checker → · Palette generator →

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