#48185B#48185B

#48185B is a dark, moderate purple. Relative luminance 0.028; OKLCH L 31.8% C 0.119 H 314.7°. Best body text is #FFFFFF at 13.49:1 contrast (WCAG AA passes).

Color values

HEX#48185B
RGBrgb(72, 24, 91)
HSLhsl(283, 58%, 23%)
HSVhsv(283, 74%, 36%)
CMYKcmyk(20.9%, 73.6%, 0%, 64.3%)
CIE-LABlab(19.17, 34.34, -30.13)
CIE-LCHlch(19.17, 45.68, 318.74°)
OKLaboklab(31.82% 0.084 -0.0848)
OKLCHoklch(31.82% 0.119 314.7)
XYZxyz(4.8871, 2.7865, 10.1759)
Luminance0.0279 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48185B #2B5B18
analogous
#26185B #48185B #5B184D
triadic
#48185B #5B4818 #185B48
tetradic
#48185B #5B2618 #2B5B18 #184D5B
square
#48185B #5B2618 #2B5B18 #184D5B
split-complementary
#48185B #4D5B18 #185B26
monochromatic
#130618 #220B2B #48185B #6E258B #9532BC

Accessibility & contrast

On white

13.49
#48185B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#48185B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48185B
13.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48185B#FFFFFF#000000##FFFFFF
##48185B1.0013.491.5613.49
#FFFFFF13.491.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C5D
Deuteranopia (green-blind)
#163059
Tritanopia (blue-blind)
#462537
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #48185b;
/* rgb */ color: rgb(72, 24, 91);
/* oklch */ color: oklch(31.8% 0.119 314.7);
Tailwind
colors: {
  custom: {
    50: '#7e598a',
    500: '#48185b',
    950: '#000000',
  },
}
SCSS
$custom: #48185b;
$custom-light: #7e598a;
$custom-dark: #000000;
JSON
{
  "hex": "#48185b",
  "rgb": {
    "r": 72,
    "g": 24,
    "b": 91
  },
  "hsl": {
    "h": 282.985,
    "s": 58.261,
    "l": 22.549
  },
  "oklch": {
    "l": 0.31821,
    "c": 0.11936,
    "h": 314.7
  },
  "luminance": 0.02786
}

Semantic roles & 50–950 ramp

primary
#48185B
secondary
#55923D
accent
#E14672
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#0A040C
muted
#7C797D

Preview Lab

Preview with #48185B

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

Preview Lab → · Contrast checker → · Palette generator →

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