#48104B#48104B

#48104B is a dark, moderate purple. Relative luminance 0.023; OKLCH L 29.8% C 0.114 H 325.8°. Best body text is #FFFFFF at 14.47:1 contrast (WCAG AA passes).

Color values

HEX#48104B
RGBrgb(72, 16, 75)
HSLhsl(297, 65%, 18%)
HSVhsv(297, 79%, 29%)
CMYKcmyk(4%, 78.7%, 0%, 70.6%)
CIE-LABlab(16.78, 34.46, -23.12)
CIE-LCHlch(16.78, 41.49, 326.14°)
OKLaboklab(29.76% 0.0944 -0.0642)
OKLCHoklch(29.76% 0.114 325.8)
XYZxyz(4.1277, 2.2566, 6.8734)
Luminance0.0226 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48104B #134B10
analogous
#2A104B #48104B #4B1030
triadic
#48104B #4B4810 #104B48
tetradic
#48104B #4B2A10 #134B10 #10304B
square
#48104B #4B2A10 #134B10 #10304B
split-complementary
#48104B #304B10 #104B2A
monochromatic
#180519 #180519 #48104B #781B7D #A926B0

Accessibility & contrast

On white

14.47
#48104B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#48104B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48104B
14.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48104B#FFFFFF#000000##FFFFFF
##48104B1.0014.471.4514.47
#FFFFFF14.471.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#03254D
Deuteranopia (green-blind)
#1D2C4A
Tritanopia (blue-blind)
#4A1A2C
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #48104b;
/* rgb */ color: rgb(72, 16, 75);
/* oklch */ color: oklch(29.8% 0.114 325.8);
Tailwind
colors: {
  custom: {
    50: '#7d557d',
    500: '#48104b',
    950: '#000000',
  },
}
SCSS
$custom: #48104b;
$custom-light: #7d557d;
$custom-dark: #000000;
JSON
{
  "hex": "#48104b",
  "rgb": {
    "r": 72,
    "g": 16,
    "b": 75
  },
  "hsl": {
    "h": 296.949,
    "s": 64.835,
    "l": 17.843
  },
  "oklch": {
    "l": 0.29755,
    "c": 0.11422,
    "h": 325.8
  },
  "luminance": 0.02256
}

Semantic roles & 50–950 ramp

primary
#48104B
secondary
#368532
accent
#E84049
background
#F7F5F7
surface
#EEE9EE
border
#C9C5C9
text
#0A030A
muted
#7C787C

Preview Lab

Preview with #48104B

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

Preview Lab → · Contrast checker → · Palette generator →

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