#481E88#481E88

#481E88 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.4% C 0.163 H 295.0°. Best body text is #FFFFFF at 11.56:1 contrast (WCAG AA passes).

Color values

HEX#481E88
RGBrgb(72, 30, 136)
HSLhsl(264, 64%, 33%)
HSVhsv(264, 78%, 53%)
CMYKcmyk(47.1%, 77.9%, 0%, 46.7%)
CIE-LABlab(23.95, 43.03, -51.40)
CIE-LCHlch(23.95, 67.03, 309.94°)
OKLaboklab(36.38% 0.0686 -0.1473)
OKLCHoklch(36.38% 0.163 295)
XYZxyz(7.5795, 4.0836, 23.6767)
Luminance0.0408 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481E88 #5E881E
analogous
#1E2988 #481E88 #7D1E88
triadic
#481E88 #88481E #1E8848
tetradic
#481E88 #881E29 #5E881E #1E887D
square
#481E88 #881E29 #5E881E #1E887D
split-complementary
#481E88 #887D1E #29881E
monochromatic
#130824 #2D1356 #481E88 #6329BA #8249D7

Accessibility & contrast

On white

11.56
#481E88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#481E88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #481E88
11.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481E88#FFFFFF#000000##FFFFFF
##481E881.0011.561.8211.56
#FFFFFF11.561.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A8B
Deuteranopia (green-blind)
#003786
Tritanopia (blue-blind)
#363B52
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #481e88;
/* rgb */ color: rgb(72, 30, 136);
/* oklch */ color: oklch(36.4% 0.163 295.0);
Tailwind
colors: {
  custom: {
    50: '#825fac',
    500: '#481e88',
    950: '#000000',
  },
}
SCSS
$custom: #481e88;
$custom-light: #825fac;
$custom-dark: #000000;
JSON
{
  "hex": "#481e88",
  "rgb": {
    "r": 72,
    "g": 30,
    "b": 136
  },
  "hsl": {
    "h": 263.774,
    "s": 63.855,
    "l": 32.549
  },
  "oklch": {
    "l": 0.36379,
    "c": 0.1625,
    "h": 295
  },
  "luminance": 0.04084
}

Semantic roles & 50–950 ramp

primary
#481E88
secondary
#8DB949
accent
#E741A5
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #481E88

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

Preview Lab → · Contrast checker → · Palette generator →

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