#48185C#48185C

#48185C is a dark, vivid purple. Relative luminance 0.028; OKLCH L 31.9% C 0.120 H 314.2°. Best body text is #FFFFFF at 13.45:1 contrast (WCAG AA passes).

Color values

HEX#48185C
RGBrgb(72, 24, 92)
HSLhsl(282, 59%, 23%)
HSVhsv(282, 74%, 36%)
CMYKcmyk(21.7%, 73.9%, 0%, 63.9%)
CIE-LABlab(19.24, 34.58, -30.68)
CIE-LCHlch(19.24, 46.22, 318.42°)
OKLaboklab(31.9% 0.0839 -0.0864)
OKLCHoklch(31.9% 0.12 314.2)
XYZxyz(4.9306, 2.8039, 10.4046)
Luminance0.0280 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48185C #2C5C18
analogous
#26185C #48185C #5C184E
triadic
#48185C #5C4818 #185C48
tetradic
#48185C #5C2618 #2C5C18 #184E5C
square
#48185C #5C2618 #2C5C18 #184E5C
split-complementary
#48185C #4E5C18 #185C26
monochromatic
#130618 #220B2B #48185C #6E258D #9431BD

Accessibility & contrast

On white

13.45
#48185C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #48185C
13.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48185C#FFFFFF#000000##FFFFFF
##48185C1.0013.451.5613.45
#FFFFFF13.451.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C5E
Deuteranopia (green-blind)
#15305A
Tritanopia (blue-blind)
#462638
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #48185c;
/* rgb */ color: rgb(72, 24, 92);
/* oklch */ color: oklch(31.9% 0.120 314.2);
Tailwind
colors: {
  custom: {
    50: '#7e598b',
    500: '#48185c',
    950: '#000000',
  },
}
SCSS
$custom: #48185c;
$custom-light: #7e598b;
$custom-dark: #000000;
JSON
{
  "hex": "#48185c",
  "rgb": {
    "r": 72,
    "g": 24,
    "b": 92
  },
  "hsl": {
    "h": 282.353,
    "s": 58.621,
    "l": 22.745
  },
  "oklch": {
    "l": 0.31897,
    "c": 0.12045,
    "h": 314.2
  },
  "luminance": 0.02804
}

Semantic roles & 50–950 ramp

primary
#48185C
secondary
#56933D
accent
#E24674
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#0A040C
muted
#7C797D

Preview Lab

Preview with #48185C

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

Preview Lab → · Contrast checker → · Palette generator →

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