#481E8B#481E8B

#481E8B is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.7% C 0.166 H 294.1°. Best body text is #FFFFFF at 11.45:1 contrast (WCAG AA passes).

Color values

HEX#481E8B
RGBrgb(72, 30, 139)
HSLhsl(263, 64%, 33%)
HSVhsv(263, 78%, 55%)
CMYKcmyk(48.2%, 78.4%, 0%, 45.5%)
CIE-LABlab(24.23, 43.85, -52.81)
CIE-LCHlch(24.23, 68.64, 309.71°)
OKLaboklab(36.66% 0.0678 -0.1515)
OKLCHoklch(36.66% 0.166 294.1)
XYZxyz(7.7957, 4.1701, 24.8153)
Luminance0.0417 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481E8B #618B1E
analogous
#1E2B8B #481E8B #7E1E8B
triadic
#481E8B #8B481E #1E8B48
tetradic
#481E8B #8B1E2B #618B1E #1E8B7E
square
#481E8B #8B1E2B #618B1E #1E8B7E
split-complementary
#481E8B #8B7E1E #2B8B1E
monochromatic
#140826 #2E1359 #481E8B #6229BD #824BD8

Accessibility & contrast

On white

11.45
#481E8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#481E8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #481E8B
11.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481E8B#FFFFFF#000000##FFFFFF
##481E8B1.0011.451.8311.45
#FFFFFF11.451.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B8E
Deuteranopia (green-blind)
#003889
Tritanopia (blue-blind)
#343C54
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #481e8b;
/* rgb */ color: rgb(72, 30, 139);
/* oklch */ color: oklch(36.7% 0.166 294.1);
Tailwind
colors: {
  custom: {
    50: '#825fae',
    500: '#481e8b',
    950: '#000000',
  },
}
SCSS
$custom: #481e8b;
$custom-light: #825fae;
$custom-dark: #000000;
JSON
{
  "hex": "#481e8b",
  "rgb": {
    "r": 72,
    "g": 30,
    "b": 139
  },
  "hsl": {
    "h": 263.119,
    "s": 64.497,
    "l": 33.137
  },
  "oklch": {
    "l": 0.36661,
    "c": 0.16592,
    "h": 294.1
  },
  "luminance": 0.0417
}

Semantic roles & 50–950 ramp

primary
#481E8B
secondary
#8FBB4A
accent
#E740A7
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #481E8B

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

Preview Lab → · Contrast checker → · Palette generator →

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