#481158#481158

#481158 is a dark, vivid purple. Relative luminance 0.025; OKLCH L 30.8% C 0.126 H 317.3°. Best body text is #FFFFFF at 14.03:1 contrast (WCAG AA passes).

Color values

HEX#481158
RGBrgb(72, 17, 88)
HSLhsl(286, 68%, 21%)
HSVhsv(286, 81%, 35%)
CMYKcmyk(18.2%, 80.7%, 0%, 65.5%)
CIE-LABlab(17.84, 36.78, -30.25)
CIE-LCHlch(17.84, 47.62, 320.57°)
OKLaboklab(30.81% 0.0923 -0.0851)
OKLCHoklch(30.81% 0.126 317.3)
XYZxyz(4.6341, 2.4834, 9.4659)
Luminance0.0248 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481158 #215811
analogous
#241158 #481158 #581144
triadic
#481158 #584811 #115848
tetradic
#481158 #582411 #215811 #114458
square
#481158 #582411 #215811 #114458
split-complementary
#481158 #445811 #115824
monochromatic
#15051A #1E0725 #481158 #721B8B #9C25BF

Accessibility & contrast

On white

14.03
#481158 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#481158 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #481158
14.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481158#FFFFFF#000000##FFFFFF
##4811581.0014.031.5014.03
#FFFFFF14.031.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00285A
Deuteranopia (green-blind)
#132D56
Tritanopia (blue-blind)
#472034
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #481158;
/* rgb */ color: rgb(72, 17, 88);
/* oklch */ color: oklch(30.8% 0.126 317.3);
Tailwind
colors: {
  custom: {
    50: '#7e5688',
    500: '#481158',
    950: '#000000',
  },
}
SCSS
$custom: #481158;
$custom-light: #7e5688;
$custom-dark: #000000;
JSON
{
  "hex": "#481158",
  "rgb": {
    "r": 72,
    "g": 17,
    "b": 88
  },
  "hsl": {
    "h": 286.479,
    "s": 67.619,
    "l": 20.588
  },
  "oklch": {
    "l": 0.30807,
    "c": 0.12556,
    "h": 317.3
  },
  "luminance": 0.02483
}

Semantic roles & 50–950 ramp

primary
#481158
secondary
#499134
accent
#EA3D64
background
#F7F5F8
surface
#EEE9EF
border
#C9C5CA
text
#0A030B
muted
#7C787C

Preview Lab

Preview with #481158

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

Preview Lab → · Contrast checker → · Palette generator →

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