#48135C#48135C

#48135C is a dark, vivid purple. Relative luminance 0.026; OKLCH L 31.3% C 0.127 H 314.8°. Best body text is #FFFFFF at 13.79:1 contrast (WCAG AA passes).

Color values

HEX#48135C
RGBrgb(72, 19, 92)
HSLhsl(284, 66%, 22%)
HSVhsv(284, 79%, 36%)
CMYKcmyk(21.7%, 79.3%, 0%, 63.9%)
CIE-LABlab(18.44, 36.85, -31.97)
CIE-LCHlch(18.44, 48.79, 319.06°)
OKLaboklab(31.32% 0.0896 -0.0902)
OKLCHoklch(31.32% 0.127 314.8)
XYZxyz(4.8368, 2.6163, 10.3734)
Luminance0.0262 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48135C #275C13
analogous
#24135C #48135C #5C134C
triadic
#48135C #5C4813 #135C48
tetradic
#48135C #5C2413 #275C13 #134C5C
square
#48135C #5C2413 #275C13 #134C5C
split-complementary
#48135C #4C5C13 #135C24
monochromatic
#140519 #200929 #48135C #701D8F #9728C1

Accessibility & contrast

On white

13.79
#48135C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #48135C
13.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48135C#FFFFFF#000000##FFFFFF
##48135C1.0013.791.5213.79
#FFFFFF13.791.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A5E
Deuteranopia (green-blind)
#102E5A
Tritanopia (blue-blind)
#462336
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #48135c;
/* rgb */ color: rgb(72, 19, 92);
/* oklch */ color: oklch(31.3% 0.127 314.8);
Tailwind
colors: {
  custom: {
    50: '#7e578b',
    500: '#48135c',
    950: '#000000',
  },
}
SCSS
$custom: #48135c;
$custom-light: #7e578b;
$custom-dark: #000000;
JSON
{
  "hex": "#48135c",
  "rgb": {
    "r": 72,
    "g": 19,
    "b": 92
  },
  "hsl": {
    "h": 283.562,
    "s": 65.766,
    "l": 21.765
  },
  "oklch": {
    "l": 0.31324,
    "c": 0.12714,
    "h": 314.8
  },
  "luminance": 0.02616
}

Semantic roles & 50–950 ramp

primary
#48135C
secondary
#509437
accent
#E93F6E
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#0A030C
muted
#7C787D

Preview Lab

Preview with #48135C

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

Preview Lab → · Contrast checker → · Palette generator →

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