#481E81#481E81

#481E81 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.7% C 0.154 H 297.1°. Best body text is #FFFFFF at 11.81:1 contrast (WCAG AA passes).

Color values

HEX#481E81
RGBrgb(72, 30, 129)
HSLhsl(265, 62%, 31%)
HSVhsv(265, 77%, 51%)
CMYKcmyk(44.2%, 76.7%, 0%, 49.4%)
CIE-LABlab(23.31, 41.13, -48.04)
CIE-LCHlch(23.31, 63.24, 310.57°)
OKLaboklab(35.74% 0.0705 -0.1375)
OKLCHoklch(35.74% 0.154 297.1)
XYZxyz(7.0982, 3.8911, 21.1417)
Luminance0.0389 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481E81 #57811E
analogous
#1E2581 #481E81 #791E81
triadic
#481E81 #81481E #1E8148
tetradic
#481E81 #811E25 #57811E #1E8179
square
#481E81 #811E25 #57811E #1E8179
split-complementary
#481E81 #81791E #25811E
monochromatic
#11071E #2C124F #481E81 #642AB3 #8246D4

Accessibility & contrast

On white

11.81
#481E81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #481E81
11.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481E81#FFFFFF#000000##FFFFFF
##481E811.0011.811.7811.81
#FFFFFF11.811.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003884
Deuteranopia (green-blind)
#00367F
Tritanopia (blue-blind)
#39384E
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #481e81;
/* rgb */ color: rgb(72, 30, 129);
/* oklch */ color: oklch(35.7% 0.154 297.1);
Tailwind
colors: {
  custom: {
    50: '#815ea6',
    500: '#481e81',
    950: '#000000',
  },
}
SCSS
$custom: #481e81;
$custom-light: #815ea6;
$custom-dark: #000000;
JSON
{
  "hex": "#481e81",
  "rgb": {
    "r": 72,
    "g": 30,
    "b": 129
  },
  "hsl": {
    "h": 265.455,
    "s": 62.264,
    "l": 31.176
  },
  "oklch": {
    "l": 0.35735,
    "c": 0.15447,
    "h": 297.1
  },
  "luminance": 0.03891
}

Semantic roles & 50–950 ramp

primary
#481E81
secondary
#86B447
accent
#E542A0
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B050F
muted
#7C797F

Preview Lab

Preview with #481E81

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

Preview Lab → · Contrast checker → · Palette generator →

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