#481978#481978

#481978 is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.3% C 0.150 H 301.1°. Best body text is #FFFFFF at 12.46:1 contrast (WCAG AA passes).

Color values

HEX#481978
RGBrgb(72, 25, 120)
HSLhsl(270, 66%, 28%)
HSVhsv(270, 79%, 47%)
CMYKcmyk(40%, 79.2%, 0%, 52.9%)
CIE-LABlab(21.69, 41.08, -44.97)
CIE-LCHlch(21.69, 60.91, 312.41°)
OKLaboklab(34.35% 0.0775 -0.1284)
OKLCHoklch(34.35% 0.15 301.1)
XYZxyz(6.4095, 3.4290, 18.0898)
Luminance0.0343 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481978 #497819
analogous
#191A78 #481978 #771978
triadic
#481978 #784819 #197848
tetradic
#481978 #78191A #497819 #197877
square
#481978 #78191A #497819 #197877
split-complementary
#481978 #787719 #1A7819
monochromatic
#0F0519 #2A0E45 #481978 #6624AB #8536D5

Accessibility & contrast

On white

12.46
#481978 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#481978 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #481978
12.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481978#FFFFFF#000000##FFFFFF
##4819781.0012.461.6912.46
#FFFFFF12.461.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00337B
Deuteranopia (green-blind)
#003376
Tritanopia (blue-blind)
#3D3248
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #481978;
/* rgb */ color: rgb(72, 25, 120);
/* oklch */ color: oklch(34.3% 0.150 301.1);
Tailwind
colors: {
  custom: {
    50: '#805ba0',
    500: '#481978',
    950: '#000000',
  },
}
SCSS
$custom: #481978;
$custom-light: #805ba0;
$custom-dark: #000000;
JSON
{
  "hex": "#481978",
  "rgb": {
    "r": 72,
    "g": 25,
    "b": 120
  },
  "hsl": {
    "h": 269.684,
    "s": 65.517,
    "l": 28.431
  },
  "oklch": {
    "l": 0.34346,
    "c": 0.15,
    "h": 301.1
  },
  "luminance": 0.03429
}

Semantic roles & 50–950 ramp

primary
#481978
secondary
#77AD40
accent
#E83F95
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040F
muted
#7C797E

Preview Lab

Preview with #481978

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

Preview Lab → · Contrast checker → · Palette generator →

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