#481A52#481A52

#481A52 is a dark, moderate purple. Relative luminance 0.027; OKLCH L 31.4% C 0.107 H 320.1°. Best body text is #FFFFFF at 13.59:1 contrast (WCAG AA passes).

Color values

HEX#481A52
RGBrgb(72, 26, 82)
HSLhsl(289, 52%, 21%)
HSVhsv(289, 68%, 32%)
CMYKcmyk(12.2%, 68.3%, 0%, 67.8%)
CIE-LABlab(18.91, 31.27, -24.50)
CIE-LCHlch(18.91, 39.72, 321.92°)
OKLaboklab(31.44% 0.0817 -0.0683)
OKLCHoklch(31.44% 0.107 320.1)
XYZxyz(4.5647, 2.7259, 8.2667)
Luminance0.0273 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481A52 #24521A
analogous
#2C1A52 #481A52 #521A40
triadic
#481A52 #52481A #1A5248
tetradic
#481A52 #522C1A #24521A #1A4052
square
#481A52 #522C1A #24521A #1A4052
split-complementary
#481A52 #40521A #1A522C
monochromatic
#140717 #1F0B24 #481A52 #712980 #9A37AF

Accessibility & contrast

On white

13.59
#481A52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#481A52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #481A52
13.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481A52#FFFFFF#000000##FFFFFF
##481A521.0013.591.5513.59
#FFFFFF13.591.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B2B54
Deuteranopia (green-blind)
#1F3051
Tritanopia (blue-blind)
#482333
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #481a52;
/* rgb */ color: rgb(72, 26, 82);
/* oklch */ color: oklch(31.4% 0.107 320.1);
Tailwind
colors: {
  custom: {
    50: '#7d5a83',
    500: '#481a52',
    950: '#000000',
  },
}
SCSS
$custom: #481a52;
$custom-light: #7d5a83;
$custom-dark: #000000;
JSON
{
  "hex": "#481a52",
  "rgb": {
    "r": 72,
    "g": 26,
    "b": 82
  },
  "hsl": {
    "h": 289.286,
    "s": 51.852,
    "l": 21.176
  },
  "oklch": {
    "l": 0.31438,
    "c": 0.10651,
    "h": 320.1
  },
  "luminance": 0.02726
}

Semantic roles & 50–950 ramp

primary
#481A52
secondary
#4D8840
accent
#DB4C66
background
#F7F5F8
surface
#EEE9EF
border
#C9C5CA
text
#0A040A
muted
#7C797C

Preview Lab

Preview with #481A52

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

Preview Lab → · Contrast checker → · Palette generator →

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