#481A77#481A77

#481A77 is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.4% C 0.148 H 301.3°. Best body text is #FFFFFF at 12.43:1 contrast (WCAG AA passes).

Color values

HEX#481A77
RGBrgb(72, 26, 119)
HSLhsl(270, 64%, 28%)
HSVhsv(270, 78%, 47%)
CMYKcmyk(39.5%, 78.2%, 0%, 53.3%)
CIE-LABlab(21.76, 40.36, -44.22)
CIE-LCHlch(21.76, 59.87, 312.39°)
OKLaboklab(34.37% 0.0768 -0.1262)
OKLCHoklch(34.37% 0.148 301.3)
XYZxyz(6.3708, 3.4484, 17.7791)
Luminance0.0345 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481A77 #49771A
analogous
#1A1B77 #481A77 #761A77
triadic
#481A77 #77481A #1A7748
tetradic
#481A77 #771A1B #49771A #1A7776
square
#481A77 #771A1B #49771A #1A7776
split-complementary
#481A77 #77761A #1B771A
monochromatic
#0F0519 #2A0F45 #481A77 #6625A9 #8538D3

Accessibility & contrast

On white

12.43
#481A77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#481A77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #481A77
12.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481A77#FFFFFF#000000##FFFFFF
##481A771.0012.431.6912.43
#FFFFFF12.431.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00347A
Deuteranopia (green-blind)
#003475
Tritanopia (blue-blind)
#3E3247
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #481a77;
/* rgb */ color: rgb(72, 26, 119);
/* oklch */ color: oklch(34.4% 0.148 301.3);
Tailwind
colors: {
  custom: {
    50: '#805c9f',
    500: '#481a77',
    950: '#000000',
  },
}
SCSS
$custom: #481a77;
$custom-light: #805c9f;
$custom-dark: #000000;
JSON
{
  "hex": "#481a77",
  "rgb": {
    "r": 72,
    "g": 26,
    "b": 119
  },
  "hsl": {
    "h": 269.677,
    "s": 64.138,
    "l": 28.431
  },
  "oklch": {
    "l": 0.34368,
    "c": 0.14776,
    "h": 301.3
  },
  "luminance": 0.03448
}

Semantic roles & 50–950 ramp

primary
#481A77
secondary
#77AC41
accent
#E74195
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040F
muted
#7C797E

Preview Lab

Preview with #481A77

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

Preview Lab → · Contrast checker → · Palette generator →

#481A77 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva