#48155F#48155F

#48155F is a dark, vivid purple. Relative luminance 0.027; OKLCH L 31.8% C 0.128 H 312.9°. Best body text is #FFFFFF at 13.57:1 contrast (WCAG AA passes).

Color values

HEX#48155F
RGBrgb(72, 21, 95)
HSLhsl(281, 64%, 23%)
HSVhsv(281, 78%, 37%)
CMYKcmyk(24.2%, 77.9%, 0%, 62.7%)
CIE-LABlab(18.97, 36.68, -33.10)
CIE-LCHlch(18.97, 49.40, 317.93°)
OKLaboklab(31.78% 0.087 -0.0935)
OKLCHoklch(31.78% 0.128 312.9)
XYZxyz(5.0058, 2.7404, 11.0895)
Luminance0.0274 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48155F #2C5F15
analogous
#23155F #48155F #5F1551
triadic
#48155F #5F4815 #155F48
tetradic
#48155F #5F2315 #2C5F15 #15515F
square
#48155F #5F2315 #2C5F15 #15515F
split-complementary
#48155F #515F15 #155F23
monochromatic
#130619 #220A2D #48155F #6E2091 #942BC3

Accessibility & contrast

On white

13.57
#48155F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#48155F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48155F
13.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48155F#FFFFFF#000000##FFFFFF
##48155F1.0013.571.5513.57
#FFFFFF13.571.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C61
Deuteranopia (green-blind)
#0D2F5D
Tritanopia (blue-blind)
#452539
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #48155f;
/* rgb */ color: rgb(72, 21, 95);
/* oklch */ color: oklch(31.8% 0.128 312.9);
Tailwind
colors: {
  custom: {
    50: '#7e588d',
    500: '#48155f',
    950: '#000000',
  },
}
SCSS
$custom: #48155f;
$custom-light: #7e588d;
$custom-dark: #000000;
JSON
{
  "hex": "#48155f",
  "rgb": {
    "r": 72,
    "g": 21,
    "b": 95
  },
  "hsl": {
    "h": 281.351,
    "s": 63.793,
    "l": 22.745
  },
  "oklch": {
    "l": 0.31778,
    "c": 0.12773,
    "h": 312.9
  },
  "luminance": 0.0274
}

Semantic roles & 50–950 ramp

primary
#48155F
secondary
#56963A
accent
#E74175
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#0A040C
muted
#7C797D

Preview Lab

Preview with #48155F

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

Preview Lab → · Contrast checker → · Palette generator →

#48155F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva