#481980#481980

#481980 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 35.1% C 0.159 H 298.3°. Best body text is #FFFFFF at 12.17:1 contrast (WCAG AA passes).

Color values

HEX#481980
RGBrgb(72, 25, 128)
HSLhsl(267, 67%, 30%)
HSVhsv(267, 80%, 50%)
CMYKcmyk(43.8%, 80.5%, 0%, 49.8%)
CIE-LABlab(22.41, 43.16, -48.87)
CIE-LCHlch(22.41, 65.20, 311.45°)
OKLaboklab(35.08% 0.0752 -0.1399)
OKLCHoklch(35.08% 0.159 298.3)
XYZxyz(6.9154, 3.6314, 20.7545)
Luminance0.0363 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481980 #518019
analogous
#191D80 #481980 #7C1980
triadic
#481980 #804819 #198048
tetradic
#481980 #80191D #518019 #19807C
square
#481980 #80191D #518019 #19807C
split-complementary
#481980 #807C19 #1D8019
monochromatic
#0E051A #2B0F4D #481980 #6523B3 #833BD9

Accessibility & contrast

On white

12.17
#481980 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#481980 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #481980
12.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481980#FFFFFF#000000##FFFFFF
##4819801.0012.171.7312.17
#FFFFFF12.171.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.171.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #481980;
/* rgb */ color: rgb(72, 25, 128);
/* oklch */ color: oklch(35.1% 0.159 298.3);
Tailwind
colors: {
  custom: {
    50: '#815ca6',
    500: '#481980',
    950: '#000000',
  },
}
SCSS
$custom: #481980;
$custom-light: #815ca6;
$custom-dark: #000000;
JSON
{
  "hex": "#481980",
  "rgb": {
    "r": 72,
    "g": 25,
    "b": 128
  },
  "hsl": {
    "h": 267.379,
    "s": 67.32,
    "l": 30
  },
  "oklch": {
    "l": 0.35079,
    "c": 0.15882,
    "h": 298.3
  },
  "luminance": 0.03631
}

Semantic roles & 50–950 ramp

primary
#481980
secondary
#7FB441
accent
#EA3E9B
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #481980

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

Preview Lab → · Contrast checker → · Palette generator →

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