#481256#481256

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

Color values

HEX#481256
RGBrgb(72, 18, 86)
HSLhsl(288, 65%, 20%)
HSVhsv(288, 79%, 34%)
CMYKcmyk(16.3%, 79.1%, 0%, 66.3%)
CIE-LABlab(17.84, 35.94, -28.91)
CIE-LCHlch(17.84, 46.12, 321.18°)
OKLaboklab(30.76% 0.0915 -0.0812)
OKLCHoklch(30.76% 0.122 318.4)
XYZxyz(4.5683, 2.4824, 9.0408)
Luminance0.0248 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481256 #205612
analogous
#261256 #481256 #561242
triadic
#481256 #564812 #125648
tetradic
#481256 #562612 #205612 #124256
square
#481256 #562612 #205612 #124256
split-complementary
#481256 #425612 #125626
monochromatic
#150519 #1E0723 #481256 #721D89 #9D27BB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##481256#FFFFFF#000000##FFFFFF
##4812561.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)
#002858
Deuteranopia (green-blind)
#162D54
Tritanopia (blue-blind)
#482033
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #481256;
/* rgb */ color: rgb(72, 18, 86);
/* oklch */ color: oklch(30.8% 0.122 318.4);
Tailwind
colors: {
  custom: {
    50: '#7e5686',
    500: '#481256',
    950: '#000000',
  },
}
SCSS
$custom: #481256;
$custom-light: #7e5686;
$custom-dark: #000000;
JSON
{
  "hex": "#481256",
  "rgb": {
    "r": 72,
    "g": 18,
    "b": 86
  },
  "hsl": {
    "h": 287.647,
    "s": 65.385,
    "l": 20.392
  },
  "oklch": {
    "l": 0.30757,
    "c": 0.12232,
    "h": 318.4
  },
  "luminance": 0.02482
}

Semantic roles & 50–950 ramp

primary
#481256
secondary
#488F35
accent
#E83F62
background
#F7F5F8
surface
#EEE9EF
border
#C9C5CA
text
#0A030B
muted
#7C787C

Preview Lab

Preview with #481256

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

Preview Lab → · Contrast checker → · Palette generator →

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