#481E79#481E79

#481E79 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.0% C 0.145 H 299.9°. Best body text is #FFFFFF at 12.09:1 contrast (WCAG AA passes).

Color values

HEX#481E79
RGBrgb(72, 30, 121)
HSLhsl(268, 60%, 30%)
HSVhsv(268, 75%, 47%)
CMYKcmyk(40.5%, 75.2%, 0%, 52.5%)
CIE-LABlab(22.61, 38.97, -44.11)
CIE-LCHlch(22.61, 58.86, 311.46°)
OKLaboklab(35.02% 0.0724 -0.1259)
OKLCHoklch(35.02% 0.145 299.9)
XYZxyz(6.5871, 3.6867, 18.4500)
Luminance0.0369 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481E79 #4F791E
analogous
#1E2279 #481E79 #761E79
triadic
#481E79 #79481E #1E7948
tetradic
#481E79 #791E22 #4F791E #1E7976
square
#481E79 #791E22 #4F791E #1E7976
split-complementary
#481E79 #79761E #22791E
monochromatic
#0F0619 #2B1248 #481E79 #652AAA #8341D0

Accessibility & contrast

On white

12.09
#481E79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#481E79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #481E79
12.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481E79#FFFFFF#000000##FFFFFF
##481E791.0012.091.7412.09
#FFFFFF12.091.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00367C
Deuteranopia (green-blind)
#003577
Tritanopia (blue-blind)
#3D3549
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #481e79;
/* rgb */ color: rgb(72, 30, 121);
/* oklch */ color: oklch(35.0% 0.145 299.9);
Tailwind
colors: {
  custom: {
    50: '#805ea0',
    500: '#481e79',
    950: '#000000',
  },
}
SCSS
$custom: #481e79;
$custom-light: #805ea0;
$custom-dark: #000000;
JSON
{
  "hex": "#481e79",
  "rgb": {
    "r": 72,
    "g": 30,
    "b": 121
  },
  "hsl": {
    "h": 267.692,
    "s": 60.265,
    "l": 29.608
  },
  "oklch": {
    "l": 0.35022,
    "c": 0.14522,
    "h": 299.9
  },
  "luminance": 0.03687
}

Semantic roles & 50–950 ramp

primary
#481E79
secondary
#7DAD46
accent
#E3449A
background
#F8F5FA
surface
#EFE9F3
border
#CAC5CD
text
#0B050F
muted
#7C797F

Preview Lab

Preview with #481E79

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

Preview Lab → · Contrast checker → · Palette generator →

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