#481C96#481C96

#481C96 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.5% C 0.180 H 291.4°. Best body text is #FFFFFF at 11.16:1 contrast (WCAG AA passes).

Color values

HEX#481C96
RGBrgb(72, 28, 150)
HSLhsl(262, 69%, 35%)
HSVhsv(262, 81%, 59%)
CMYKcmyk(52%, 81.3%, 0%, 41.2%)
CIE-LABlab(24.98, 47.74, -58.38)
CIE-LCHlch(24.98, 75.42, 309.27°)
OKLaboklab(37.51% 0.0658 -0.1678)
OKLCHoklch(37.51% 0.18 291.4)
XYZxyz(8.5912, 4.4099, 29.2468)
Luminance0.0441 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481C96 #6A961C
analogous
#1C2D96 #481C96 #851C96
triadic
#481C96 #96481C #1C9648
tetradic
#481C96 #961C2D #6A961C #1C9685
square
#481C96 #961C2D #6A961C #1C9685
split-complementary
#481C96 #96851C #2D961C
monochromatic
#16092F #2F1262 #481C96 #6126CA #824EDE

Accessibility & contrast

On white

11.16
#481C96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#481C96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #481C96
11.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481C96#FFFFFF#000000##FFFFFF
##481C961.0011.161.8811.16
#FFFFFF11.161.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D99
Deuteranopia (green-blind)
#003994
Tritanopia (blue-blind)
#2D4059
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #481c96;
/* rgb */ color: rgb(72, 28, 150);
/* oklch */ color: oklch(37.5% 0.180 291.4);
Tailwind
colors: {
  custom: {
    50: '#845fb6',
    500: '#481c96',
    950: '#000000',
  },
}
SCSS
$custom: #481c96;
$custom-light: #845fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#481c96",
  "rgb": {
    "r": 72,
    "g": 28,
    "b": 150
  },
  "hsl": {
    "h": 261.639,
    "s": 68.539,
    "l": 34.902
  },
  "oklch": {
    "l": 0.37512,
    "c": 0.18022,
    "h": 291.4
  },
  "luminance": 0.0441
}

Semantic roles & 50–950 ramp

primary
#481C96
secondary
#97C14D
accent
#EB3CAC
background
#F8F5FB
surface
#F0E9F6
border
#CBC5D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #481C96

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

Preview Lab → · Contrast checker → · Palette generator →

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