#481E78#481E78

#481E78 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 34.9% C 0.144 H 300.3°. Best body text is #FFFFFF at 12.12:1 contrast (WCAG AA passes).

Color values

HEX#481E78
RGBrgb(72, 30, 120)
HSLhsl(268, 60%, 29%)
HSVhsv(268, 75%, 47%)
CMYKcmyk(40%, 75%, 0%, 52.9%)
CIE-LABlab(22.52, 38.70, -43.61)
CIE-LCHlch(22.52, 58.30, 311.59°)
OKLaboklab(34.94% 0.0726 -0.1244)
OKLCHoklch(34.94% 0.144 300.3)
XYZxyz(6.5261, 3.6623, 18.1287)
Luminance0.0366 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481E78 #4E781E
analogous
#1E2178 #481E78 #751E78
triadic
#481E78 #78481E #1E7848
tetradic
#481E78 #781E21 #4E781E #1E7875
square
#481E78 #781E21 #4E781E #1E7875
split-complementary
#481E78 #78751E #21781E
monochromatic
#0F0618 #2B1247 #481E78 #652AA9 #8341CF

Accessibility & contrast

On white

12.12
#481E78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#481E78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #481E78
12.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481E78#FFFFFF#000000##FFFFFF
##481E781.0012.121.7312.12
#FFFFFF12.121.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00367B
Deuteranopia (green-blind)
#003576
Tritanopia (blue-blind)
#3D3449
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #481e78;
/* rgb */ color: rgb(72, 30, 120);
/* oklch */ color: oklch(34.9% 0.144 300.3);
Tailwind
colors: {
  custom: {
    50: '#805ea0',
    500: '#481e78',
    950: '#000000',
  },
}
SCSS
$custom: #481e78;
$custom-light: #805ea0;
$custom-dark: #000000;
JSON
{
  "hex": "#481e78",
  "rgb": {
    "r": 72,
    "g": 30,
    "b": 120
  },
  "hsl": {
    "h": 268,
    "s": 60,
    "l": 29.412
  },
  "oklch": {
    "l": 0.34935,
    "c": 0.14407,
    "h": 300.3
  },
  "luminance": 0.03662
}

Semantic roles & 50–950 ramp

primary
#481E78
secondary
#7CAC46
accent
#E34599
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040F
muted
#7C797E

Preview Lab

Preview with #481E78

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

Preview Lab → · Contrast checker → · Palette generator →

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