#481E82#481E82

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

Color values

HEX#481E82
RGBrgb(72, 30, 130)
HSLhsl(265, 63%, 31%)
HSVhsv(265, 77%, 51%)
CMYKcmyk(44.6%, 76.9%, 0%, 49%)
CIE-LABlab(23.40, 41.40, -48.52)
CIE-LCHlch(23.40, 63.78, 310.47°)
OKLaboklab(35.83% 0.0702 -0.1389)
OKLCHoklch(35.83% 0.156 296.8)
XYZxyz(7.1650, 3.9178, 21.4935)
Luminance0.0392 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481E82 #58821E
analogous
#1E2682 #481E82 #7A1E82
triadic
#481E82 #82481E #1E8248
tetradic
#481E82 #821E26 #58821E #1E827A
square
#481E82 #821E26 #58821E #1E827A
split-complementary
#481E82 #827A1E #26821E
monochromatic
#11071F #2C1350 #481E82 #6429B4 #8246D4

Accessibility & contrast

On white

11.77
#481E82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#481E82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #481E82
11.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481E82#FFFFFF#000000##FFFFFF
##481E821.0011.771.7811.77
#FFFFFF11.771.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003885
Deuteranopia (green-blind)
#003680
Tritanopia (blue-blind)
#39384E
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #481e82;
/* rgb */ color: rgb(72, 30, 130);
/* oklch */ color: oklch(35.8% 0.156 296.8);
Tailwind
colors: {
  custom: {
    50: '#815ea7',
    500: '#481e82',
    950: '#000000',
  },
}
SCSS
$custom: #481e82;
$custom-light: #815ea7;
$custom-dark: #000000;
JSON
{
  "hex": "#481e82",
  "rgb": {
    "r": 72,
    "g": 30,
    "b": 130
  },
  "hsl": {
    "h": 265.2,
    "s": 62.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.35825,
    "c": 0.15563,
    "h": 296.8
  },
  "luminance": 0.03918
}

Semantic roles & 50–950 ramp

primary
#481E82
secondary
#87B547
accent
#E642A1
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #481E82

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

Preview Lab → · Contrast checker → · Palette generator →

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