#48104C#48104C

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

Color values

HEX#48104C
RGBrgb(72, 16, 76)
HSLhsl(296, 65%, 18%)
HSVhsv(296, 79%, 30%)
CMYKcmyk(5.3%, 78.9%, 0%, 70.2%)
CIE-LABlab(16.85, 34.66, -23.70)
CIE-LCHlch(16.85, 41.98, 325.64°)
OKLaboklab(29.82% 0.0944 -0.0659)
OKLCHoklch(29.82% 0.115 325.1)
XYZxyz(4.1622, 2.2704, 7.0551)
Luminance0.0227 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48104C #144C10
analogous
#2A104C #48104C #4C1032
triadic
#48104C #4C4810 #104C48
tetradic
#48104C #4C2A10 #144C10 #10324C
square
#48104C #4C2A10 #144C10 #10324C
split-complementary
#48104C #324C10 #104C2A
monochromatic
#180519 #180519 #48104C #781B7F #A825B1

Accessibility & contrast

On white

14.44
#48104C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #48104C
14.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48104C#FFFFFF#000000##FFFFFF
##48104C1.0014.441.4514.44
#FFFFFF14.441.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#02254E
Deuteranopia (green-blind)
#1C2C4B
Tritanopia (blue-blind)
#4A1A2D
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #48104c;
/* rgb */ color: rgb(72, 16, 76);
/* oklch */ color: oklch(29.8% 0.115 325.1);
Tailwind
colors: {
  custom: {
    50: '#7d557e',
    500: '#48104c',
    950: '#000000',
  },
}
SCSS
$custom: #48104c;
$custom-light: #7d557e;
$custom-dark: #000000;
JSON
{
  "hex": "#48104c",
  "rgb": {
    "r": 72,
    "g": 16,
    "b": 76
  },
  "hsl": {
    "h": 296,
    "s": 65.217,
    "l": 18.039
  },
  "oklch": {
    "l": 0.29824,
    "c": 0.11517,
    "h": 325.1
  },
  "luminance": 0.0227
}

Semantic roles & 50–950 ramp

primary
#48104C
secondary
#388632
accent
#E8404B
background
#F7F5F7
surface
#EEE9EE
border
#C9C5C9
text
#0A030A
muted
#7C787C

Preview Lab

Preview with #48104C

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

Preview Lab → · Contrast checker → · Palette generator →

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