#48165F#48165F

#48165F is a dark, vivid purple. Relative luminance 0.028; OKLCH L 31.9% C 0.126 H 312.8°. Best body text is #FFFFFF at 13.50:1 contrast (WCAG AA passes).

Color values

HEX#48165F
RGBrgb(72, 22, 95)
HSLhsl(281, 62%, 23%)
HSVhsv(281, 77%, 37%)
CMYKcmyk(24.2%, 76.8%, 0%, 62.7%)
CIE-LABlab(19.13, 36.23, -32.85)
CIE-LCHlch(19.13, 48.90, 317.80°)
OKLaboklab(31.89% 0.0859 -0.0928)
OKLCHoklch(31.89% 0.126 312.8)
XYZxyz(5.0246, 2.7779, 11.0958)
Luminance0.0278 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48165F #2D5F16
analogous
#23165F #48165F #5F1651
triadic
#48165F #5F4816 #165F48
tetradic
#48165F #5F2316 #2D5F16 #16515F
square
#48165F #5F2316 #2D5F16 #16515F
split-complementary
#48165F #515F16 #165F23
monochromatic
#130619 #220A2D #48165F #6E2291 #932DC2

Accessibility & contrast

On white

13.50
#48165F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#48165F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48165F
13.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48165F#FFFFFF#000000##FFFFFF
##48165F1.0013.501.5613.50
#FFFFFF13.501.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C61
Deuteranopia (green-blind)
#0F2F5D
Tritanopia (blue-blind)
#452639
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #48165f;
/* rgb */ color: rgb(72, 22, 95);
/* oklch */ color: oklch(31.9% 0.126 312.8);
Tailwind
colors: {
  custom: {
    50: '#7e598d',
    500: '#48165f',
    950: '#000000',
  },
}
SCSS
$custom: #48165f;
$custom-light: #7e598d;
$custom-dark: #000000;
JSON
{
  "hex": "#48165f",
  "rgb": {
    "r": 72,
    "g": 22,
    "b": 95
  },
  "hsl": {
    "h": 281.096,
    "s": 62.393,
    "l": 22.941
  },
  "oklch": {
    "l": 0.31891,
    "c": 0.12642,
    "h": 312.8
  },
  "luminance": 0.02778
}

Semantic roles & 50–950 ramp

primary
#48165F
secondary
#58963B
accent
#E54276
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#0A040C
muted
#7C797D

Preview Lab

Preview with #48165F

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

Preview Lab → · Contrast checker → · Palette generator →

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