#48195F#48195F

#48195F is a dark, vivid purple. Relative luminance 0.029; OKLCH L 32.3% C 0.122 H 312.3°. Best body text is #FFFFFF at 13.29:1 contrast (WCAG AA passes).

Color values

HEX#48195F
RGBrgb(72, 25, 95)
HSLhsl(280, 58%, 24%)
HSVhsv(280, 74%, 37%)
CMYKcmyk(24.2%, 73.7%, 0%, 62.7%)
CIE-LABlab(19.64, 34.80, -32.03)
CIE-LCHlch(19.64, 47.30, 317.37°)
OKLaboklab(32.25% 0.0824 -0.0904)
OKLCHoklch(32.25% 0.122 312.3)
XYZxyz(5.0853, 2.8993, 11.1160)
Luminance0.0290 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48195F #305F19
analogous
#25195F #48195F #5F1953
triadic
#48195F #5F4819 #195F48
tetradic
#48195F #5F2519 #305F19 #19535F
square
#48195F #5F2519 #305F19 #19535F
split-complementary
#48195F #535F19 #195F25
monochromatic
#120618 #230C2F #48195F #6D268F #9132C0

Accessibility & contrast

On white

13.29
#48195F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #48195F
13.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48195F#FFFFFF#000000##FFFFFF
##48195F1.0013.291.5813.29
#FFFFFF13.291.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D61
Deuteranopia (green-blind)
#12305D
Tritanopia (blue-blind)
#45283A
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #48195f;
/* rgb */ color: rgb(72, 25, 95);
/* oklch */ color: oklch(32.3% 0.122 312.3);
Tailwind
colors: {
  custom: {
    50: '#7e5a8d',
    500: '#48195f',
    950: '#000000',
  },
}
SCSS
$custom: #48195f;
$custom-light: #7e5a8d;
$custom-dark: #000000;
JSON
{
  "hex": "#48195f",
  "rgb": {
    "r": 72,
    "g": 25,
    "b": 95
  },
  "hsl": {
    "h": 280.286,
    "s": 58.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.3225,
    "c": 0.12231,
    "h": 312.3
  },
  "luminance": 0.02899
}

Semantic roles & 50–950 ramp

primary
#48195F
secondary
#5B953F
accent
#E24679
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#0A040C
muted
#7C797D

Preview Lab

Preview with #48195F

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

Preview Lab → · Contrast checker → · Palette generator →

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