#48154E#48154E

#48154E is a dark, moderate purple. Relative luminance 0.025; OKLCH L 30.5% C 0.110 H 323.3°. Best body text is #FFFFFF at 14.07:1 contrast (WCAG AA passes).

Color values

HEX#48154E
RGBrgb(72, 21, 78)
HSLhsl(294, 58%, 19%)
HSVhsv(294, 73%, 31%)
CMYKcmyk(7.7%, 73.1%, 0%, 69.4%)
CIE-LABlab(17.76, 32.87, -23.62)
CIE-LCHlch(17.76, 40.48, 324.31°)
OKLaboklab(30.52% 0.0884 -0.0657)
OKLCHoklch(30.52% 0.11 323.3)
XYZxyz(4.3157, 2.4644, 7.4546)
Luminance0.0246 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48154E #1B4E15
analogous
#2C154E #48154E #4E1538
triadic
#48154E #4E4815 #154E48
tetradic
#48154E #4E2C15 #1B4E15 #15384E
square
#48154E #4E2C15 #1B4E15 #15384E
split-complementary
#48154E #384E15 #154E2C
monochromatic
#160618 #1B081E #48154E #75227E #A12FAE

Accessibility & contrast

On white

14.07
#48154E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#48154E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48154E
14.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48154E#FFFFFF#000000##FFFFFF
##48154E1.0014.071.4914.07
#FFFFFF14.071.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#072850
Deuteranopia (green-blind)
#1E2E4D
Tritanopia (blue-blind)
#491E2F
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #48154e;
/* rgb */ color: rgb(72, 21, 78);
/* oklch */ color: oklch(30.5% 0.110 323.3);
Tailwind
colors: {
  custom: {
    50: '#7d5780',
    500: '#48154e',
    950: '#000000',
  },
}
SCSS
$custom: #48154e;
$custom-light: #7d5780;
$custom-dark: #000000;
JSON
{
  "hex": "#48154e",
  "rgb": {
    "r": 72,
    "g": 21,
    "b": 78
  },
  "hsl": {
    "h": 293.684,
    "s": 57.576,
    "l": 19.412
  },
  "oklch": {
    "l": 0.3052,
    "c": 0.11012,
    "h": 323.3
  },
  "luminance": 0.02464
}

Semantic roles & 50–950 ramp

primary
#48154E
secondary
#418639
accent
#E14757
background
#F7F5F7
surface
#EEE9EE
border
#C9C5C9
text
#0A030A
muted
#7C787C

Preview Lab

Preview with #48154E

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

Preview Lab → · Contrast checker → · Palette generator →

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