#481A5F#481A5F

#481A5F is a dark, vivid purple. Relative luminance 0.029; OKLCH L 32.4% C 0.121 H 312.2°. Best body text is #FFFFFF at 13.22:1 contrast (WCAG AA passes).

Color values

HEX#481A5F
RGBrgb(72, 26, 95)
HSLhsl(280, 57%, 24%)
HSVhsv(280, 73%, 37%)
CMYKcmyk(24.2%, 72.6%, 0%, 62.7%)
CIE-LABlab(19.81, 34.31, -31.75)
CIE-LCHlch(19.81, 46.74, 317.22°)
OKLaboklab(32.38% 0.0812 -0.0896)
OKLCHoklch(32.38% 0.121 312.2)
XYZxyz(5.1071, 2.9429, 11.1233)
Luminance0.0294 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481A5F #315F1A
analogous
#251A5F #481A5F #5F1A53
triadic
#481A5F #5F481A #1A5F48
tetradic
#481A5F #5F251A #315F1A #1A535F
square
#481A5F #5F251A #315F1A #1A535F
split-complementary
#481A5F #535F1A #1A5F25
monochromatic
#120718 #240D2F #481A5F #6C278F #9134BF

Accessibility & contrast

On white

13.22
#481A5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#481A5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #481A5F
13.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481A5F#FFFFFF#000000##FFFFFF
##481A5F1.0013.221.5913.22
#FFFFFF13.221.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E61
Deuteranopia (green-blind)
#13315D
Tritanopia (blue-blind)
#45283A
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #481a5f;
/* rgb */ color: rgb(72, 26, 95);
/* oklch */ color: oklch(32.4% 0.121 312.2);
Tailwind
colors: {
  custom: {
    50: '#7e5b8d',
    500: '#481a5f',
    950: '#000000',
  },
}
SCSS
$custom: #481a5f;
$custom-light: #7e5b8d;
$custom-dark: #000000;
JSON
{
  "hex": "#481a5f",
  "rgb": {
    "r": 72,
    "g": 26,
    "b": 95
  },
  "hsl": {
    "h": 280,
    "s": 57.025,
    "l": 23.725
  },
  "oklch": {
    "l": 0.32377,
    "c": 0.12086,
    "h": 312.2
  },
  "luminance": 0.02943
}

Semantic roles & 50–950 ramp

primary
#481A5F
secondary
#5C9540
accent
#E0487A
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#0A040C
muted
#7C797D

Preview Lab

Preview with #481A5F

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

Preview Lab → · Contrast checker → · Palette generator →

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