#481C79#481C79

#481C79 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.8% C 0.148 H 300.2°. Best body text is #FFFFFF at 12.22:1 contrast (WCAG AA passes).

Color values

HEX#481C79
RGBrgb(72, 28, 121)
HSLhsl(268, 62%, 29%)
HSVhsv(268, 77%, 47%)
CMYKcmyk(40.5%, 76.9%, 0%, 52.5%)
CIE-LABlab(22.26, 39.95, -44.67)
CIE-LCHlch(22.26, 59.93, 311.80°)
OKLaboklab(34.78% 0.0744 -0.1275)
OKLCHoklch(34.78% 0.148 300.2)
XYZxyz(6.5381, 3.5886, 18.4337)
Luminance0.0359 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481C79 #4D791C
analogous
#1C1F79 #481C79 #771C79
triadic
#481C79 #79481C #1C7948
tetradic
#481C79 #791C1F #4D791C #1C7977
square
#481C79 #791C1F #4D791C #1C7977
split-complementary
#481C79 #79771C #1F791C
monochromatic
#0F0619 #2A1047 #481C79 #6628AB #843DD2

Accessibility & contrast

On white

12.22
#481C79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#481C79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #481C79
12.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481C79#FFFFFF#000000##FFFFFF
##481C791.0012.221.7212.22
#FFFFFF12.221.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00357C
Deuteranopia (green-blind)
#003577
Tritanopia (blue-blind)
#3D3449
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #481c79;
/* rgb */ color: rgb(72, 28, 121);
/* oklch */ color: oklch(34.8% 0.148 300.2);
Tailwind
colors: {
  custom: {
    50: '#805da0',
    500: '#481c79',
    950: '#000000',
  },
}
SCSS
$custom: #481c79;
$custom-light: #805da0;
$custom-dark: #000000;
JSON
{
  "hex": "#481c79",
  "rgb": {
    "r": 72,
    "g": 28,
    "b": 121
  },
  "hsl": {
    "h": 268.387,
    "s": 62.416,
    "l": 29.216
  },
  "oklch": {
    "l": 0.34778,
    "c": 0.14765,
    "h": 300.2
  },
  "luminance": 0.03589
}

Semantic roles & 50–950 ramp

primary
#481C79
secondary
#7BAD44
accent
#E54298
background
#F8F5FA
surface
#EFE9F3
border
#CAC5CD
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #481C79

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

Preview Lab → · Contrast checker → · Palette generator →

#481C79 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva