#48145B#48145B

#48145B is a dark, vivid purple. Relative luminance 0.026; OKLCH L 31.4% C 0.125 H 315.3°. Best body text is #FFFFFF at 13.76:1 contrast (WCAG AA passes).

Color values

HEX#48145B
RGBrgb(72, 20, 91)
HSLhsl(284, 64%, 22%)
HSVhsv(284, 78%, 36%)
CMYKcmyk(20.9%, 78%, 0%, 64.3%)
CIE-LABlab(18.51, 36.19, -31.18)
CIE-LCHlch(18.51, 47.77, 319.25°)
OKLaboklab(31.35% 0.0887 -0.0879)
OKLCHoklch(31.35% 0.125 315.3)
XYZxyz(4.8107, 2.6335, 10.1504)
Luminance0.0263 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48145B #275B14
analogous
#25145B #48145B #5B144B
triadic
#48145B #5B4814 #145B48
tetradic
#48145B #5B2514 #275B14 #144B5B
square
#48145B #5B2514 #275B14 #144B5B
split-complementary
#48145B #4B5B14 #145B25
monochromatic
#140619 #200929 #48145B #701F8D #972ABF

Accessibility & contrast

On white

13.76
#48145B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#48145B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48145B
13.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48145B#FFFFFF#000000##FFFFFF
##48145B1.0013.761.5313.76
#FFFFFF13.761.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.761.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #48145b;
/* rgb */ color: rgb(72, 20, 91);
/* oklch */ color: oklch(31.4% 0.125 315.3);
Tailwind
colors: {
  custom: {
    50: '#7e578a',
    500: '#48145b',
    950: '#000000',
  },
}
SCSS
$custom: #48145b;
$custom-light: #7e578a;
$custom-dark: #000000;
JSON
{
  "hex": "#48145b",
  "rgb": {
    "r": 72,
    "g": 20,
    "b": 91
  },
  "hsl": {
    "h": 283.944,
    "s": 63.964,
    "l": 21.765
  },
  "oklch": {
    "l": 0.31354,
    "c": 0.12483,
    "h": 315.3
  },
  "luminance": 0.02633
}

Semantic roles & 50–950 ramp

primary
#48145B
secondary
#509338
accent
#E7416D
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#0A030C
muted
#7C787D

Preview Lab

Preview with #48145B

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

Preview Lab → · Contrast checker → · Palette generator →

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