#481C82#481C82

#481C82 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.6% C 0.158 H 297.2°. Best body text is #FFFFFF at 11.90:1 contrast (WCAG AA passes).

Color values

HEX#481C82
RGBrgb(72, 28, 130)
HSLhsl(266, 65%, 31%)
HSVhsv(266, 78%, 51%)
CMYKcmyk(44.6%, 78.5%, 0%, 49%)
CIE-LABlab(23.07, 42.34, -49.07)
CIE-LCHlch(23.07, 64.81, 310.79°)
OKLaboklab(35.59% 0.0721 -0.1405)
OKLCHoklch(35.59% 0.158 297.2)
XYZxyz(7.1159, 3.8198, 21.4771)
Luminance0.0382 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481C82 #56821C
analogous
#1C2382 #481C82 #7B1C82
triadic
#481C82 #82481C #1C8248
tetradic
#481C82 #821C23 #56821C #1C827B
square
#481C82 #821C23 #56821C #1C827B
split-complementary
#481C82 #827B1C #23821C
monochromatic
#10061D #2C1150 #481C82 #6427B4 #8242D6

Accessibility & contrast

On white

11.90
#481C82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #481C82
11.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481C82#FFFFFF#000000##FFFFFF
##481C821.0011.901.7611.90
#FFFFFF11.901.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.901.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #481c82;
/* rgb */ color: rgb(72, 28, 130);
/* oklch */ color: oklch(35.6% 0.158 297.2);
Tailwind
colors: {
  custom: {
    50: '#815da7',
    500: '#481c82',
    950: '#000000',
  },
}
SCSS
$custom: #481c82;
$custom-light: #815da7;
$custom-dark: #000000;
JSON
{
  "hex": "#481c82",
  "rgb": {
    "r": 72,
    "g": 28,
    "b": 130
  },
  "hsl": {
    "h": 265.882,
    "s": 64.557,
    "l": 30.98
  },
  "oklch": {
    "l": 0.35593,
    "c": 0.15786,
    "h": 297.2
  },
  "luminance": 0.0382
}

Semantic roles & 50–950 ramp

primary
#481C82
secondary
#85B544
accent
#E8409F
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B0410
muted
#7C797F

Preview Lab

Preview with #481C82

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

Preview Lab → · Contrast checker → · Palette generator →

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