#48125C#48125C

#48125C is a dark, vivid purple. Relative luminance 0.026; OKLCH L 31.2% C 0.128 H 314.9°. Best body text is #FFFFFF at 13.85:1 contrast (WCAG AA passes).

Color values

HEX#48125C
RGBrgb(72, 18, 92)
HSLhsl(284, 67%, 22%)
HSVhsv(284, 80%, 36%)
CMYKcmyk(21.7%, 80.4%, 0%, 63.9%)
CIE-LABlab(18.29, 37.27, -32.21)
CIE-LCHlch(18.29, 49.26, 319.17°)
OKLaboklab(31.22% 0.0907 -0.0908)
OKLCHoklch(31.22% 0.128 314.9)
XYZxyz(4.8202, 2.5832, 10.3678)
Luminance0.0258 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48125C #265C12
analogous
#23125C #48125C #5C124B
triadic
#48125C #5C4812 #125C48
tetradic
#48125C #5C2312 #265C12 #124B5C
square
#48125C #5C2312 #265C12 #124B5C
split-complementary
#48125C #4B5C12 #125C23
monochromatic
#14051A #200829 #48125C #701C8F #9826C2

Accessibility & contrast

On white

13.85
#48125C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#48125C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48125C
13.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48125C#FFFFFF#000000##FFFFFF
##48125C1.0013.851.5213.85
#FFFFFF13.851.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A5E
Deuteranopia (green-blind)
#0F2E5A
Tritanopia (blue-blind)
#462236
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #48125c;
/* rgb */ color: rgb(72, 18, 92);
/* oklch */ color: oklch(31.2% 0.128 314.9);
Tailwind
colors: {
  custom: {
    50: '#7e568b',
    500: '#48125c',
    950: '#000000',
  },
}
SCSS
$custom: #48125c;
$custom-light: #7e568b;
$custom-dark: #000000;
JSON
{
  "hex": "#48125c",
  "rgb": {
    "r": 72,
    "g": 18,
    "b": 92
  },
  "hsl": {
    "h": 283.784,
    "s": 67.273,
    "l": 21.569
  },
  "oklch": {
    "l": 0.31221,
    "c": 0.12836,
    "h": 314.9
  },
  "luminance": 0.02583
}

Semantic roles & 50–950 ramp

primary
#48125C
secondary
#4F9435
accent
#EA3E6C
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#0A030C
muted
#7C787D

Preview Lab

Preview with #48125C

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

Preview Lab → · Contrast checker → · Palette generator →

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