#481880#481880

#481880 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 35.0% C 0.160 H 298.4°. Best body text is #FFFFFF at 12.22:1 contrast (WCAG AA passes).

Color values

HEX#481880
RGBrgb(72, 24, 128)
HSLhsl(268, 68%, 30%)
HSVhsv(268, 81%, 50%)
CMYKcmyk(43.8%, 81.3%, 0%, 49.8%)
CIE-LABlab(22.26, 43.59, -49.11)
CIE-LCHlch(22.26, 65.67, 311.59°)
OKLaboklab(34.98% 0.0761 -0.1406)
OKLCHoklch(34.98% 0.16 298.4)
XYZxyz(6.8944, 3.5894, 20.7475)
Luminance0.0359 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481880 #508018
analogous
#181C80 #481880 #7C1880
triadic
#481880 #804818 #188048
tetradic
#481880 #80181C #508018 #18807C
square
#481880 #80181C #508018 #18807C
split-complementary
#481880 #807C18 #1C8018
monochromatic
#0E051A #2B0E4C #481880 #6522B4 #8339DA

Accessibility & contrast

On white

12.22
#481880 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#481880 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #481880
12.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481880#FFFFFF#000000##FFFFFF
##4818801.0012.221.7212.22
#FFFFFF12.221.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003583
Deuteranopia (green-blind)
#00347E
Tritanopia (blue-blind)
#3A354C
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #481880;
/* rgb */ color: rgb(72, 24, 128);
/* oklch */ color: oklch(35.0% 0.160 298.4);
Tailwind
colors: {
  custom: {
    50: '#815ba6',
    500: '#481880',
    950: '#000000',
  },
}
SCSS
$custom: #481880;
$custom-light: #815ba6;
$custom-dark: #000000;
JSON
{
  "hex": "#481880",
  "rgb": {
    "r": 72,
    "g": 24,
    "b": 128
  },
  "hsl": {
    "h": 267.692,
    "s": 68.421,
    "l": 29.804
  },
  "oklch": {
    "l": 0.34975,
    "c": 0.15984,
    "h": 298.4
  },
  "luminance": 0.03589
}

Semantic roles & 50–950 ramp

primary
#481880
secondary
#7EB440
accent
#EB3D9B
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #481880

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

Preview Lab → · Contrast checker → · Palette generator →

#481880 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva