#48124D#48124D

#48124D is a dark, moderate purple. Relative luminance 0.023; OKLCH L 30.1% C 0.113 H 324.3°. Best body text is #FFFFFF at 14.29:1 contrast (WCAG AA passes).

Color values

HEX#48124D
RGBrgb(72, 18, 77)
HSLhsl(295, 62%, 19%)
HSVhsv(295, 77%, 30%)
CMYKcmyk(6.5%, 76.6%, 0%, 69.8%)
CIE-LABlab(17.21, 34.02, -23.81)
CIE-LCHlch(17.21, 41.52, 325.02°)
OKLaboklab(30.1% 0.0921 -0.0663)
OKLCHoklch(30.1% 0.113 324.3)
XYZxyz(4.2282, 2.3464, 7.2499)
Luminance0.0235 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48124D #174D12
analogous
#2A124D #48124D #4D1234
triadic
#48124D #4D4812 #124D48
tetradic
#48124D #4D2A12 #174D12 #12344D
square
#48124D #4D2A12 #174D12 #12344D
split-complementary
#48124D #344D12 #124D2A
monochromatic
#170619 #1A061B #48124D #761E7F #A529B0

Accessibility & contrast

On white

14.29
#48124D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#48124D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48124D
14.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48124D#FFFFFF#000000##FFFFFF
##48124D1.0014.291.4714.29
#FFFFFF14.291.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#03264F
Deuteranopia (green-blind)
#1D2D4C
Tritanopia (blue-blind)
#4A1C2E
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #48124d;
/* rgb */ color: rgb(72, 18, 77);
/* oklch */ color: oklch(30.1% 0.113 324.3);
Tailwind
colors: {
  custom: {
    50: '#7d567f',
    500: '#48124d',
    950: '#000000',
  },
}
SCSS
$custom: #48124d;
$custom-light: #7d567f;
$custom-dark: #000000;
JSON
{
  "hex": "#48124d",
  "rgb": {
    "r": 72,
    "g": 18,
    "b": 77
  },
  "hsl": {
    "h": 294.915,
    "s": 62.105,
    "l": 18.627
  },
  "oklch": {
    "l": 0.30105,
    "c": 0.11345,
    "h": 324.3
  },
  "luminance": 0.02346
}

Semantic roles & 50–950 ramp

primary
#48124D
secondary
#3C8635
accent
#E54350
background
#F7F5F7
surface
#EEE9EE
border
#C9C5C9
text
#0A030A
muted
#7C787C

Preview Lab

Preview with #48124D

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

Preview Lab → · Contrast checker → · Palette generator →

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