#48105B#48105B

#48105B is a dark, vivid purple. Relative luminance 0.025; OKLCH L 30.9% C 0.130 H 315.7°. Best body text is #FFFFFF at 13.99:1 contrast (WCAG AA passes).

Color values

HEX#48105B
RGBrgb(72, 16, 91)
HSLhsl(285, 70%, 21%)
HSVhsv(285, 82%, 36%)
CMYKcmyk(20.9%, 82.4%, 0%, 64.3%)
CIE-LABlab(17.94, 37.84, -32.11)
CIE-LCHlch(17.94, 49.63, 319.68°)
OKLaboklab(30.95% 0.0929 -0.0906)
OKLCHoklch(30.95% 0.13 315.7)
XYZxyz(4.7458, 2.5038, 10.1288)
Luminance0.0250 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48105B #235B10
analogous
#22105B #48105B #5B1048
triadic
#48105B #5B4810 #105B48
tetradic
#48105B #5B2210 #235B10 #10485B
square
#48105B #5B2210 #235B10 #10485B
split-complementary
#48105B #485B10 #105B22
monochromatic
#15051A #1F0727 #48105B #71198F #9A22C3

Accessibility & contrast

On white

13.99
#48105B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#48105B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48105B
13.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48105B#FFFFFF#000000##FFFFFF
##48105B1.0013.991.5013.99
#FFFFFF13.991.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00295D
Deuteranopia (green-blind)
#0E2D59
Tritanopia (blue-blind)
#472135
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #48105b;
/* rgb */ color: rgb(72, 16, 91);
/* oklch */ color: oklch(30.9% 0.130 315.7);
Tailwind
colors: {
  custom: {
    50: '#7e568a',
    500: '#48105b',
    950: '#000000',
  },
}
SCSS
$custom: #48105b;
$custom-light: #7e568a;
$custom-dark: #000000;
JSON
{
  "hex": "#48105b",
  "rgb": {
    "r": 72,
    "g": 16,
    "b": 91
  },
  "hsl": {
    "h": 284.8,
    "s": 70.093,
    "l": 20.98
  },
  "oklch": {
    "l": 0.30946,
    "c": 0.12971,
    "h": 315.7
  },
  "luminance": 0.02504
}

Semantic roles & 50–950 ramp

primary
#48105B
secondary
#4B9433
accent
#ED3B68
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#0A030C
muted
#7C787D

Preview Lab

Preview with #48105B

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

Preview Lab → · Contrast checker → · Palette generator →

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