#48124A#48124A

#48124A is a dark, moderate purple. Relative luminance 0.023; OKLCH L 29.9% C 0.111 H 326.4°. Best body text is #FFFFFF at 14.37:1 contrast (WCAG AA passes).

Color values

HEX#48124A
RGBrgb(72, 18, 74)
HSLhsl(298, 61%, 18%)
HSVhsv(298, 76%, 29%)
CMYKcmyk(2.7%, 75.7%, 0%, 71%)
CIE-LABlab(17.01, 33.41, -22.06)
CIE-LCHlch(17.01, 40.04, 326.56°)
OKLaboklab(29.9% 0.0921 -0.0612)
OKLCHoklch(29.9% 0.111 326.4)
XYZxyz(4.1247, 2.3050, 6.7049)
Luminance0.0231 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48124A #144A12
analogous
#2C124A #48124A #4A1230
triadic
#48124A #4A4812 #124A48
tetradic
#48124A #4A2C12 #144A12 #12304A
square
#48124A #4A2C12 #144A12 #12304A
split-complementary
#48124A #304A12 #124A2C
monochromatic
#180619 #180619 #48124A #781E7B #A82AAC

Accessibility & contrast

On white

14.37
#48124A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#48124A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48124A
14.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48124A#FFFFFF#000000##FFFFFF
##48124A1.0014.371.4614.37
#FFFFFF14.371.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#07264C
Deuteranopia (green-blind)
#1F2C49
Tritanopia (blue-blind)
#4A1B2C
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #48124a;
/* rgb */ color: rgb(72, 18, 74);
/* oklch */ color: oklch(29.9% 0.111 326.4);
Tailwind
colors: {
  custom: {
    50: '#7d567d',
    500: '#48124a',
    950: '#000000',
  },
}
SCSS
$custom: #48124a;
$custom-light: #7d567d;
$custom-dark: #000000;
JSON
{
  "hex": "#48124a",
  "rgb": {
    "r": 72,
    "g": 18,
    "b": 74
  },
  "hsl": {
    "h": 297.857,
    "s": 60.87,
    "l": 18.039
  },
  "oklch": {
    "l": 0.29901,
    "c": 0.11057,
    "h": 326.4
  },
  "luminance": 0.02305
}

Semantic roles & 50–950 ramp

primary
#48124A
secondary
#388335
accent
#E4444A
background
#F7F5F7
surface
#EEE9EE
border
#C9C5C9
text
#0A0309
muted
#7C787B

Preview Lab

Preview with #48124A

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

Preview Lab → · Contrast checker → · Palette generator →

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