#481C81#481C81

#481C81 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.5% C 0.157 H 297.5°. Best body text is #FFFFFF at 11.94:1 contrast (WCAG AA passes).

Color values

HEX#481C81
RGBrgb(72, 28, 129)
HSLhsl(266, 64%, 31%)
HSVhsv(266, 78%, 51%)
CMYKcmyk(44.2%, 78.3%, 0%, 49.4%)
CIE-LABlab(22.98, 42.08, -48.58)
CIE-LCHlch(22.98, 64.27, 310.89°)
OKLaboklab(35.5% 0.0723 -0.139)
OKLCHoklch(35.5% 0.157 297.5)
XYZxyz(7.0492, 3.7931, 21.1254)
Luminance0.0379 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481C81 #55811C
analogous
#1C2281 #481C81 #7A1C81
triadic
#481C81 #81481C #1C8148
tetradic
#481C81 #811C22 #55811C #1C817A
square
#481C81 #811C22 #55811C #1C817A
split-complementary
#481C81 #817A1C #22811C
monochromatic
#10061C #2C114F #481C81 #6427B3 #8242D6

Accessibility & contrast

On white

11.94
#481C81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#481C81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #481C81
11.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481C81#FFFFFF#000000##FFFFFF
##481C811.0011.941.7611.94
#FFFFFF11.941.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003784
Deuteranopia (green-blind)
#00367F
Tritanopia (blue-blind)
#39374D
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #481c81;
/* rgb */ color: rgb(72, 28, 129);
/* oklch */ color: oklch(35.5% 0.157 297.5);
Tailwind
colors: {
  custom: {
    50: '#815da6',
    500: '#481c81',
    950: '#000000',
  },
}
SCSS
$custom: #481c81;
$custom-light: #815da6;
$custom-dark: #000000;
JSON
{
  "hex": "#481c81",
  "rgb": {
    "r": 72,
    "g": 28,
    "b": 129
  },
  "hsl": {
    "h": 266.139,
    "s": 64.331,
    "l": 30.784
  },
  "oklch": {
    "l": 0.35501,
    "c": 0.15673,
    "h": 297.5
  },
  "luminance": 0.03793
}

Semantic roles & 50–950 ramp

primary
#481C81
secondary
#84B444
accent
#E7409F
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #481C81

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

Preview Lab → · Contrast checker → · Palette generator →

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