#481D82#481D82

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

Color values

HEX#481D82
RGBrgb(72, 29, 130)
HSLhsl(266, 64%, 31%)
HSVhsv(266, 78%, 51%)
CMYKcmyk(44.6%, 77.7%, 0%, 49%)
CIE-LABlab(23.23, 41.88, -48.80)
CIE-LCHlch(23.23, 64.30, 310.63°)
OKLaboklab(35.71% 0.0711 -0.1397)
OKLCHoklch(35.71% 0.157 297)
XYZxyz(7.1401, 3.8680, 21.4852)
Luminance0.0387 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481D82 #57821D
analogous
#1D2482 #481D82 #7A1D82
triadic
#481D82 #82481D #1D8248
tetradic
#481D82 #821D24 #57821D #1D827A
square
#481D82 #821D24 #57821D #1D827A
split-complementary
#481D82 #827A1D #24821D
monochromatic
#11071E #2C1250 #481D82 #6428B4 #8244D5

Accessibility & contrast

On white

11.84
#481D82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#481D82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #481D82
11.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481D82#FFFFFF#000000##FFFFFF
##481D821.0011.841.7711.84
#FFFFFF11.841.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003885
Deuteranopia (green-blind)
#003680
Tritanopia (blue-blind)
#39384E
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #481d82;
/* rgb */ color: rgb(72, 29, 130);
/* oklch */ color: oklch(35.7% 0.157 297.0);
Tailwind
colors: {
  custom: {
    50: '#815ea7',
    500: '#481d82',
    950: '#000000',
  },
}
SCSS
$custom: #481d82;
$custom-light: #815ea7;
$custom-dark: #000000;
JSON
{
  "hex": "#481d82",
  "rgb": {
    "r": 72,
    "g": 29,
    "b": 130
  },
  "hsl": {
    "h": 265.545,
    "s": 63.522,
    "l": 31.176
  },
  "oklch": {
    "l": 0.35708,
    "c": 0.15675,
    "h": 297
  },
  "luminance": 0.03868
}

Semantic roles & 50–950 ramp

primary
#481D82
secondary
#86B546
accent
#E741A0
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #481D82

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

Preview Lab → · Contrast checker → · Palette generator →

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