#481B51#481B51

#481B51 is a dark, moderate purple. Relative luminance 0.028; OKLCH L 31.5% C 0.104 H 320.6°. Best body text is #FFFFFF at 13.54:1 contrast (WCAG AA passes).

Color values

HEX#481B51
RGBrgb(72, 27, 81)
HSLhsl(290, 50%, 21%)
HSVhsv(290, 67%, 32%)
CMYKcmyk(11.1%, 66.7%, 0%, 68.2%)
CIE-LABlab(19.04, 30.51, -23.62)
CIE-LCHlch(19.04, 38.59, 322.26°)
OKLaboklab(31.51% 0.0802 -0.0658)
OKLCHoklch(31.51% 0.104 320.6)
XYZxyz(4.5494, 2.7559, 8.0753)
Luminance0.0276 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481B51 #24511B
analogous
#2D1B51 #481B51 #511B3F
triadic
#481B51 #51481B #1B5148
tetradic
#481B51 #512D1B #24511B #1B3F51
square
#481B51 #512D1B #24511B #1B3F51
split-complementary
#481B51 #3F511B #1B512D
monochromatic
#140817 #1F0C23 #481B51 #712A7F #9A3AAD

Accessibility & contrast

On white

13.54
#481B51 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #481B51
13.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481B51#FFFFFF#000000##FFFFFF
##481B511.0013.541.5513.54
#FFFFFF13.541.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E2B53
Deuteranopia (green-blind)
#203050
Tritanopia (blue-blind)
#492433
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #481b51;
/* rgb */ color: rgb(72, 27, 81);
/* oklch */ color: oklch(31.5% 0.104 320.6);
Tailwind
colors: {
  custom: {
    50: '#7d5b82',
    500: '#481b51',
    950: '#000000',
  },
}
SCSS
$custom: #481b51;
$custom-light: #7d5b82;
$custom-dark: #000000;
JSON
{
  "hex": "#481b51",
  "rgb": {
    "r": 72,
    "g": 27,
    "b": 81
  },
  "hsl": {
    "h": 290,
    "s": 50,
    "l": 21.176
  },
  "oklch": {
    "l": 0.31509,
    "c": 0.10377,
    "h": 320.6
  },
  "luminance": 0.02756
}

Semantic roles & 50–950 ramp

primary
#481B51
secondary
#4D8741
accent
#DA4E65
background
#F7F5F8
surface
#EEE9EF
border
#C9C5CA
text
#0A040A
muted
#7C797C

Preview Lab

Preview with #481B51

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

Preview Lab → · Contrast checker → · Palette generator →

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