#48105C#48105C

#48105C is a dark, vivid purple. Relative luminance 0.025; OKLCH L 31.0% C 0.131 H 315.2°. Best body text is #FFFFFF at 13.96:1 contrast (WCAG AA passes).

Color values

HEX#48105C
RGBrgb(72, 16, 92)
HSLhsl(284, 70%, 21%)
HSVhsv(284, 83%, 36%)
CMYKcmyk(21.7%, 82.6%, 0%, 63.9%)
CIE-LABlab(18.01, 38.06, -32.65)
CIE-LCHlch(18.01, 50.15, 319.38°)
OKLaboklab(31.03% 0.0927 -0.0921)
OKLCHoklch(31.03% 0.131 315.2)
XYZxyz(4.7892, 2.5212, 10.3575)
Luminance0.0252 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48105C #245C10
analogous
#22105C #48105C #5C104A
triadic
#48105C #5C4810 #105C48
tetradic
#48105C #5C2210 #245C10 #104A5C
square
#48105C #5C2210 #245C10 #104A5C
split-complementary
#48105C #4A5C10 #105C22
monochromatic
#14051A #1F0728 #48105C #711990 #9A22C4

Accessibility & contrast

On white

13.96
#48105C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #48105C
13.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48105C#FFFFFF#000000##FFFFFF
##48105C1.0013.961.5013.96
#FFFFFF13.961.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00295E
Deuteranopia (green-blind)
#0D2D5A
Tritanopia (blue-blind)
#462136
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #48105c;
/* rgb */ color: rgb(72, 16, 92);
/* oklch */ color: oklch(31.0% 0.131 315.2);
Tailwind
colors: {
  custom: {
    50: '#7e568b',
    500: '#48105c',
    950: '#000000',
  },
}
SCSS
$custom: #48105c;
$custom-light: #7e568b;
$custom-dark: #000000;
JSON
{
  "hex": "#48105c",
  "rgb": {
    "r": 72,
    "g": 16,
    "b": 92
  },
  "hsl": {
    "h": 284.211,
    "s": 70.37,
    "l": 21.176
  },
  "oklch": {
    "l": 0.31026,
    "c": 0.1307,
    "h": 315.2
  },
  "luminance": 0.02521
}

Semantic roles & 50–950 ramp

primary
#48105C
secondary
#4D9533
accent
#ED3B6A
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#0A030C
muted
#7C787D

Preview Lab

Preview with #48105C

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

Preview Lab → · Contrast checker → · Palette generator →

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