#481A79#481A79

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

Color values

HEX#481A79
RGBrgb(72, 26, 121)
HSLhsl(269, 65%, 29%)
HSVhsv(269, 79%, 47%)
CMYKcmyk(40.5%, 78.5%, 0%, 52.5%)
CIE-LABlab(21.93, 40.88, -45.21)
CIE-LCHlch(21.93, 60.95, 312.12°)
OKLaboklab(34.55% 0.0763 -0.1291)
OKLCHoklch(34.55% 0.15 300.6)
XYZxyz(6.4922, 3.4969, 18.4184)
Luminance0.0350 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481A79 #4B791A
analogous
#1A1B79 #481A79 #781A79
triadic
#481A79 #79481A #1A7948
tetradic
#481A79 #791A1B #4B791A #1A7978
square
#481A79 #791A1B #4B791A #1A7978
split-complementary
#481A79 #79781A #1B791A
monochromatic
#0F0519 #2A0F47 #481A79 #6625AB #8439D4

Accessibility & contrast

On white

12.36
#481A79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#481A79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #481A79
12.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481A79#FFFFFF#000000##FFFFFF
##481A791.0012.361.7012.36
#FFFFFF12.361.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00347C
Deuteranopia (green-blind)
#003477
Tritanopia (blue-blind)
#3D3348
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #481a79;
/* rgb */ color: rgb(72, 26, 121);
/* oklch */ color: oklch(34.5% 0.150 300.6);
Tailwind
colors: {
  custom: {
    50: '#805ca0',
    500: '#481a79',
    950: '#000000',
  },
}
SCSS
$custom: #481a79;
$custom-light: #805ca0;
$custom-dark: #000000;
JSON
{
  "hex": "#481a79",
  "rgb": {
    "r": 72,
    "g": 26,
    "b": 121
  },
  "hsl": {
    "h": 269.053,
    "s": 64.626,
    "l": 28.824
  },
  "oklch": {
    "l": 0.34547,
    "c": 0.14999,
    "h": 300.6
  },
  "luminance": 0.03497
}

Semantic roles & 50–950 ramp

primary
#481A79
secondary
#79AD41
accent
#E84097
background
#F8F5FA
surface
#EFE9F3
border
#CAC5CD
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #481A79

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

Preview Lab → · Contrast checker → · Palette generator →

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