#48185D#48185D

#48185D is a dark, vivid purple. Relative luminance 0.028; OKLCH L 32.0% C 0.122 H 313.6°. Best body text is #FFFFFF at 13.43:1 contrast (WCAG AA passes).

Color values

HEX#48185D
RGBrgb(72, 24, 93)
HSLhsl(282, 59%, 23%)
HSVhsv(282, 74%, 36%)
CMYKcmyk(22.6%, 74.2%, 0%, 63.5%)
CIE-LABlab(19.31, 34.81, -31.22)
CIE-LCHlch(19.31, 46.76, 318.11°)
OKLaboklab(31.97% 0.0838 -0.088)
OKLCHoklch(31.97% 0.122 313.6)
XYZxyz(4.9746, 2.8215, 10.6364)
Luminance0.0282 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48185D #2D5D18
analogous
#25185D #48185D #5D184F
triadic
#48185D #5D4818 #185D48
tetradic
#48185D #5D2518 #2D5D18 #184F5D
square
#48185D #5D2518 #2D5D18 #184F5D
split-complementary
#48185D #4F5D18 #185D25
monochromatic
#130618 #220B2C #48185D #6E258E #9331BE

Accessibility & contrast

On white

13.43
#48185D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #48185D
13.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48185D#FFFFFF#000000##FFFFFF
##48185D1.0013.431.5613.43
#FFFFFF13.431.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C5F
Deuteranopia (green-blind)
#13305B
Tritanopia (blue-blind)
#462638
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #48185d;
/* rgb */ color: rgb(72, 24, 93);
/* oklch */ color: oklch(32.0% 0.122 313.6);
Tailwind
colors: {
  custom: {
    50: '#7e598b',
    500: '#48185d',
    950: '#000000',
  },
}
SCSS
$custom: #48185d;
$custom-light: #7e598b;
$custom-dark: #000000;
JSON
{
  "hex": "#48185d",
  "rgb": {
    "r": 72,
    "g": 24,
    "b": 93
  },
  "hsl": {
    "h": 281.739,
    "s": 58.974,
    "l": 22.941
  },
  "oklch": {
    "l": 0.31973,
    "c": 0.12153,
    "h": 313.6
  },
  "luminance": 0.02821
}

Semantic roles & 50–950 ramp

primary
#48185D
secondary
#58933D
accent
#E24675
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#0A040C
muted
#7C797D

Preview Lab

Preview with #48185D

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

Preview Lab → · Contrast checker → · Palette generator →

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