#481548#481548

#481548 is a dark, moderate purple. Relative luminance 0.024; OKLCH L 30.1% C 0.104 H 327.8°. Best body text is #FFFFFF at 14.22:1 contrast (WCAG AA passes).

Color values

HEX#481548
RGBrgb(72, 21, 72)
HSLhsl(300, 55%, 18%)
HSVhsv(300, 71%, 28%)
CMYKcmyk(0%, 70.8%, 0%, 71.8%)
CIE-LABlab(17.38, 31.63, -20.11)
CIE-LCHlch(17.38, 37.48, 327.56°)
OKLaboklab(30.12% 0.0882 -0.0555)
OKLCHoklch(30.12% 0.104 327.8)
XYZxyz(4.1103, 2.3822, 6.3730)
Luminance0.0238 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481548 #154815
analogous
#2E1548 #481548 #48152E
triadic
#481548 #484815 #154848
tetradic
#481548 #482E15 #154815 #152E48
square
#481548 #482E15 #154815 #152E48
split-complementary
#481548 #2E4815 #15482E
monochromatic
#180718 #190719 #481548 #772377 #A731A7

Accessibility & contrast

On white

14.22
#481548 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#481548 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #481548
14.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481548#FFFFFF#000000##FFFFFF
##4815481.0014.221.4814.22
#FFFFFF14.221.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E264A
Deuteranopia (green-blind)
#212D47
Tritanopia (blue-blind)
#4A1C2C
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #481548;
/* rgb */ color: rgb(72, 21, 72);
/* oklch */ color: oklch(30.1% 0.104 327.8);
Tailwind
colors: {
  custom: {
    50: '#7d577b',
    500: '#481548',
    950: '#000000',
  },
}
SCSS
$custom: #481548;
$custom-light: #7d577b;
$custom-dark: #000000;
JSON
{
  "hex": "#481548",
  "rgb": {
    "r": 72,
    "g": 21,
    "b": 72
  },
  "hsl": {
    "h": 300,
    "s": 54.839,
    "l": 18.235
  },
  "oklch": {
    "l": 0.30123,
    "c": 0.10419,
    "h": 327.8
  },
  "luminance": 0.02382
}

Semantic roles & 50–950 ramp

primary
#481548
secondary
#398039
accent
#DE4A4A
background
#F7F5F7
surface
#EEE9EE
border
#C9C5C9
text
#0A0309
muted
#7C787B

Preview Lab

Preview with #481548

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

Preview Lab → · Contrast checker → · Palette generator →

#481548 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva