#48105D#48105D

#48105D is a dark, vivid purple. Relative luminance 0.025; OKLCH L 31.1% C 0.132 H 314.6°. Best body text is #FFFFFF at 13.93:1 contrast (WCAG AA passes).

Color values

HEX#48105D
RGBrgb(72, 16, 93)
HSLhsl(284, 71%, 21%)
HSVhsv(284, 83%, 36%)
CMYKcmyk(22.6%, 82.8%, 0%, 63.5%)
CIE-LABlab(18.09, 38.29, -33.19)
CIE-LCHlch(18.09, 50.67, 319.08°)
OKLaboklab(31.11% 0.0925 -0.0937)
OKLCHoklch(31.11% 0.132 314.6)
XYZxyz(4.8332, 2.5388, 10.5892)
Luminance0.0254 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48105D #255D10
analogous
#22105D #48105D #5D104C
triadic
#48105D #5D4810 #105D48
tetradic
#48105D #5D2210 #255D10 #104C5D
square
#48105D #5D2210 #255D10 #104C5D
split-complementary
#48105D #4C5D10 #105D22
monochromatic
#14041A #200729 #48105D #701991 #9922C5

Accessibility & contrast

On white

13.93
#48105D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #48105D
13.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48105D#FFFFFF#000000##FFFFFF
##48105D1.0013.931.5113.93
#FFFFFF13.931.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00295F
Deuteranopia (green-blind)
#0B2E5B
Tritanopia (blue-blind)
#462236
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #48105d;
/* rgb */ color: rgb(72, 16, 93);
/* oklch */ color: oklch(31.1% 0.132 314.6);
Tailwind
colors: {
  custom: {
    50: '#7e568b',
    500: '#48105d',
    950: '#000000',
  },
}
SCSS
$custom: #48105d;
$custom-light: #7e568b;
$custom-dark: #000000;
JSON
{
  "hex": "#48105d",
  "rgb": {
    "r": 72,
    "g": 16,
    "b": 93
  },
  "hsl": {
    "h": 283.636,
    "s": 70.642,
    "l": 21.373
  },
  "oklch": {
    "l": 0.31106,
    "c": 0.13168,
    "h": 314.6
  },
  "luminance": 0.02539
}

Semantic roles & 50–950 ramp

primary
#48105D
secondary
#4E9633
accent
#ED3A6B
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#0A030C
muted
#7C787D

Preview Lab

Preview with #48105D

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

Preview Lab → · Contrast checker → · Palette generator →

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