#48165B#48165B

#48165B is a dark, vivid purple. Relative luminance 0.027; OKLCH L 31.6% C 0.122 H 315.0°. Best body text is #FFFFFF at 13.62:1 contrast (WCAG AA passes).

Color values

HEX#48165B
RGBrgb(72, 22, 91)
HSLhsl(283, 61%, 22%)
HSVhsv(283, 76%, 36%)
CMYKcmyk(20.9%, 75.8%, 0%, 64.3%)
CIE-LABlab(18.83, 35.29, -30.67)
CIE-LCHlch(18.83, 46.76, 319.01°)
OKLaboklab(31.58% 0.0864 -0.0864)
OKLCHoklch(31.58% 0.122 315)
XYZxyz(4.8474, 2.7070, 10.1627)
Luminance0.0271 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48165B #295B16
analogous
#25165B #48165B #5B164C
triadic
#48165B #5B4816 #165B48
tetradic
#48165B #5B2516 #295B16 #164C5B
square
#48165B #5B2516 #295B16 #164C5B
split-complementary
#48165B #4C5B16 #165B25
monochromatic
#130619 #210A2A #48165B #6F228C #962EBE

Accessibility & contrast

On white

13.62
#48165B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #48165B
13.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48165B#FFFFFF#000000##FFFFFF
##48165B1.0013.621.5413.62
#FFFFFF13.621.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B5D
Deuteranopia (green-blind)
#142F59
Tritanopia (blue-blind)
#462437
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #48165b;
/* rgb */ color: rgb(72, 22, 91);
/* oklch */ color: oklch(31.6% 0.122 315.0);
Tailwind
colors: {
  custom: {
    50: '#7e588a',
    500: '#48165b',
    950: '#000000',
  },
}
SCSS
$custom: #48165b;
$custom-light: #7e588a;
$custom-dark: #000000;
JSON
{
  "hex": "#48165b",
  "rgb": {
    "r": 72,
    "g": 22,
    "b": 91
  },
  "hsl": {
    "h": 283.478,
    "s": 61.062,
    "l": 22.157
  },
  "oklch": {
    "l": 0.3158,
    "c": 0.12217,
    "h": 315
  },
  "luminance": 0.02707
}

Semantic roles & 50–950 ramp

primary
#48165B
secondary
#53923B
accent
#E44470
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#0A040C
muted
#7C797D

Preview Lab

Preview with #48165B

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

Preview Lab → · Contrast checker → · Palette generator →

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