#48174E#48174E

#48174E is a dark, moderate purple. Relative luminance 0.025; OKLCH L 30.8% C 0.107 H 323.2°. Best body text is #FFFFFF at 13.92:1 contrast (WCAG AA passes).

Color values

HEX#48174E
RGBrgb(72, 23, 78)
HSLhsl(293, 54%, 20%)
HSVhsv(293, 71%, 31%)
CMYKcmyk(7.7%, 70.5%, 0%, 69.4%)
CIE-LABlab(18.10, 31.91, -23.07)
CIE-LCHlch(18.10, 39.38, 324.14°)
OKLaboklab(30.77% 0.0857 -0.0642)
OKLCHoklch(30.77% 0.107 323.2)
XYZxyz(4.3539, 2.5408, 7.4673)
Luminance0.0254 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48174E #1D4E17
analogous
#2D174E #48174E #4E1738
triadic
#48174E #4E4817 #174E48
tetradic
#48174E #4E2D17 #1D4E17 #17384E
square
#48174E #4E2D17 #1D4E17 #17384E
split-complementary
#48174E #384E17 #174E2D
monochromatic
#160718 #1C091F #48174E #74257D #9F33AD

Accessibility & contrast

On white

13.92
#48174E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #48174E
13.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48174E#FFFFFF#000000##FFFFFF
##48174E1.0013.921.5113.92
#FFFFFF13.921.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B2950
Deuteranopia (green-blind)
#1F2E4D
Tritanopia (blue-blind)
#492030
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #48174e;
/* rgb */ color: rgb(72, 23, 78);
/* oklch */ color: oklch(30.8% 0.107 323.2);
Tailwind
colors: {
  custom: {
    50: '#7d5880',
    500: '#48174e',
    950: '#000000',
  },
}
SCSS
$custom: #48174e;
$custom-light: #7d5880;
$custom-dark: #000000;
JSON
{
  "hex": "#48174e",
  "rgb": {
    "r": 72,
    "g": 23,
    "b": 78
  },
  "hsl": {
    "h": 293.455,
    "s": 54.455,
    "l": 19.804
  },
  "oklch": {
    "l": 0.30769,
    "c": 0.10706,
    "h": 323.2
  },
  "luminance": 0.02541
}

Semantic roles & 50–950 ramp

primary
#48174E
secondary
#44853C
accent
#DE4A5A
background
#F7F5F7
surface
#EEE9EE
border
#C9C5C9
text
#0A030A
muted
#7C787C

Preview Lab

Preview with #48174E

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

Preview Lab → · Contrast checker → · Palette generator →

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