#481B80#481B80

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

Color values

HEX#481B80
RGBrgb(72, 27, 128)
HSLhsl(267, 65%, 30%)
HSVhsv(267, 79%, 50%)
CMYKcmyk(43.8%, 78.9%, 0%, 49.8%)
CIE-LABlab(22.72, 42.27, -48.36)
CIE-LCHlch(22.72, 64.23, 311.15°)
OKLaboklab(35.3% 0.0735 -0.1384)
OKLCHoklch(35.3% 0.157 298)
XYZxyz(6.9597, 3.7200, 20.7692)
Luminance0.0372 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481B80 #53801B
analogous
#1B2080 #481B80 #7A1B80
triadic
#481B80 #80481B #1B8048
tetradic
#481B80 #801B20 #53801B #1B807A
square
#481B80 #801B20 #53801B #1B807A
split-complementary
#481B80 #807A1B #20801B
monochromatic
#0F061B #2C104D #481B80 #6426B3 #823FD6

Accessibility & contrast

On white

12.04
#481B80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #481B80
12.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481B80#FFFFFF#000000##FFFFFF
##481B801.0012.041.7412.04
#FFFFFF12.041.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003683
Deuteranopia (green-blind)
#00357E
Tritanopia (blue-blind)
#3A364D
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #481b80;
/* rgb */ color: rgb(72, 27, 128);
/* oklch */ color: oklch(35.3% 0.157 298.0);
Tailwind
colors: {
  custom: {
    50: '#815da6',
    500: '#481b80',
    950: '#000000',
  },
}
SCSS
$custom: #481b80;
$custom-light: #815da6;
$custom-dark: #000000;
JSON
{
  "hex": "#481b80",
  "rgb": {
    "r": 72,
    "g": 27,
    "b": 128
  },
  "hsl": {
    "h": 266.733,
    "s": 65.161,
    "l": 30.392
  },
  "oklch": {
    "l": 0.35296,
    "c": 0.1567,
    "h": 298
  },
  "luminance": 0.0372
}

Semantic roles & 50–950 ramp

primary
#481B80
secondary
#82B443
accent
#E8409D
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #481B80

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

Preview Lab → · Contrast checker → · Palette generator →

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