#481958#481958

#481958 is a dark, moderate purple. Relative luminance 0.028; OKLCH L 31.7% C 0.115 H 316.4°. Best body text is #FFFFFF at 13.50:1 contrast (WCAG AA passes).

Color values

HEX#481958
RGBrgb(72, 25, 88)
HSLhsl(285, 56%, 22%)
HSVhsv(285, 72%, 35%)
CMYKcmyk(18.2%, 71.6%, 0%, 65.5%)
CIE-LABlab(19.13, 33.15, -28.18)
CIE-LCHlch(19.13, 43.51, 319.63°)
OKLaboklab(31.73% 0.0829 -0.0791)
OKLCHoklch(31.73% 0.115 316.4)
XYZxyz(4.7813, 2.7777, 9.5149)
Luminance0.0278 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481958 #295819
analogous
#291958 #481958 #581949
triadic
#481958 #584819 #195848
tetradic
#481958 #582919 #295819 #194958
square
#481958 #582919 #295819 #194958
split-complementary
#481958 #495819 #195829
monochromatic
#130718 #210B28 #481958 #6F2788 #9634B7

Accessibility & contrast

On white

13.50
#481958 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#481958 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #481958
13.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481958#FFFFFF#000000##FFFFFF
##4819581.0013.501.5613.50
#FFFFFF13.501.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C5A
Deuteranopia (green-blind)
#193057
Tritanopia (blue-blind)
#472536
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #481958;
/* rgb */ color: rgb(72, 25, 88);
/* oklch */ color: oklch(31.7% 0.115 316.4);
Tailwind
colors: {
  custom: {
    50: '#7d5a87',
    500: '#481958',
    950: '#000000',
  },
}
SCSS
$custom: #481958;
$custom-light: #7d5a87;
$custom-dark: #000000;
JSON
{
  "hex": "#481958",
  "rgb": {
    "r": 72,
    "g": 25,
    "b": 88
  },
  "hsl": {
    "h": 284.762,
    "s": 55.752,
    "l": 22.157
  },
  "oklch": {
    "l": 0.31727,
    "c": 0.11462,
    "h": 316.4
  },
  "luminance": 0.02778
}

Semantic roles & 50–950 ramp

primary
#481958
secondary
#538E3E
accent
#DF496F
background
#F7F5F8
surface
#EEE9EF
border
#C9C5CA
text
#0A040B
muted
#7C797C

Preview Lab

Preview with #481958

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

Preview Lab → · Contrast checker → · Palette generator →

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