#481777#481777

#481777 is a dark, vivid violet. Relative luminance 0.033; OKLCH L 34.0% C 0.151 H 301.8°. Best body text is #FFFFFF at 12.62:1 contrast (WCAG AA passes).

Color values

HEX#481777
RGBrgb(72, 23, 119)
HSLhsl(271, 68%, 28%)
HSVhsv(271, 81%, 47%)
CMYKcmyk(39.5%, 80.7%, 0%, 53.3%)
CIE-LABlab(21.29, 41.70, -44.98)
CIE-LCHlch(21.29, 61.33, 312.83°)
OKLaboklab(34.04% 0.0796 -0.1284)
OKLCHoklch(34.04% 0.151 301.8)
XYZxyz(6.3078, 3.3224, 17.7581)
Luminance0.0332 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481777 #467717
analogous
#181777 #481777 #771776
triadic
#481777 #774817 #177748
tetradic
#481777 #771817 #467717 #177677
square
#481777 #771817 #467717 #177677
split-complementary
#481777 #767717 #177718
monochromatic
#10051A #290D44 #481777 #6721AA #8631D7

Accessibility & contrast

On white

12.62
#481777 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#481777 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #481777
12.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481777#FFFFFF#000000##FFFFFF
##4817771.0012.621.6612.62
#FFFFFF12.621.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00327A
Deuteranopia (green-blind)
#003375
Tritanopia (blue-blind)
#3E3047
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #481777;
/* rgb */ color: rgb(72, 23, 119);
/* oklch */ color: oklch(34.0% 0.151 301.8);
Tailwind
colors: {
  custom: {
    50: '#805a9f',
    500: '#481777',
    950: '#000000',
  },
}
SCSS
$custom: #481777;
$custom-light: #805a9f;
$custom-dark: #000000;
JSON
{
  "hex": "#481777",
  "rgb": {
    "r": 72,
    "g": 23,
    "b": 119
  },
  "hsl": {
    "h": 270.625,
    "s": 67.606,
    "l": 27.843
  },
  "oklch": {
    "l": 0.34041,
    "c": 0.15109,
    "h": 301.8
  },
  "luminance": 0.03322
}

Semantic roles & 50–950 ramp

primary
#481777
secondary
#74AC3E
accent
#EA3D92
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040F
muted
#7C797E

Preview Lab

Preview with #481777

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

Preview Lab → · Contrast checker → · Palette generator →

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