#48175D#48175D

#48175D is a dark, vivid purple. Relative luminance 0.028; OKLCH L 31.9% C 0.123 H 313.7°. Best body text is #FFFFFF at 13.49:1 contrast (WCAG AA passes).

Color values

HEX#48175D
RGBrgb(72, 23, 93)
HSLhsl(282, 60%, 23%)
HSVhsv(282, 75%, 36%)
CMYKcmyk(22.6%, 75.3%, 0%, 63.5%)
CIE-LABlab(19.14, 35.29, -31.50)
CIE-LCHlch(19.14, 47.30, 318.25°)
OKLaboklab(31.85% 0.085 -0.0888)
OKLCHoklch(31.85% 0.123 313.7)
XYZxyz(4.9543, 2.7810, 10.6296)
Luminance0.0278 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48175D #2C5D17
analogous
#25175D #48175D #5D174F
triadic
#48175D #5D4817 #175D48
tetradic
#48175D #5D2517 #2C5D17 #174F5D
square
#48175D #5D2517 #2C5D17 #174F5D
split-complementary
#48175D #4F5D17 #175D25
monochromatic
#130619 #220B2C #48175D #6E238E #942FBF

Accessibility & contrast

On white

13.49
#48175D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #48175D
13.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48175D#FFFFFF#000000##FFFFFF
##48175D1.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)
#002C5F
Deuteranopia (green-blind)
#12305B
Tritanopia (blue-blind)
#462638
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #48175d;
/* rgb */ color: rgb(72, 23, 93);
/* oklch */ color: oklch(31.9% 0.123 313.7);
Tailwind
colors: {
  custom: {
    50: '#7e598b',
    500: '#48175d',
    950: '#000000',
  },
}
SCSS
$custom: #48175d;
$custom-light: #7e598b;
$custom-dark: #000000;
JSON
{
  "hex": "#48175d",
  "rgb": {
    "r": 72,
    "g": 23,
    "b": 93
  },
  "hsl": {
    "h": 282,
    "s": 60.345,
    "l": 22.745
  },
  "oklch": {
    "l": 0.31852,
    "c": 0.12293,
    "h": 313.7
  },
  "luminance": 0.02781
}

Semantic roles & 50–950 ramp

primary
#48175D
secondary
#56943C
accent
#E34474
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#0A040C
muted
#7C797D

Preview Lab

Preview with #48175D

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

Preview Lab → · Contrast checker → · Palette generator →

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