#481477#481477

#481477 is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.7% C 0.154 H 302.2°. Best body text is #FFFFFF at 12.79:1 contrast (WCAG AA passes).

Color values

HEX#481477
RGBrgb(72, 20, 119)
HSLhsl(272, 71%, 27%)
HSVhsv(272, 83%, 47%)
CMYKcmyk(39.5%, 83.2%, 0%, 53.3%)
CIE-LABlab(20.87, 42.93, -45.67)
CIE-LCHlch(20.87, 62.68, 313.23°)
OKLaboklab(33.74% 0.0822 -0.1304)
OKLCHoklch(33.74% 0.154 302.2)
XYZxyz(6.2516, 3.2099, 17.7394)
Luminance0.0321 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481477 #437714
analogous
#161477 #481477 #771475
triadic
#481477 #774814 #147748
tetradic
#481477 #771614 #437714 #147577
square
#481477 #771614 #437714 #147577
split-complementary
#481477 #757714 #147716
monochromatic
#10041A #280B43 #481477 #681DAB #872ADB

Accessibility & contrast

On white

12.79
#481477 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#481477 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #481477
12.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481477#FFFFFF#000000##FFFFFF
##4814771.0012.791.6412.79
#FFFFFF12.791.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00317A
Deuteranopia (green-blind)
#003275
Tritanopia (blue-blind)
#3E2F46
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #481477;
/* rgb */ color: rgb(72, 20, 119);
/* oklch */ color: oklch(33.7% 0.154 302.2);
Tailwind
colors: {
  custom: {
    50: '#80599f',
    500: '#481477',
    950: '#000000',
  },
}
SCSS
$custom: #481477;
$custom-light: #80599f;
$custom-dark: #000000;
JSON
{
  "hex": "#481477",
  "rgb": {
    "r": 72,
    "g": 20,
    "b": 119
  },
  "hsl": {
    "h": 271.515,
    "s": 71.223,
    "l": 27.255
  },
  "oklch": {
    "l": 0.33744,
    "c": 0.15416,
    "h": 302.2
  },
  "luminance": 0.0321
}

Semantic roles & 50–950 ramp

primary
#481477
secondary
#70AD3A
accent
#EE3A8F
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040F
muted
#7C797E

Preview Lab

Preview with #481477

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

Preview Lab → · Contrast checker → · Palette generator →

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