#48174D#48174D

#48174D is a dark, moderate purple. Relative luminance 0.025; OKLCH L 30.7% C 0.106 H 323.9°. Best body text is #FFFFFF at 13.95:1 contrast (WCAG AA passes).

Color values

HEX#48174D
RGBrgb(72, 23, 77)
HSLhsl(294, 54%, 20%)
HSVhsv(294, 70%, 30%)
CMYKcmyk(6.5%, 70.1%, 0%, 69.8%)
CIE-LABlab(18.04, 31.70, -22.49)
CIE-LCHlch(18.04, 38.86, 324.65°)
OKLaboklab(30.7% 0.0857 -0.0625)
OKLCHoklch(30.7% 0.106 323.9)
XYZxyz(4.3183, 2.5266, 7.2800)
Luminance0.0253 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48174D #1C4D17
analogous
#2D174D #48174D #4D1737
triadic
#48174D #4D4817 #174D48
tetradic
#48174D #4D2D17 #1C4D17 #17374D
square
#48174D #4D2D17 #1C4D17 #17374D
split-complementary
#48174D #374D17 #174D2D
monochromatic
#160718 #1C091E #48174D #74257C #A033AB

Accessibility & contrast

On white

13.95
#48174D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#48174D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48174D
13.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48174D#FFFFFF#000000##FFFFFF
##48174D1.0013.951.5113.95
#FFFFFF13.951.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C284F
Deuteranopia (green-blind)
#202E4C
Tritanopia (blue-blind)
#491F2F
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #48174d;
/* rgb */ color: rgb(72, 23, 77);
/* oklch */ color: oklch(30.7% 0.106 323.9);
Tailwind
colors: {
  custom: {
    50: '#7d587f',
    500: '#48174d',
    950: '#000000',
  },
}
SCSS
$custom: #48174d;
$custom-light: #7d587f;
$custom-dark: #000000;
JSON
{
  "hex": "#48174d",
  "rgb": {
    "r": 72,
    "g": 23,
    "b": 77
  },
  "hsl": {
    "h": 294.444,
    "s": 54,
    "l": 19.608
  },
  "oklch": {
    "l": 0.30702,
    "c": 0.10604,
    "h": 323.9
  },
  "luminance": 0.02526
}

Semantic roles & 50–950 ramp

primary
#48174D
secondary
#42843C
accent
#DD4A58
background
#F7F5F7
surface
#EEE9EE
border
#C9C5C9
text
#0A030A
muted
#7C787C

Preview Lab

Preview with #48174D

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

Preview Lab → · Contrast checker → · Palette generator →

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