#481157#481157

#481157 is a dark, vivid purple. Relative luminance 0.025; OKLCH L 30.7% C 0.125 H 317.9°. Best body text is #FFFFFF at 14.06:1 contrast (WCAG AA passes).

Color values

HEX#481157
RGBrgb(72, 17, 87)
HSLhsl(287, 67%, 20%)
HSVhsv(287, 80%, 34%)
CMYKcmyk(17.2%, 80.5%, 0%, 65.9%)
CIE-LABlab(17.77, 36.57, -29.70)
CIE-LCHlch(17.77, 47.11, 320.92°)
OKLaboklab(30.73% 0.0925 -0.0835)
OKLCHoklch(30.73% 0.125 317.9)
XYZxyz(4.5930, 2.4669, 9.2492)
Luminance0.0247 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481157 #205711
analogous
#251157 #481157 #571143
triadic
#481157 #574811 #115748
tetradic
#481157 #572511 #205711 #114357
square
#481157 #572511 #205711 #114357
split-complementary
#481157 #435711 #115725
monochromatic
#15051A #1E0724 #481157 #721B8A #9D25BD

Accessibility & contrast

On white

14.06
#481157 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#481157 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #481157
14.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481157#FFFFFF#000000##FFFFFF
##4811571.0014.061.4914.06
#FFFFFF14.061.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002859
Deuteranopia (green-blind)
#142D55
Tritanopia (blue-blind)
#472033
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #481157;
/* rgb */ color: rgb(72, 17, 87);
/* oklch */ color: oklch(30.7% 0.125 317.9);
Tailwind
colors: {
  custom: {
    50: '#7e5687',
    500: '#481157',
    950: '#000000',
  },
}
SCSS
$custom: #481157;
$custom-light: #7e5687;
$custom-dark: #000000;
JSON
{
  "hex": "#481157",
  "rgb": {
    "r": 72,
    "g": 17,
    "b": 87
  },
  "hsl": {
    "h": 287.143,
    "s": 67.308,
    "l": 20.392
  },
  "oklch": {
    "l": 0.3073,
    "c": 0.12456,
    "h": 317.9
  },
  "luminance": 0.02467
}

Semantic roles & 50–950 ramp

primary
#481157
secondary
#489034
accent
#EA3E63
background
#F7F5F8
surface
#EEE9EF
border
#C9C5CA
text
#0A030B
muted
#7C787C

Preview Lab

Preview with #481157

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

Preview Lab → · Contrast checker → · Palette generator →

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