#481A5C#481A5C

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

Color values

HEX#481A5C
RGBrgb(72, 26, 92)
HSLhsl(282, 56%, 23%)
HSVhsv(282, 72%, 36%)
CMYKcmyk(21.7%, 71.7%, 0%, 63.9%)
CIE-LABlab(19.60, 33.58, -30.11)
CIE-LCHlch(19.60, 45.10, 318.13°)
OKLaboklab(32.15% 0.0814 -0.0848)
OKLCHoklch(32.15% 0.118 313.8)
XYZxyz(4.9733, 2.8894, 10.4189)
Luminance0.0289 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481A5C #2E5C1A
analogous
#271A5C #481A5C #5C1A4F
triadic
#481A5C #5C481A #1A5C48
tetradic
#481A5C #5C271A #2E5C1A #1A4F5C
square
#481A5C #5C271A #2E5C1A #1A4F5C
split-complementary
#481A5C #4F5C1A #1A5C27
monochromatic
#130718 #230D2C #481A5C #6D278C #9335BB

Accessibility & contrast

On white

13.31
#481A5C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #481A5C
13.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481A5C#FFFFFF#000000##FFFFFF
##481A5C1.0013.311.5813.31
#FFFFFF13.311.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D5E
Deuteranopia (green-blind)
#17315A
Tritanopia (blue-blind)
#462738
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #481a5c;
/* rgb */ color: rgb(72, 26, 92);
/* oklch */ color: oklch(32.2% 0.118 313.8);
Tailwind
colors: {
  custom: {
    50: '#7e5a8a',
    500: '#481a5c',
    950: '#000000',
  },
}
SCSS
$custom: #481a5c;
$custom-light: #7e5a8a;
$custom-dark: #000000;
JSON
{
  "hex": "#481a5c",
  "rgb": {
    "r": 72,
    "g": 26,
    "b": 92
  },
  "hsl": {
    "h": 281.818,
    "s": 55.932,
    "l": 23.137
  },
  "oklch": {
    "l": 0.32151,
    "c": 0.11752,
    "h": 313.8
  },
  "luminance": 0.02889
}

Semantic roles & 50–950 ramp

primary
#481A5C
secondary
#599240
accent
#DF4976
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#0A040C
muted
#7C797D

Preview Lab

Preview with #481A5C

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

Preview Lab → · Contrast checker → · Palette generator →

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