#48135B#48135B

#48135B is a dark, vivid purple. Relative luminance 0.026; OKLCH L 31.2% C 0.126 H 315.4°. Best body text is #FFFFFF at 13.82:1 contrast (WCAG AA passes).

Color values

HEX#48135B
RGBrgb(72, 19, 91)
HSLhsl(284, 65%, 22%)
HSVhsv(284, 79%, 36%)
CMYKcmyk(20.9%, 79.1%, 0%, 64.3%)
CIE-LABlab(18.36, 36.62, -31.43)
CIE-LCHlch(18.36, 48.26, 319.37°)
OKLaboklab(31.25% 0.0898 -0.0886)
OKLCHoklch(31.25% 0.126 315.4)
XYZxyz(4.7934, 2.5990, 10.1447)
Luminance0.0260 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48135B #265B13
analogous
#24135B #48135B #5B134A
triadic
#48135B #5B4813 #135B48
tetradic
#48135B #5B2413 #265B13 #134A5B
square
#48135B #5B2413 #265B13 #134A5B
split-complementary
#48135B #4A5B13 #135B24
monochromatic
#140519 #200828 #48135B #701E8E #9828C0

Accessibility & contrast

On white

13.82
#48135B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #48135B
13.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48135B#FFFFFF#000000##FFFFFF
##48135B1.0013.821.5213.82
#FFFFFF13.821.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A5D
Deuteranopia (green-blind)
#112E59
Tritanopia (blue-blind)
#472336
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #48135b;
/* rgb */ color: rgb(72, 19, 91);
/* oklch */ color: oklch(31.2% 0.126 315.4);
Tailwind
colors: {
  custom: {
    50: '#7e578a',
    500: '#48135b',
    950: '#000000',
  },
}
SCSS
$custom: #48135b;
$custom-light: #7e578a;
$custom-dark: #000000;
JSON
{
  "hex": "#48135b",
  "rgb": {
    "r": 72,
    "g": 19,
    "b": 91
  },
  "hsl": {
    "h": 284.167,
    "s": 65.455,
    "l": 21.569
  },
  "oklch": {
    "l": 0.31246,
    "c": 0.12612,
    "h": 315.4
  },
  "luminance": 0.02599
}

Semantic roles & 50–950 ramp

primary
#48135B
secondary
#4F9337
accent
#E83F6C
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#0A030C
muted
#7C787D

Preview Lab

Preview with #48135B

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

Preview Lab → · Contrast checker → · Palette generator →

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