#481979#481979

#481979 is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.4% C 0.151 H 300.7°. Best body text is #FFFFFF at 12.42:1 contrast (WCAG AA passes).

Color values

HEX#481979
RGBrgb(72, 25, 121)
HSLhsl(269, 66%, 29%)
HSVhsv(269, 79%, 47%)
CMYKcmyk(40.5%, 79.3%, 0%, 52.5%)
CIE-LABlab(21.78, 41.34, -45.47)
CIE-LCHlch(21.78, 61.45, 312.28°)
OKLaboklab(34.44% 0.0773 -0.1299)
OKLCHoklch(34.44% 0.151 300.7)
XYZxyz(6.4705, 3.4534, 18.4111)
Luminance0.0345 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481979 #4A7919
analogous
#191A79 #481979 #781979
triadic
#481979 #794819 #197948
tetradic
#481979 #79191A #4A7919 #197978
square
#481979 #79191A #4A7919 #197978
split-complementary
#481979 #797819 #1A7919
monochromatic
#0F0519 #2A0F46 #481979 #6623AC #8537D6

Accessibility & contrast

On white

12.42
#481979 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #481979
12.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481979#FFFFFF#000000##FFFFFF
##4819791.0012.421.6912.42
#FFFFFF12.421.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00347C
Deuteranopia (green-blind)
#003477
Tritanopia (blue-blind)
#3D3248
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #481979;
/* rgb */ color: rgb(72, 25, 121);
/* oklch */ color: oklch(34.4% 0.151 300.7);
Tailwind
colors: {
  custom: {
    50: '#805ba1',
    500: '#481979',
    950: '#000000',
  },
}
SCSS
$custom: #481979;
$custom-light: #805ba1;
$custom-dark: #000000;
JSON
{
  "hex": "#481979",
  "rgb": {
    "r": 72,
    "g": 25,
    "b": 121
  },
  "hsl": {
    "h": 269.375,
    "s": 65.753,
    "l": 28.627
  },
  "oklch": {
    "l": 0.34436,
    "c": 0.15111,
    "h": 300.7
  },
  "luminance": 0.03453
}

Semantic roles & 50–950 ramp

primary
#481979
secondary
#78AE40
accent
#E93F96
background
#F8F5FA
surface
#EFE9F3
border
#CAC5CD
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #481979

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

Preview Lab → · Contrast checker → · Palette generator →

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