#481E52#481E52

#481E52 is a dark, moderate purple. Relative luminance 0.029; OKLCH L 32.0% C 0.100 H 319.5°. Best body text is #FFFFFF at 13.27:1 contrast (WCAG AA passes).

Color values

HEX#481E52
RGBrgb(72, 30, 82)
HSLhsl(288, 46%, 22%)
HSVhsv(288, 63%, 32%)
CMYKcmyk(12.2%, 63.4%, 0%, 67.8%)
CIE-LABlab(19.70, 29.10, -23.24)
CIE-LCHlch(19.70, 37.24, 321.39°)
OKLaboklab(32.01% 0.0759 -0.0647)
OKLCHoklch(32.01% 0.1 319.5)
XYZxyz(4.6596, 2.9157, 8.2983)
Luminance0.0291 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481E52 #28521E
analogous
#2E1E52 #481E52 #521E42
triadic
#481E52 #52481E #1E5248
tetradic
#481E52 #522E1E #28521E #1E4252
square
#481E52 #522E1E #28521E #1E4252
split-complementary
#481E52 #42521E #1E522E
monochromatic
#140816 #210E25 #481E52 #6F2E7F #973FAC

Accessibility & contrast

On white

13.27
#481E52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#481E52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #481E52
13.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481E52#FFFFFF#000000##FFFFFF
##481E521.0013.271.5813.27
#FFFFFF13.271.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#122D54
Deuteranopia (green-blind)
#223151
Tritanopia (blue-blind)
#482634
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #481e52;
/* rgb */ color: rgb(72, 30, 82);
/* oklch */ color: oklch(32.0% 0.100 319.5);
Tailwind
colors: {
  custom: {
    50: '#7d5c83',
    500: '#481e52',
    950: '#000000',
  },
}
SCSS
$custom: #481e52;
$custom-light: #7d5c83;
$custom-dark: #000000;
JSON
{
  "hex": "#481e52",
  "rgb": {
    "r": 72,
    "g": 30,
    "b": 82
  },
  "hsl": {
    "h": 288.462,
    "s": 46.429,
    "l": 21.961
  },
  "oklch": {
    "l": 0.32014,
    "c": 0.09974,
    "h": 319.5
  },
  "luminance": 0.02915
}

Semantic roles & 50–950 ramp

primary
#481E52
secondary
#528745
accent
#D6526B
background
#F7F5F8
surface
#EEE9EF
border
#C9C5CA
text
#0A040A
muted
#7C797C

Preview Lab

Preview with #481E52

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

Preview Lab → · Contrast checker → · Palette generator →

#481E52 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva