#481F96#481F96

#481F96 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.8% C 0.177 H 291.0°. Best body text is #FFFFFF at 10.98:1 contrast (WCAG AA passes).

Color values

HEX#481F96
RGBrgb(72, 31, 150)
HSLhsl(261, 66%, 35%)
HSVhsv(261, 79%, 59%)
CMYKcmyk(52%, 79.3%, 0%, 41.2%)
CIE-LABlab(25.44, 46.42, -57.63)
CIE-LCHlch(25.44, 74.00, 308.85°)
OKLaboklab(37.83% 0.0636 -0.1656)
OKLCHoklch(37.83% 0.177 291)
XYZxyz(8.6659, 4.5593, 29.2717)
Luminance0.0456 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481F96 #6D961F
analogous
#1F3296 #481F96 #831F96
triadic
#481F96 #96481F #1F9648
tetradic
#481F96 #961F32 #6D961F #1F9683
square
#481F96 #961F32 #6D961F #1F9683
split-complementary
#481F96 #96831F #32961F
monochromatic
#170A31 #301563 #481F96 #6029C9 #8354DC

Accessibility & contrast

On white

10.98
#481F96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#481F96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #481F96
10.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481F96#FFFFFF#000000##FFFFFF
##481F961.0010.981.9110.98
#FFFFFF10.981.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E99
Deuteranopia (green-blind)
#003A94
Tritanopia (blue-blind)
#2D415A
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #481f96;
/* rgb */ color: rgb(72, 31, 150);
/* oklch */ color: oklch(37.8% 0.177 291.0);
Tailwind
colors: {
  custom: {
    50: '#8460b6',
    500: '#481f96',
    950: '#000000',
  },
}
SCSS
$custom: #481f96;
$custom-light: #8460b6;
$custom-dark: #000000;
JSON
{
  "hex": "#481f96",
  "rgb": {
    "r": 72,
    "g": 31,
    "b": 150
  },
  "hsl": {
    "h": 260.672,
    "s": 65.746,
    "l": 35.49
  },
  "oklch": {
    "l": 0.37831,
    "c": 0.1774,
    "h": 291
  },
  "luminance": 0.0456
}

Semantic roles & 50–950 ramp

primary
#481F96
secondary
#99BF52
accent
#E93FAE
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #481F96

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

Preview Lab → · Contrast checker → · Palette generator →

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