#481F86#481F86

#481F86 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.3% C 0.159 H 295.4°. Best body text is #FFFFFF at 11.57:1 contrast (WCAG AA passes).

Color values

HEX#481F86
RGBrgb(72, 31, 134)
HSLhsl(264, 62%, 32%)
HSVhsv(264, 77%, 53%)
CMYKcmyk(46.3%, 76.9%, 0%, 47.5%)
CIE-LABlab(23.93, 42.01, -50.17)
CIE-LCHlch(23.93, 65.43, 309.94°)
OKLaboklab(36.31% 0.0683 -0.1437)
OKLCHoklch(36.31% 0.159 295.4)
XYZxyz(7.4644, 4.0787, 22.9436)
Luminance0.0408 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481F86 #5D861F
analogous
#1F2A86 #481F86 #7B1F86
triadic
#481F86 #86481F #1F8648
tetradic
#481F86 #861F2A #5D861F #1F867B
square
#481F86 #861F2A #5D861F #1F867B
split-complementary
#481F86 #867B1F #2A861F
monochromatic
#130823 #2D1454 #481F86 #632AB8 #824AD5

Accessibility & contrast

On white

11.57
#481F86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#481F86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #481F86
11.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481F86#FFFFFF#000000##FFFFFF
##481F861.0011.571.8211.57
#FFFFFF11.571.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A89
Deuteranopia (green-blind)
#003784
Tritanopia (blue-blind)
#373A51
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #481f86;
/* rgb */ color: rgb(72, 31, 134);
/* oklch */ color: oklch(36.3% 0.159 295.4);
Tailwind
colors: {
  custom: {
    50: '#825faa',
    500: '#481f86',
    950: '#000000',
  },
}
SCSS
$custom: #481f86;
$custom-light: #825faa;
$custom-dark: #000000;
JSON
{
  "hex": "#481f86",
  "rgb": {
    "r": 72,
    "g": 31,
    "b": 134
  },
  "hsl": {
    "h": 263.883,
    "s": 62.424,
    "l": 32.353
  },
  "oklch": {
    "l": 0.36312,
    "c": 0.1591,
    "h": 295.4
  },
  "luminance": 0.04079
}

Semantic roles & 50–950 ramp

primary
#481F86
secondary
#8CB849
accent
#E542A5
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #481F86

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

Preview Lab → · Contrast checker → · Palette generator →

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