#481977#481977

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

Color values

HEX#481977
RGBrgb(72, 25, 119)
HSLhsl(270, 65%, 28%)
HSVhsv(270, 79%, 47%)
CMYKcmyk(39.5%, 79%, 0%, 53.3%)
CIE-LABlab(21.60, 40.82, -44.48)
CIE-LCHlch(21.60, 60.37, 312.54°)
OKLaboklab(34.26% 0.0778 -0.127)
OKLCHoklch(34.26% 0.149 301.5)
XYZxyz(6.3491, 3.4049, 17.7719)
Luminance0.0340 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481977 #487719
analogous
#191977 #481977 #771977
triadic
#481977 #774819 #197748
tetradic
#481977 #771919 #487719 #197777
square
#481977 #771919 #487719 #197777
split-complementary
#481977 #777719 #197719
monochromatic
#0F0519 #290E44 #481977 #6724AA #8536D5

Accessibility & contrast

On white

12.49
#481977 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#481977 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #481977
12.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481977#FFFFFF#000000##FFFFFF
##4819771.0012.491.6812.49
#FFFFFF12.491.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00337A
Deuteranopia (green-blind)
#003375
Tritanopia (blue-blind)
#3E3147
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #481977;
/* rgb */ color: rgb(72, 25, 119);
/* oklch */ color: oklch(34.3% 0.149 301.5);
Tailwind
colors: {
  custom: {
    50: '#805b9f',
    500: '#481977',
    950: '#000000',
  },
}
SCSS
$custom: #481977;
$custom-light: #805b9f;
$custom-dark: #000000;
JSON
{
  "hex": "#481977",
  "rgb": {
    "r": 72,
    "g": 25,
    "b": 119
  },
  "hsl": {
    "h": 270,
    "s": 65.278,
    "l": 28.235
  },
  "oklch": {
    "l": 0.34256,
    "c": 0.14889,
    "h": 301.5
  },
  "luminance": 0.03405
}

Semantic roles & 50–950 ramp

primary
#481977
secondary
#76AC40
accent
#E84094
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040F
muted
#7C797E

Preview Lab

Preview with #481977

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

Preview Lab → · Contrast checker → · Palette generator →

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