#481559#481559

#481559 is a dark, vivid purple. Relative luminance 0.026; OKLCH L 31.3% C 0.121 H 316.3°. Best body text is #FFFFFF at 13.75:1 contrast (WCAG AA passes).

Color values

HEX#481559
RGBrgb(72, 21, 89)
HSLhsl(285, 62%, 22%)
HSVhsv(285, 76%, 35%)
CMYKcmyk(19.1%, 76.4%, 0%, 65.1%)
CIE-LABlab(18.52, 35.29, -29.83)
CIE-LCHlch(18.52, 46.21, 319.79°)
OKLaboklab(31.31% 0.0878 -0.0839)
OKLCHoklch(31.31% 0.121 316.3)
XYZxyz(4.7435, 2.6355, 9.7081)
Luminance0.0263 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481559 #265915
analogous
#261559 #481559 #591548
triadic
#481559 #594815 #155948
tetradic
#481559 #592615 #265915 #154859
square
#481559 #592615 #265915 #154859
split-complementary
#481559 #485915 #155926
monochromatic
#140619 #200927 #481559 #70218B #982CBC

Accessibility & contrast

On white

13.75
#481559 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#481559 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #481559
13.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481559#FFFFFF#000000##FFFFFF
##4815591.0013.751.5313.75
#FFFFFF13.751.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A5B
Deuteranopia (green-blind)
#152F57
Tritanopia (blue-blind)
#472335
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #481559;
/* rgb */ color: rgb(72, 21, 89);
/* oklch */ color: oklch(31.3% 0.121 316.3);
Tailwind
colors: {
  custom: {
    50: '#7e5888',
    500: '#481559',
    950: '#000000',
  },
}
SCSS
$custom: #481559;
$custom-light: #7e5888;
$custom-dark: #000000;
JSON
{
  "hex": "#481559",
  "rgb": {
    "r": 72,
    "g": 21,
    "b": 89
  },
  "hsl": {
    "h": 285,
    "s": 61.818,
    "l": 21.569
  },
  "oklch": {
    "l": 0.31312,
    "c": 0.12143,
    "h": 316.3
  },
  "luminance": 0.02635
}

Semantic roles & 50–950 ramp

primary
#481559
secondary
#4F9139
accent
#E5436B
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#0A030B
muted
#7C787C

Preview Lab

Preview with #481559

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

Preview Lab → · Contrast checker → · Palette generator →

#481559 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva