#48105A#48105A

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

Color values

HEX#48105A
RGBrgb(72, 16, 90)
HSLhsl(285, 70%, 21%)
HSVhsv(285, 82%, 35%)
CMYKcmyk(20%, 82.2%, 0%, 64.7%)
CIE-LABlab(17.86, 37.62, -31.57)
CIE-LCHlch(17.86, 49.11, 320.00°)
OKLaboklab(30.87% 0.093 -0.089)
OKLCHoklch(30.87% 0.129 316.3)
XYZxyz(4.7030, 2.4867, 9.9031)
Luminance0.0249 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48105A #225A10
analogous
#23105A #48105A #5A1047
triadic
#48105A #5A4810 #105A48
tetradic
#48105A #5A2310 #225A10 #10475A
square
#48105A #5A2310 #225A10 #10475A
split-complementary
#48105A #475A10 #105A23
monochromatic
#15051A #1E0726 #48105A #72198E #9B22C2

Accessibility & contrast

On white

14.03
#48105A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #48105A
14.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48105A#FFFFFF#000000##FFFFFF
##48105A1.0014.031.5014.03
#FFFFFF14.031.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00285C
Deuteranopia (green-blind)
#0F2D58
Tritanopia (blue-blind)
#472134
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #48105a;
/* rgb */ color: rgb(72, 16, 90);
/* oklch */ color: oklch(30.9% 0.129 316.3);
Tailwind
colors: {
  custom: {
    50: '#7e5689',
    500: '#48105a',
    950: '#000000',
  },
}
SCSS
$custom: #48105a;
$custom-light: #7e5689;
$custom-dark: #000000;
JSON
{
  "hex": "#48105a",
  "rgb": {
    "r": 72,
    "g": 16,
    "b": 90
  },
  "hsl": {
    "h": 285.405,
    "s": 69.811,
    "l": 20.784
  },
  "oklch": {
    "l": 0.30866,
    "c": 0.12872,
    "h": 316.3
  },
  "luminance": 0.02486
}

Semantic roles & 50–950 ramp

primary
#48105A
secondary
#4A9333
accent
#ED3B66
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#0A030B
muted
#7C787C

Preview Lab

Preview with #48105A

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

Preview Lab → · Contrast checker → · Palette generator →

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