#481A5E#481A5E

#481A5E is a dark, moderate purple. Relative luminance 0.029; OKLCH L 32.3% C 0.120 H 312.7°. Best body text is #FFFFFF at 13.25:1 contrast (WCAG AA passes).

Color values

HEX#481A5E
RGBrgb(72, 26, 94)
HSLhsl(281, 57%, 24%)
HSVhsv(281, 72%, 37%)
CMYKcmyk(23.4%, 72.3%, 0%, 63.1%)
CIE-LABlab(19.74, 34.06, -31.20)
CIE-LCHlch(19.74, 46.20, 317.51°)
OKLaboklab(32.3% 0.0813 -0.088)
OKLCHoklch(32.3% 0.12 312.7)
XYZxyz(5.0619, 2.9248, 10.8854)
Luminance0.0293 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481A5E #305E1A
analogous
#261A5E #481A5E #5E1A52
triadic
#481A5E #5E481A #1A5E48
tetradic
#481A5E #5E261A #305E1A #1A525E
square
#481A5E #5E261A #305E1A #1A525E
split-complementary
#481A5E #525E1A #1A5E26
monochromatic
#120718 #230D2E #481A5E #6D278E #9135BE

Accessibility & contrast

On white

13.25
#481A5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #481A5E
13.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481A5E#FFFFFF#000000##FFFFFF
##481A5E1.0013.251.5913.25
#FFFFFF13.251.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D60
Deuteranopia (green-blind)
#14315C
Tritanopia (blue-blind)
#462839
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #481a5e;
/* rgb */ color: rgb(72, 26, 94);
/* oklch */ color: oklch(32.3% 0.120 312.7);
Tailwind
colors: {
  custom: {
    50: '#7e5b8c',
    500: '#481a5e',
    950: '#000000',
  },
}
SCSS
$custom: #481a5e;
$custom-light: #7e5b8c;
$custom-dark: #000000;
JSON
{
  "hex": "#481a5e",
  "rgb": {
    "r": 72,
    "g": 26,
    "b": 94
  },
  "hsl": {
    "h": 280.588,
    "s": 56.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.32301,
    "c": 0.11975,
    "h": 312.7
  },
  "luminance": 0.02925
}

Semantic roles & 50–950 ramp

primary
#481A5E
secondary
#5B9440
accent
#E04879
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#0A040C
muted
#7C797D

Preview Lab

Preview with #481A5E

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

Preview Lab → · Contrast checker → · Palette generator →

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