#481A81#481A81

#481A81 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.3% C 0.159 H 297.8°. Best body text is #FFFFFF at 12.07:1 contrast (WCAG AA passes).

Color values

HEX#481A81
RGBrgb(72, 26, 129)
HSLhsl(267, 66%, 30%)
HSVhsv(267, 80%, 51%)
CMYKcmyk(44.2%, 79.8%, 0%, 49.4%)
CIE-LABlab(22.66, 42.98, -49.10)
CIE-LCHlch(22.66, 65.26, 311.20°)
OKLaboklab(35.28% 0.0741 -0.1405)
OKLCHoklch(35.28% 0.159 297.8)
XYZxyz(7.0033, 3.7014, 21.1101)
Luminance0.0370 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481A81 #53811A
analogous
#1A1F81 #481A81 #7B1A81
triadic
#481A81 #81481A #1A8148
tetradic
#481A81 #811A1F #53811A #1A817B
square
#481A81 #811A1F #53811A #1A817B
split-complementary
#481A81 #817B1A #1F811A
monochromatic
#0F051B #2C104E #481A81 #6424B4 #823DD8

Accessibility & contrast

On white

12.07
#481A81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #481A81
12.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481A81#FFFFFF#000000##FFFFFF
##481A811.0012.071.7412.07
#FFFFFF12.071.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003684
Deuteranopia (green-blind)
#00357F
Tritanopia (blue-blind)
#39364D
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #481a81;
/* rgb */ color: rgb(72, 26, 129);
/* oklch */ color: oklch(35.3% 0.159 297.8);
Tailwind
colors: {
  custom: {
    50: '#815ca6',
    500: '#481a81',
    950: '#000000',
  },
}
SCSS
$custom: #481a81;
$custom-light: #815ca6;
$custom-dark: #000000;
JSON
{
  "hex": "#481a81",
  "rgb": {
    "r": 72,
    "g": 26,
    "b": 129
  },
  "hsl": {
    "h": 266.796,
    "s": 66.452,
    "l": 30.392
  },
  "oklch": {
    "l": 0.35279,
    "c": 0.15888,
    "h": 297.8
  },
  "luminance": 0.03701
}

Semantic roles & 50–950 ramp

primary
#481A81
secondary
#82B542
accent
#E93E9D
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #481A81

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

Preview Lab → · Contrast checker → · Palette generator →

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