#481C87#481C87

#481C87 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.1% C 0.163 H 295.6°. Best body text is #FFFFFF at 11.72:1 contrast (WCAG AA passes).

Color values

HEX#481C87
RGBrgb(72, 28, 135)
HSLhsl(265, 66%, 32%)
HSVhsv(265, 79%, 53%)
CMYKcmyk(46.7%, 79.3%, 0%, 47.1%)
CIE-LABlab(23.53, 43.69, -51.45)
CIE-LCHlch(23.53, 67.50, 310.33°)
OKLaboklab(36.06% 0.0706 -0.1475)
OKLCHoklch(36.06% 0.163 295.6)
XYZxyz(7.4597, 3.9573, 23.2878)
Luminance0.0396 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481C87 #5B871C
analogous
#1C2687 #481C87 #7E1C87
triadic
#481C87 #87481C #1C8748
tetradic
#481C87 #871C26 #5B871C #1C877E
square
#481C87 #871C26 #5B871C #1C877E
split-complementary
#481C87 #877E1C #26871C
monochromatic
#120722 #2D1154 #481C87 #6327BA #8245D8

Accessibility & contrast

On white

11.72
#481C87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#481C87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #481C87
11.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481C87#FFFFFF#000000##FFFFFF
##481C871.0011.721.7911.72
#FFFFFF11.721.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00398A
Deuteranopia (green-blind)
#003685
Tritanopia (blue-blind)
#363951
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #481c87;
/* rgb */ color: rgb(72, 28, 135);
/* oklch */ color: oklch(36.1% 0.163 295.6);
Tailwind
colors: {
  custom: {
    50: '#825eab',
    500: '#481c87',
    950: '#000000',
  },
}
SCSS
$custom: #481c87;
$custom-light: #825eab;
$custom-dark: #000000;
JSON
{
  "hex": "#481c87",
  "rgb": {
    "r": 72,
    "g": 28,
    "b": 135
  },
  "hsl": {
    "h": 264.673,
    "s": 65.644,
    "l": 31.961
  },
  "oklch": {
    "l": 0.36059,
    "c": 0.16349,
    "h": 295.6
  },
  "luminance": 0.03957
}

Semantic roles & 50–950 ramp

primary
#481C87
secondary
#8ABA45
accent
#E93FA3
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #481C87

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

Preview Lab → · Contrast checker → · Palette generator →

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