#481456#481456

#481456 is a dark, moderate purple. Relative luminance 0.025; OKLCH L 31.0% C 0.120 H 318.2°. Best body text is #FFFFFF at 13.91:1 contrast (WCAG AA passes).

Color values

HEX#481456
RGBrgb(72, 20, 86)
HSLhsl(287, 62%, 21%)
HSVhsv(287, 77%, 34%)
CMYKcmyk(16.3%, 76.7%, 0%, 66.3%)
CIE-LABlab(18.14, 35.07, -28.42)
CIE-LCHlch(18.14, 45.14, 320.98°)
OKLaboklab(30.97% 0.0892 -0.0798)
OKLCHoklch(30.97% 0.12 318.2)
XYZxyz(4.6021, 2.5501, 9.0521)
Luminance0.0255 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481456 #225614
analogous
#271456 #481456 #561443
triadic
#481456 #564814 #145648
tetradic
#481456 #562714 #225614 #144356
square
#481456 #562714 #225614 #144356
split-complementary
#481456 #435614 #145627
monochromatic
#150619 #1E0824 #481456 #722088 #9B2BB9

Accessibility & contrast

On white

13.91
#481456 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#481456 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #481456
13.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481456#FFFFFF#000000##FFFFFF
##4814561.0013.911.5113.91
#FFFFFF13.911.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002958
Deuteranopia (green-blind)
#172E54
Tritanopia (blue-blind)
#482133
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #481456;
/* rgb */ color: rgb(72, 20, 86);
/* oklch */ color: oklch(31.0% 0.120 318.2);
Tailwind
colors: {
  custom: {
    50: '#7e5786',
    500: '#481456',
    950: '#000000',
  },
}
SCSS
$custom: #481456;
$custom-light: #7e5786;
$custom-dark: #000000;
JSON
{
  "hex": "#481456",
  "rgb": {
    "r": 72,
    "g": 20,
    "b": 86
  },
  "hsl": {
    "h": 287.273,
    "s": 62.264,
    "l": 20.784
  },
  "oklch": {
    "l": 0.30974,
    "c": 0.11969,
    "h": 318.2
  },
  "luminance": 0.0255
}

Semantic roles & 50–950 ramp

primary
#481456
secondary
#4A8E38
accent
#E54265
background
#F7F5F8
surface
#EEE9EF
border
#C9C5CA
text
#0A030B
muted
#7C787C

Preview Lab

Preview with #481456

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

Preview Lab → · Contrast checker → · Palette generator →

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