#481E7E#481E7E

#481E7E is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.5% C 0.151 H 298.1°. Best body text is #FFFFFF at 11.91:1 contrast (WCAG AA passes).

Color values

HEX#481E7E
RGBrgb(72, 30, 126)
HSLhsl(266, 62%, 31%)
HSVhsv(266, 76%, 49%)
CMYKcmyk(42.9%, 76.2%, 0%, 50.6%)
CIE-LABlab(23.04, 40.31, -46.58)
CIE-LCHlch(23.04, 61.60, 310.88°)
OKLaboklab(35.46% 0.0712 -0.1332)
OKLCHoklch(35.46% 0.151 298.1)
XYZxyz(6.9017, 3.8125, 20.1069)
Luminance0.0381 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481E7E #547E1E
analogous
#1E247E #481E7E #781E7E
triadic
#481E7E #7E481E #1E7E48
tetradic
#481E7E #7E1E24 #547E1E #1E7E78
square
#481E7E #7E1E24 #547E1E #1E7E78
split-complementary
#481E7E #7E781E #247E1E
monochromatic
#10061B #2C124D #481E7E #642AAF #8244D2

Accessibility & contrast

On white

11.91
#481E7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#481E7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #481E7E
11.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481E7E#FFFFFF#000000##FFFFFF
##481E7E1.0011.911.7611.91
#FFFFFF11.911.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003781
Deuteranopia (green-blind)
#00367C
Tritanopia (blue-blind)
#3B374C
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #481e7e;
/* rgb */ color: rgb(72, 30, 126);
/* oklch */ color: oklch(35.5% 0.151 298.1);
Tailwind
colors: {
  custom: {
    50: '#815ea4',
    500: '#481e7e',
    950: '#000000',
  },
}
SCSS
$custom: #481e7e;
$custom-light: #815ea4;
$custom-dark: #000000;
JSON
{
  "hex": "#481e7e",
  "rgb": {
    "r": 72,
    "g": 30,
    "b": 126
  },
  "hsl": {
    "h": 266.25,
    "s": 61.538,
    "l": 30.588
  },
  "oklch": {
    "l": 0.35464,
    "c": 0.15102,
    "h": 298.1
  },
  "luminance": 0.03813
}

Semantic roles & 50–950 ramp

primary
#481E7E
secondary
#83B147
accent
#E5439E
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B050F
muted
#7C797F

Preview Lab

Preview with #481E7E

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

Preview Lab → · Contrast checker → · Palette generator →

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