#48105F#48105F

#48105F is a dark, vivid purple. Relative luminance 0.026; OKLCH L 31.3% C 0.134 H 313.5°. Best body text is #FFFFFF at 13.86:1 contrast (WCAG AA passes).

Color values

HEX#48105F
RGBrgb(72, 16, 95)
HSLhsl(283, 71%, 22%)
HSVhsv(283, 83%, 37%)
CMYKcmyk(24.2%, 83.2%, 0%, 62.7%)
CIE-LABlab(18.25, 38.74, -34.27)
CIE-LCHlch(18.25, 51.72, 318.51°)
OKLaboklab(31.27% 0.0921 -0.0969)
OKLCHoklch(31.27% 0.134 313.5)
XYZxyz(4.9230, 2.5747, 11.0619)
Luminance0.0257 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48105F #275F10
analogous
#21105F #48105F #5F104F
triadic
#48105F #5F4810 #105F48
tetradic
#48105F #5F2110 #275F10 #104F5F
square
#48105F #5F2110 #275F10 #104F5F
split-complementary
#48105F #4F5F10 #105F21
monochromatic
#14041A #20072B #48105F #701993 #9722C8

Accessibility & contrast

On white

13.86
#48105F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#48105F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48105F
13.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48105F#FFFFFF#000000##FFFFFF
##48105F1.0013.861.5213.86
#FFFFFF13.861.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A61
Deuteranopia (green-blind)
#072E5D
Tritanopia (blue-blind)
#462337
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #48105f;
/* rgb */ color: rgb(72, 16, 95);
/* oklch */ color: oklch(31.3% 0.134 313.5);
Tailwind
colors: {
  custom: {
    50: '#7e568d',
    500: '#48105f',
    950: '#000000',
  },
}
SCSS
$custom: #48105f;
$custom-light: #7e568d;
$custom-dark: #000000;
JSON
{
  "hex": "#48105f",
  "rgb": {
    "r": 72,
    "g": 16,
    "b": 95
  },
  "hsl": {
    "h": 282.532,
    "s": 71.171,
    "l": 21.765
  },
  "oklch": {
    "l": 0.31269,
    "c": 0.13367,
    "h": 313.5
  },
  "luminance": 0.02575
}

Semantic roles & 50–950 ramp

primary
#48105F
secondary
#509833
accent
#EE3A6E
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#0A030C
muted
#7C787D

Preview Lab

Preview with #48105F

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

Preview Lab → · Contrast checker → · Palette generator →

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