#481B5B#481B5B

#481B5B is a dark, moderate purple. Relative luminance 0.029; OKLCH L 32.2% C 0.115 H 314.3°. Best body text is #FFFFFF at 13.26:1 contrast (WCAG AA passes).

Color values

HEX#481B5B
RGBrgb(72, 27, 91)
HSLhsl(282, 54%, 23%)
HSVhsv(282, 70%, 36%)
CMYKcmyk(20.9%, 70.3%, 0%, 64.3%)
CIE-LABlab(19.71, 32.83, -29.26)
CIE-LCHlch(19.71, 43.98, 318.29°)
OKLaboklab(32.21% 0.0802 -0.0823)
OKLCHoklch(32.21% 0.115 314.3)
XYZxyz(4.9524, 2.9171, 10.1977)
Luminance0.0292 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481B5B #2E5B1B
analogous
#281B5B #481B5B #5B1B4E
triadic
#481B5B #5B481B #1B5B48
tetradic
#481B5B #5B281B #2E5B1B #1B4E5B
square
#481B5B #5B281B #2E5B1B #1B4E5B
split-complementary
#481B5B #4E5B1B #1B5B28
monochromatic
#130718 #230D2C #481B5B #6D298A #9337B9

Accessibility & contrast

On white

13.26
#481B5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #481B5B
13.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481B5B#FFFFFF#000000##FFFFFF
##481B5B1.0013.261.5813.26
#FFFFFF13.261.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D5D
Deuteranopia (green-blind)
#183159
Tritanopia (blue-blind)
#462738
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #481b5b;
/* rgb */ color: rgb(72, 27, 91);
/* oklch */ color: oklch(32.2% 0.115 314.3);
Tailwind
colors: {
  custom: {
    50: '#7d5b8a',
    500: '#481b5b',
    950: '#000000',
  },
}
SCSS
$custom: #481b5b;
$custom-light: #7d5b8a;
$custom-dark: #000000;
JSON
{
  "hex": "#481b5b",
  "rgb": {
    "r": 72,
    "g": 27,
    "b": 91
  },
  "hsl": {
    "h": 282.188,
    "s": 54.237,
    "l": 23.137
  },
  "oklch": {
    "l": 0.3221,
    "c": 0.11488,
    "h": 314.3
  },
  "luminance": 0.02917
}

Semantic roles & 50–950 ramp

primary
#481B5B
secondary
#599141
accent
#DE4A76
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#0A040C
muted
#7C797D

Preview Lab

Preview with #481B5B

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

Preview Lab → · Contrast checker → · Palette generator →

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