#48174F#48174F

#48174F is a dark, moderate purple. Relative luminance 0.026; OKLCH L 30.8% C 0.108 H 322.5°. Best body text is #FFFFFF at 13.90:1 contrast (WCAG AA passes).

Color values

HEX#48174F
RGBrgb(72, 23, 79)
HSLhsl(293, 55%, 20%)
HSVhsv(293, 71%, 31%)
CMYKcmyk(8.9%, 70.9%, 0%, 69%)
CIE-LABlab(18.17, 32.12, -23.65)
CIE-LCHlch(18.17, 39.89, 323.64°)
OKLaboklab(30.84% 0.0857 -0.0659)
OKLCHoklch(30.84% 0.108 322.5)
XYZxyz(4.3900, 2.5553, 7.6576)
Luminance0.0255 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48174F #1E4F17
analogous
#2C174F #48174F #4F173A
triadic
#48174F #4F4817 #174F48
tetradic
#48174F #4F2C17 #1E4F17 #173A4F
square
#48174F #4F2C17 #1E4F17 #173A4F
split-complementary
#48174F #3A4F17 #174F2C
monochromatic
#160718 #1D0920 #48174F #73257E #9E33AE

Accessibility & contrast

On white

13.90
#48174F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #48174F
13.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48174F#FFFFFF#000000##FFFFFF
##48174F1.0013.901.5113.90
#FFFFFF13.901.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#092951
Deuteranopia (green-blind)
#1F2E4E
Tritanopia (blue-blind)
#492030
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #48174f;
/* rgb */ color: rgb(72, 23, 79);
/* oklch */ color: oklch(30.8% 0.108 322.5);
Tailwind
colors: {
  custom: {
    50: '#7d5880',
    500: '#48174f',
    950: '#000000',
  },
}
SCSS
$custom: #48174f;
$custom-light: #7d5880;
$custom-dark: #000000;
JSON
{
  "hex": "#48174f",
  "rgb": {
    "r": 72,
    "g": 23,
    "b": 79
  },
  "hsl": {
    "h": 292.5,
    "s": 54.902,
    "l": 20
  },
  "oklch": {
    "l": 0.30837,
    "c": 0.1081,
    "h": 322.5
  },
  "luminance": 0.02555
}

Semantic roles & 50–950 ramp

primary
#48174F
secondary
#45863C
accent
#DE4A5C
background
#F7F5F7
surface
#EEE9EE
border
#C9C5C9
text
#0A030A
muted
#7C787C

Preview Lab

Preview with #48174F

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

Preview Lab → · Contrast checker → · Palette generator →

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