#481E8D#481E8D

#481E8D is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.9% C 0.168 H 293.5°. Best body text is #FFFFFF at 11.38:1 contrast (WCAG AA passes).

Color values

HEX#481E8D
RGBrgb(72, 30, 141)
HSLhsl(263, 65%, 34%)
HSVhsv(263, 79%, 55%)
CMYKcmyk(48.9%, 78.7%, 0%, 44.7%)
CIE-LABlab(24.41, 44.40, -53.75)
CIE-LCHlch(24.41, 69.71, 309.56°)
OKLaboklab(36.85% 0.0672 -0.1542)
OKLCHoklch(36.85% 0.168 293.5)
XYZxyz(7.9431, 4.2291, 25.5919)
Luminance0.0423 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481E8D #638D1E
analogous
#1E2B8D #481E8D #7F1E8D
triadic
#481E8D #8D481E #1E8D48
tetradic
#481E8D #8D1E2B #638D1E #1E8D7F
square
#481E8D #8D1E2B #638D1E #1E8D7F
split-complementary
#481E8D #8D7F1E #2B8D1E
monochromatic
#140928 #2E135B #481E8D #6229BF #824CD9

Accessibility & contrast

On white

11.38
#481E8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#481E8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #481E8D
11.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481E8D#FFFFFF#000000##FFFFFF
##481E8D1.0011.381.8511.38
#FFFFFF11.381.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B90
Deuteranopia (green-blind)
#00388B
Tritanopia (blue-blind)
#333D55
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #481e8d;
/* rgb */ color: rgb(72, 30, 141);
/* oklch */ color: oklch(36.9% 0.168 293.5);
Tailwind
colors: {
  custom: {
    50: '#835faf',
    500: '#481e8d',
    950: '#000000',
  },
}
SCSS
$custom: #481e8d;
$custom-light: #835faf;
$custom-dark: #000000;
JSON
{
  "hex": "#481e8d",
  "rgb": {
    "r": 72,
    "g": 30,
    "b": 141
  },
  "hsl": {
    "h": 262.703,
    "s": 64.912,
    "l": 33.529
  },
  "oklch": {
    "l": 0.36851,
    "c": 0.1682,
    "h": 293.5
  },
  "luminance": 0.04229
}

Semantic roles & 50–950 ramp

primary
#481E8D
secondary
#91BC4B
accent
#E840A8
background
#F8F5FA
surface
#F0E9F5
border
#CBC5CF
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #481E8D

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

Preview Lab → · Contrast checker → · Palette generator →

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