#48195E#48195E

#48195E is a dark, vivid purple. Relative luminance 0.029; OKLCH L 32.2% C 0.121 H 312.9°. Best body text is #FFFFFF at 13.32:1 contrast (WCAG AA passes).

Color values

HEX#48195E
RGBrgb(72, 25, 94)
HSLhsl(281, 58%, 23%)
HSVhsv(281, 73%, 37%)
CMYKcmyk(23.4%, 73.4%, 0%, 63.1%)
CIE-LABlab(19.56, 34.56, -31.49)
CIE-LCHlch(19.56, 46.76, 317.66°)
OKLaboklab(32.17% 0.0825 -0.0888)
OKLCHoklch(32.17% 0.121 312.9)
XYZxyz(5.0401, 2.8813, 10.8781)
Luminance0.0288 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48195E #2F5E19
analogous
#26195E #48195E #5E1951
triadic
#48195E #5E4819 #195E48
tetradic
#48195E #5E2619 #2F5E19 #19515E
square
#48195E #5E2619 #2F5E19 #19515E
split-complementary
#48195E #515E19 #195E26
monochromatic
#130618 #230C2E #48195E #6D268E #9233BF

Accessibility & contrast

On white

13.32
#48195E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#48195E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48195E
13.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48195E#FFFFFF#000000##FFFFFF
##48195E1.0013.321.5813.32
#FFFFFF13.321.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D60
Deuteranopia (green-blind)
#13305C
Tritanopia (blue-blind)
#462739
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #48195e;
/* rgb */ color: rgb(72, 25, 94);
/* oklch */ color: oklch(32.2% 0.121 312.9);
Tailwind
colors: {
  custom: {
    50: '#7e5a8c',
    500: '#48195e',
    950: '#000000',
  },
}
SCSS
$custom: #48195e;
$custom-light: #7e5a8c;
$custom-dark: #000000;
JSON
{
  "hex": "#48195e",
  "rgb": {
    "r": 72,
    "g": 25,
    "b": 94
  },
  "hsl": {
    "h": 280.87,
    "s": 57.983,
    "l": 23.333
  },
  "oklch": {
    "l": 0.32174,
    "c": 0.1212,
    "h": 312.9
  },
  "luminance": 0.02881
}

Semantic roles & 50–950 ramp

primary
#48195E
secondary
#5A943F
accent
#E14778
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#0A040C
muted
#7C797D

Preview Lab

Preview with #48195E

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

Preview Lab → · Contrast checker → · Palette generator →

#48195E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva