#48124E#48124E

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

Color values

HEX#48124E
RGBrgb(72, 18, 78)
HSLhsl(294, 63%, 19%)
HSVhsv(294, 77%, 31%)
CMYKcmyk(7.7%, 76.9%, 0%, 69.4%)
CIE-LABlab(17.28, 34.23, -24.38)
CIE-LCHlch(17.28, 42.03, 324.54°)
OKLaboklab(30.18% 0.0921 -0.0679)
OKLCHoklch(30.18% 0.114 323.6)
XYZxyz(4.2638, 2.3606, 7.4373)
Luminance0.0236 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48124E #184E12
analogous
#2A124E #48124E #4E1236
triadic
#48124E #4E4812 #124E48
tetradic
#48124E #4E2A12 #184E12 #12364E
square
#48124E #4E2A12 #184E12 #12364E
split-complementary
#48124E #364E12 #124E2A
monochromatic
#170619 #1A071C #48124E #761D80 #A429B1

Accessibility & contrast

On white

14.27
#48124E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #48124E
14.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48124E#FFFFFF#000000##FFFFFF
##48124E1.0014.271.4714.27
#FFFFFF14.271.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#022650
Deuteranopia (green-blind)
#1C2D4D
Tritanopia (blue-blind)
#491C2E
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #48124e;
/* rgb */ color: rgb(72, 18, 78);
/* oklch */ color: oklch(30.2% 0.114 323.6);
Tailwind
colors: {
  custom: {
    50: '#7d5680',
    500: '#48124e',
    950: '#000000',
  },
}
SCSS
$custom: #48124e;
$custom-light: #7d5680;
$custom-dark: #000000;
JSON
{
  "hex": "#48124e",
  "rgb": {
    "r": 72,
    "g": 18,
    "b": 78
  },
  "hsl": {
    "h": 294,
    "s": 62.5,
    "l": 18.824
  },
  "oklch": {
    "l": 0.30175,
    "c": 0.11442,
    "h": 323.6
  },
  "luminance": 0.0236
}

Semantic roles & 50–950 ramp

primary
#48124E
secondary
#3D8735
accent
#E64253
background
#F7F5F7
surface
#EEE9EE
border
#C9C5C9
text
#0A030A
muted
#7C787C

Preview Lab

Preview with #48124E

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

Preview Lab → · Contrast checker → · Palette generator →

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