#481E96#481E96

#481E96 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.7% C 0.178 H 291.2°. Best body text is #FFFFFF at 11.04:1 contrast (WCAG AA passes).

Color values

HEX#481E96
RGBrgb(72, 30, 150)
HSLhsl(261, 67%, 35%)
HSVhsv(261, 80%, 59%)
CMYKcmyk(52%, 80%, 0%, 41.2%)
CIE-LABlab(25.28, 46.87, -57.89)
CIE-LCHlch(25.28, 74.48, 309.00°)
OKLaboklab(37.72% 0.0644 -0.1663)
OKLCHoklch(37.72% 0.178 291.2)
XYZxyz(8.6402, 4.5079, 29.2631)
Luminance0.0451 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481E96 #6C961E
analogous
#1E3096 #481E96 #841E96
triadic
#481E96 #96481E #1E9648
tetradic
#481E96 #961E30 #6C961E #1E9684
square
#481E96 #961E30 #6C961E #1E9684
split-complementary
#481E96 #96841E #30961E
monochromatic
#170A30 #301463 #481E96 #6028C9 #8252DC

Accessibility & contrast

On white

11.04
#481E96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#481E96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #481E96
11.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481E96#FFFFFF#000000##FFFFFF
##481E961.0011.041.9011.04
#FFFFFF11.041.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.041.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #481e96;
/* rgb */ color: rgb(72, 30, 150);
/* oklch */ color: oklch(37.7% 0.178 291.2);
Tailwind
colors: {
  custom: {
    50: '#8460b6',
    500: '#481e96',
    950: '#000000',
  },
}
SCSS
$custom: #481e96;
$custom-light: #8460b6;
$custom-dark: #000000;
JSON
{
  "hex": "#481e96",
  "rgb": {
    "r": 72,
    "g": 30,
    "b": 150
  },
  "hsl": {
    "h": 261,
    "s": 66.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.37722,
    "c": 0.17837,
    "h": 291.2
  },
  "luminance": 0.04508
}

Semantic roles & 50–950 ramp

primary
#481E96
secondary
#99BF50
accent
#EA3EAE
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #481E96

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

Preview Lab → · Contrast checker → · Palette generator →

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