#48135D#48135D

#48135D is a dark, vivid purple. Relative luminance 0.026; OKLCH L 31.4% C 0.128 H 314.3°. Best body text is #FFFFFF at 13.75:1 contrast (WCAG AA passes).

Color values

HEX#48135D
RGBrgb(72, 19, 93)
HSLhsl(283, 66%, 22%)
HSVhsv(283, 80%, 36%)
CMYKcmyk(22.6%, 79.6%, 0%, 63.5%)
CIE-LABlab(18.51, 37.08, -32.51)
CIE-LCHlch(18.51, 49.32, 318.75°)
OKLaboklab(31.4% 0.0895 -0.0918)
OKLCHoklch(31.4% 0.128 314.3)
XYZxyz(4.8808, 2.6339, 10.6051)
Luminance0.0263 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48135D #285D13
analogous
#23135D #48135D #5D134D
triadic
#48135D #5D4813 #135D48
tetradic
#48135D #5D2313 #285D13 #134D5D
square
#48135D #5D2313 #285D13 #134D5D
split-complementary
#48135D #4D5D13 #135D23
monochromatic
#140519 #21092A #48135D #6F1D90 #9728C3

Accessibility & contrast

On white

13.75
#48135D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#48135D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48135D
13.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48135D#FFFFFF#000000##FFFFFF
##48135D1.0013.751.5313.75
#FFFFFF13.751.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A5F
Deuteranopia (green-blind)
#0E2E5B
Tritanopia (blue-blind)
#462337
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #48135d;
/* rgb */ color: rgb(72, 19, 93);
/* oklch */ color: oklch(31.4% 0.128 314.3);
Tailwind
colors: {
  custom: {
    50: '#7e578b',
    500: '#48135d',
    950: '#000000',
  },
}
SCSS
$custom: #48135d;
$custom-light: #7e578b;
$custom-dark: #000000;
JSON
{
  "hex": "#48135d",
  "rgb": {
    "r": 72,
    "g": 19,
    "b": 93
  },
  "hsl": {
    "h": 282.973,
    "s": 66.071,
    "l": 21.961
  },
  "oklch": {
    "l": 0.31403,
    "c": 0.12817,
    "h": 314.3
  },
  "luminance": 0.02634
}

Semantic roles & 50–950 ramp

primary
#48135D
secondary
#529537
accent
#E93F6F
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#0A030C
muted
#7C787D

Preview Lab

Preview with #48135D

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

Preview Lab → · Contrast checker → · Palette generator →

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