#48115D#48115D

#48115D is a dark, vivid purple. Relative luminance 0.026; OKLCH L 31.2% C 0.131 H 314.5°. Best body text is #FFFFFF at 13.87:1 contrast (WCAG AA passes).

Color values

HEX#48115D
RGBrgb(72, 17, 93)
HSLhsl(283, 69%, 22%)
HSVhsv(283, 82%, 36%)
CMYKcmyk(22.6%, 81.7%, 0%, 63.5%)
CIE-LABlab(18.23, 37.90, -32.97)
CIE-LCHlch(18.23, 50.24, 318.97°)
OKLaboklab(31.2% 0.0915 -0.0931)
OKLCHoklch(31.2% 0.131 314.5)
XYZxyz(4.8484, 2.5691, 10.5943)
Luminance0.0257 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48115D #265D11
analogous
#22115D #48115D #5D114C
triadic
#48115D #5D4811 #115D48
tetradic
#48115D #5D2211 #265D11 #114C5D
square
#48115D #5D2211 #265D11 #114C5D
split-complementary
#48115D #4C5D11 #115D22
monochromatic
#14051A #200829 #48115D #701A91 #9824C4

Accessibility & contrast

On white

13.87
#48115D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#48115D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48115D
13.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48115D#FFFFFF#000000##FFFFFF
##48115D1.0013.871.5113.87
#FFFFFF13.871.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A5F
Deuteranopia (green-blind)
#0C2E5B
Tritanopia (blue-blind)
#462236
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #48115d;
/* rgb */ color: rgb(72, 17, 93);
/* oklch */ color: oklch(31.2% 0.131 314.5);
Tailwind
colors: {
  custom: {
    50: '#7e568b',
    500: '#48115d',
    950: '#000000',
  },
}
SCSS
$custom: #48115d;
$custom-light: #7e568b;
$custom-dark: #000000;
JSON
{
  "hex": "#48115d",
  "rgb": {
    "r": 72,
    "g": 17,
    "b": 93
  },
  "hsl": {
    "h": 283.421,
    "s": 69.091,
    "l": 21.569
  },
  "oklch": {
    "l": 0.31202,
    "c": 0.13055,
    "h": 314.5
  },
  "luminance": 0.02569
}

Semantic roles & 50–950 ramp

primary
#48115D
secondary
#4F9634
accent
#EC3C6D
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#0A030C
muted
#7C787D

Preview Lab

Preview with #48115D

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

Preview Lab → · Contrast checker → · Palette generator →

#48115D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva