#481A78#481A78

#481A78 is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.5% C 0.149 H 301.0°. Best body text is #FFFFFF at 12.39:1 contrast (WCAG AA passes).

Color values

HEX#481A78
RGBrgb(72, 26, 120)
HSLhsl(269, 64%, 29%)
HSVhsv(269, 78%, 47%)
CMYKcmyk(40%, 78.3%, 0%, 52.9%)
CIE-LABlab(21.84, 40.62, -44.71)
CIE-LCHlch(21.84, 60.41, 312.25°)
OKLaboklab(34.46% 0.0766 -0.1277)
OKLCHoklch(34.46% 0.149 301)
XYZxyz(6.4312, 3.4725, 18.0971)
Luminance0.0347 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481A78 #4A781A
analogous
#1A1B78 #481A78 #771A78
triadic
#481A78 #78481A #1A7848
tetradic
#481A78 #781A1B #4A781A #1A7877
square
#481A78 #781A1B #4A781A #1A7877
split-complementary
#481A78 #78771A #1B781A
monochromatic
#0F0519 #2A0F46 #481A78 #6625AA #8538D4

Accessibility & contrast

On white

12.39
#481A78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#481A78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #481A78
12.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481A78#FFFFFF#000000##FFFFFF
##481A781.0012.391.6912.39
#FFFFFF12.391.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00347B
Deuteranopia (green-blind)
#003476
Tritanopia (blue-blind)
#3D3248
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #481a78;
/* rgb */ color: rgb(72, 26, 120);
/* oklch */ color: oklch(34.5% 0.149 301.0);
Tailwind
colors: {
  custom: {
    50: '#805ca0',
    500: '#481a78',
    950: '#000000',
  },
}
SCSS
$custom: #481a78;
$custom-light: #805ca0;
$custom-dark: #000000;
JSON
{
  "hex": "#481a78",
  "rgb": {
    "r": 72,
    "g": 26,
    "b": 120
  },
  "hsl": {
    "h": 269.362,
    "s": 64.384,
    "l": 28.627
  },
  "oklch": {
    "l": 0.34457,
    "c": 0.14887,
    "h": 301
  },
  "luminance": 0.03473
}

Semantic roles & 50–950 ramp

primary
#481A78
secondary
#78AC41
accent
#E74096
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040F
muted
#7C797E

Preview Lab

Preview with #481A78

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

Preview Lab → · Contrast checker → · Palette generator →

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