#481E97#481E97

#481E97 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.8% C 0.179 H 290.9°. Best body text is #FFFFFF at 11.01:1 contrast (WCAG AA passes).

Color values

HEX#481E97
RGBrgb(72, 30, 151)
HSLhsl(261, 67%, 35%)
HSVhsv(261, 80%, 59%)
CMYKcmyk(52.3%, 80.1%, 0%, 40.8%)
CIE-LABlab(25.38, 47.14, -58.34)
CIE-LCHlch(25.38, 75.01, 308.94°)
OKLaboklab(37.82% 0.0641 -0.1677)
OKLCHoklch(37.82% 0.179 290.9)
XYZxyz(8.7211, 4.5403, 29.6890)
Luminance0.0454 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481E97 #6D971E
analogous
#1E3197 #481E97 #841E97
triadic
#481E97 #97481E #1E9748
tetradic
#481E97 #971E31 #6D971E #1E9784
square
#481E97 #971E31 #6D971E #1E9784
split-complementary
#481E97 #97841E #31971E
monochromatic
#170A31 #301464 #481E97 #6028CA #8353DD

Accessibility & contrast

On white

11.01
#481E97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #481E97
11.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481E97#FFFFFF#000000##FFFFFF
##481E971.0011.011.9111.01
#FFFFFF11.011.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E9A
Deuteranopia (green-blind)
#003995
Tritanopia (blue-blind)
#2C415A
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #481e97;
/* rgb */ color: rgb(72, 30, 151);
/* oklch */ color: oklch(37.8% 0.179 290.9);
Tailwind
colors: {
  custom: {
    50: '#8460b7',
    500: '#481e97',
    950: '#000000',
  },
}
SCSS
$custom: #481e97;
$custom-light: #8460b7;
$custom-dark: #000000;
JSON
{
  "hex": "#481e97",
  "rgb": {
    "r": 72,
    "g": 30,
    "b": 151
  },
  "hsl": {
    "h": 260.826,
    "s": 66.851,
    "l": 35.49
  },
  "oklch": {
    "l": 0.3782,
    "c": 0.17948,
    "h": 290.9
  },
  "luminance": 0.04541
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #481E97

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

Preview Lab → · Contrast checker → · Palette generator →

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