#481877#481877

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

Color values

HEX#481877
RGBrgb(72, 24, 119)
HSLhsl(270, 66%, 28%)
HSVhsv(270, 80%, 47%)
CMYKcmyk(39.5%, 79.8%, 0%, 53.3%)
CIE-LABlab(21.44, 41.26, -44.73)
CIE-LCHlch(21.44, 60.85, 312.69°)
OKLaboklab(34.15% 0.0787 -0.1277)
OKLCHoklch(34.15% 0.15 301.6)
XYZxyz(6.3281, 3.3629, 17.7649)
Luminance0.0336 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481877 #477718
analogous
#181877 #481877 #771876
triadic
#481877 #774818 #187748
tetradic
#481877 #771818 #477718 #187677
square
#481877 #771818 #477718 #187677
split-complementary
#481877 #767718 #187718
monochromatic
#0F0519 #290E44 #481877 #6722AA #8633D6

Accessibility & contrast

On white

12.56
#481877 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#481877 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #481877
12.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481877#FFFFFF#000000##FFFFFF
##4818771.0012.561.6712.56
#FFFFFF12.561.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.561.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #481877;
/* rgb */ color: rgb(72, 24, 119);
/* oklch */ color: oklch(34.1% 0.150 301.6);
Tailwind
colors: {
  custom: {
    50: '#805b9f',
    500: '#481877',
    950: '#000000',
  },
}
SCSS
$custom: #481877;
$custom-light: #805b9f;
$custom-dark: #000000;
JSON
{
  "hex": "#481877",
  "rgb": {
    "r": 72,
    "g": 24,
    "b": 119
  },
  "hsl": {
    "h": 270.316,
    "s": 66.434,
    "l": 28.039
  },
  "oklch": {
    "l": 0.34147,
    "c": 0.15001,
    "h": 301.6
  },
  "luminance": 0.03363
}

Semantic roles & 50–950 ramp

primary
#481877
secondary
#75AC3F
accent
#E93E93
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040F
muted
#7C797E

Preview Lab

Preview with #481877

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

Preview Lab → · Contrast checker → · Palette generator →

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