#481C84#481C84

#481C84 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.8% C 0.160 H 296.5°. Best body text is #FFFFFF at 11.83:1 contrast (WCAG AA passes).

Color values

HEX#481C84
RGBrgb(72, 28, 132)
HSLhsl(265, 65%, 31%)
HSVhsv(265, 79%, 52%)
CMYKcmyk(45.5%, 78.8%, 0%, 48.2%)
CIE-LABlab(23.25, 42.88, -50.02)
CIE-LCHlch(23.25, 65.89, 310.60°)
OKLaboklab(35.78% 0.0715 -0.1433)
OKLCHoklch(35.78% 0.16 296.5)
XYZxyz(7.2515, 3.8740, 22.1910)
Luminance0.0387 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481C84 #58841C
analogous
#1C2484 #481C84 #7C1C84
triadic
#481C84 #84481C #1C8448
tetradic
#481C84 #841C24 #58841C #1C847C
square
#481C84 #841C24 #58841C #1C847C
split-complementary
#481C84 #847C1C #24841C
monochromatic
#11071F #2C1152 #481C84 #6427B6 #8243D7

Accessibility & contrast

On white

11.83
#481C84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#481C84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #481C84
11.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481C84#FFFFFF#000000##FFFFFF
##481C841.0011.831.7711.83
#FFFFFF11.831.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003887
Deuteranopia (green-blind)
#003682
Tritanopia (blue-blind)
#38384F
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #481c84;
/* rgb */ color: rgb(72, 28, 132);
/* oklch */ color: oklch(35.8% 0.160 296.5);
Tailwind
colors: {
  custom: {
    50: '#815da9',
    500: '#481c84',
    950: '#000000',
  },
}
SCSS
$custom: #481c84;
$custom-light: #815da9;
$custom-dark: #000000;
JSON
{
  "hex": "#481c84",
  "rgb": {
    "r": 72,
    "g": 28,
    "b": 132
  },
  "hsl": {
    "h": 265.385,
    "s": 65,
    "l": 31.373
  },
  "oklch": {
    "l": 0.35778,
    "c": 0.16011,
    "h": 296.5
  },
  "luminance": 0.03874
}

Semantic roles & 50–950 ramp

primary
#481C84
secondary
#87B745
accent
#E840A1
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B0410
muted
#7C797F

Preview Lab

Preview with #481C84

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

Preview Lab → · Contrast checker → · Palette generator →

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