#48124F#48124F

#48124F is a dark, moderate purple. Relative luminance 0.024; OKLCH L 30.2% C 0.115 H 322.9°. Best body text is #FFFFFF at 14.24:1 contrast (WCAG AA passes).

Color values

HEX#48124F
RGBrgb(72, 18, 79)
HSLhsl(293, 63%, 19%)
HSVhsv(293, 77%, 31%)
CMYKcmyk(8.9%, 77.2%, 0%, 69%)
CIE-LABlab(17.34, 34.44, -24.96)
CIE-LCHlch(17.34, 42.53, 324.07°)
OKLaboklab(30.25% 0.092 -0.0696)
OKLCHoklch(30.25% 0.115 322.9)
XYZxyz(4.2999, 2.3751, 7.6276)
Luminance0.0238 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48124F #194F12
analogous
#2A124F #48124F #4F1238
triadic
#48124F #4F4812 #124F48
tetradic
#48124F #4F2A12 #194F12 #12384F
square
#48124F #4F2A12 #194F12 #12384F
split-complementary
#48124F #384F12 #124F2A
monochromatic
#170619 #1B071D #48124F #751D81 #A329B3

Accessibility & contrast

On white

14.24
#48124F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#48124F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48124F
14.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48124F#FFFFFF#000000##FFFFFF
##48124F1.0014.241.4814.24
#FFFFFF14.241.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#012751
Deuteranopia (green-blind)
#1B2D4E
Tritanopia (blue-blind)
#491D2F
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #48124f;
/* rgb */ color: rgb(72, 18, 79);
/* oklch */ color: oklch(30.2% 0.115 322.9);
Tailwind
colors: {
  custom: {
    50: '#7d5681',
    500: '#48124f',
    950: '#000000',
  },
}
SCSS
$custom: #48124f;
$custom-light: #7d5681;
$custom-dark: #000000;
JSON
{
  "hex": "#48124f",
  "rgb": {
    "r": 72,
    "g": 18,
    "b": 79
  },
  "hsl": {
    "h": 293.115,
    "s": 62.887,
    "l": 19.02
  },
  "oklch": {
    "l": 0.30245,
    "c": 0.11539,
    "h": 322.9
  },
  "luminance": 0.02375
}

Semantic roles & 50–950 ramp

primary
#48124F
secondary
#3E8835
accent
#E64255
background
#F7F5F7
surface
#EEE9EE
border
#C9C5C9
text
#0A030A
muted
#7C787C

Preview Lab

Preview with #48124F

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

Preview Lab → · Contrast checker → · Palette generator →

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