#481F82#481F82

#481F82 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 35.9% C 0.154 H 296.6°. Best body text is #FFFFFF at 11.71:1 contrast (WCAG AA passes).

Color values

HEX#481F82
RGBrgb(72, 31, 130)
HSLhsl(265, 61%, 32%)
HSVhsv(265, 76%, 51%)
CMYKcmyk(44.6%, 76.2%, 0%, 49%)
CIE-LABlab(23.57, 40.91, -48.24)
CIE-LCHlch(23.57, 63.26, 310.30°)
OKLaboklab(35.95% 0.0693 -0.1381)
OKLCHoklch(35.95% 0.154 296.6)
XYZxyz(7.1907, 3.9692, 21.5021)
Luminance0.0397 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481F82 #59821F
analogous
#1F2882 #481F82 #7A1F82
triadic
#481F82 #82481F #1F8248
tetradic
#481F82 #821F28 #59821F #1F827A
square
#481F82 #821F28 #59821F #1F827A
split-complementary
#481F82 #827A1F #28821F
monochromatic
#11071F #2D1351 #481F82 #632BB3 #8248D3

Accessibility & contrast

On white

11.71
#481F82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#481F82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #481F82
11.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481F82#FFFFFF#000000##FFFFFF
##481F821.0011.711.7911.71
#FFFFFF11.711.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003985
Deuteranopia (green-blind)
#003780
Tritanopia (blue-blind)
#39394F
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #481f82;
/* rgb */ color: rgb(72, 31, 130);
/* oklch */ color: oklch(35.9% 0.154 296.6);
Tailwind
colors: {
  custom: {
    50: '#815fa7',
    500: '#481f82',
    950: '#000000',
  },
}
SCSS
$custom: #481f82;
$custom-light: #815fa7;
$custom-dark: #000000;
JSON
{
  "hex": "#481f82",
  "rgb": {
    "r": 72,
    "g": 31,
    "b": 130
  },
  "hsl": {
    "h": 264.848,
    "s": 61.491,
    "l": 31.569
  },
  "oklch": {
    "l": 0.35946,
    "c": 0.15447,
    "h": 296.6
  },
  "luminance": 0.03969
}

Semantic roles & 50–950 ramp

primary
#481F82
secondary
#88B548
accent
#E543A2
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #481F82

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

Preview Lab → · Contrast checker → · Palette generator →

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