#48124C#48124C

#48124C is a dark, moderate purple. Relative luminance 0.023; OKLCH L 30.0% C 0.112 H 325.0°. Best body text is #FFFFFF at 14.32:1 contrast (WCAG AA passes).

Color values

HEX#48124C
RGBrgb(72, 18, 76)
HSLhsl(296, 62%, 18%)
HSVhsv(296, 76%, 30%)
CMYKcmyk(5.3%, 76.3%, 0%, 70.2%)
CIE-LABlab(17.14, 33.82, -23.23)
CIE-LCHlch(17.14, 41.02, 325.52°)
OKLaboklab(30.04% 0.0921 -0.0646)
OKLCHoklch(30.04% 0.112 325)
XYZxyz(4.1932, 2.3324, 7.0654)
Luminance0.0233 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48124C #164C12
analogous
#2B124C #48124C #4C1233
triadic
#48124C #4C4812 #124C48
tetradic
#48124C #4C2B12 #164C12 #12334C
square
#48124C #4C2B12 #164C12 #12334C
split-complementary
#48124C #334C12 #124C2B
monochromatic
#170619 #19061B #48124C #771E7D #A629AF

Accessibility & contrast

On white

14.32
#48124C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #48124C
14.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48124C#FFFFFF#000000##FFFFFF
##48124C1.0014.321.4714.32
#FFFFFF14.321.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#05264E
Deuteranopia (green-blind)
#1D2C4B
Tritanopia (blue-blind)
#4A1B2D
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #48124c;
/* rgb */ color: rgb(72, 18, 76);
/* oklch */ color: oklch(30.0% 0.112 325.0);
Tailwind
colors: {
  custom: {
    50: '#7d567e',
    500: '#48124c',
    950: '#000000',
  },
}
SCSS
$custom: #48124c;
$custom-light: #7d567e;
$custom-dark: #000000;
JSON
{
  "hex": "#48124c",
  "rgb": {
    "r": 72,
    "g": 18,
    "b": 76
  },
  "hsl": {
    "h": 295.862,
    "s": 61.702,
    "l": 18.431
  },
  "oklch": {
    "l": 0.30036,
    "c": 0.11248,
    "h": 325
  },
  "luminance": 0.02332
}

Semantic roles & 50–950 ramp

primary
#48124C
secondary
#3A8535
accent
#E5434E
background
#F7F5F7
surface
#EEE9EE
border
#C9C5C9
text
#0A030A
muted
#7C787C

Preview Lab

Preview with #48124C

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

Preview Lab → · Contrast checker → · Palette generator →

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