#481A5B#481A5B

#481A5B is a dark, moderate purple. Relative luminance 0.029; OKLCH L 32.1% C 0.116 H 314.4°. Best body text is #FFFFFF at 13.34:1 contrast (WCAG AA passes).

Color values

HEX#481A5B
RGBrgb(72, 26, 91)
HSLhsl(282, 56%, 23%)
HSVhsv(282, 71%, 36%)
CMYKcmyk(20.9%, 71.4%, 0%, 64.3%)
CIE-LABlab(19.52, 33.35, -29.56)
CIE-LCHlch(19.52, 44.56, 318.45°)
OKLaboklab(32.08% 0.0815 -0.0831)
OKLCHoklch(32.08% 0.116 314.4)
XYZxyz(4.9299, 2.8720, 10.1902)
Luminance0.0287 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481A5B #2D5B1A
analogous
#281A5B #481A5B #5B1A4D
triadic
#481A5B #5B481A #1A5B48
tetradic
#481A5B #5B281A #2D5B1A #1A4D5B
square
#481A5B #5B281A #2D5B1A #1A4D5B
split-complementary
#481A5B #4D5B1A #1A5B28
monochromatic
#130718 #220C2B #481A5B #6E288B #9335BA

Accessibility & contrast

On white

13.34
#481A5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#481A5B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #481A5B
13.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481A5B#FFFFFF#000000##FFFFFF
##481A5B1.0013.341.5713.34
#FFFFFF13.341.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D5D
Deuteranopia (green-blind)
#173059
Tritanopia (blue-blind)
#462738
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #481a5b;
/* rgb */ color: rgb(72, 26, 91);
/* oklch */ color: oklch(32.1% 0.116 314.4);
Tailwind
colors: {
  custom: {
    50: '#7d5a8a',
    500: '#481a5b',
    950: '#000000',
  },
}
SCSS
$custom: #481a5b;
$custom-light: #7d5a8a;
$custom-dark: #000000;
JSON
{
  "hex": "#481a5b",
  "rgb": {
    "r": 72,
    "g": 26,
    "b": 91
  },
  "hsl": {
    "h": 282.462,
    "s": 55.556,
    "l": 22.941
  },
  "oklch": {
    "l": 0.32077,
    "c": 0.11641,
    "h": 314.4
  },
  "luminance": 0.02872
}

Semantic roles & 50–950 ramp

primary
#481A5B
secondary
#589140
accent
#DF4975
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#0A040C
muted
#7C797D

Preview Lab

Preview with #481A5B

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

Preview Lab → · Contrast checker → · Palette generator →

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