#481B86#481B86

#481B86 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.9% C 0.163 H 296.0°. Best body text is #FFFFFF at 11.82:1 contrast (WCAG AA passes).

Color values

HEX#481B86
RGBrgb(72, 27, 134)
HSLhsl(265, 66%, 32%)
HSVhsv(265, 80%, 53%)
CMYKcmyk(46.3%, 79.9%, 0%, 47.5%)
CIE-LABlab(23.28, 43.87, -51.23)
CIE-LCHlch(23.28, 67.45, 310.57°)
OKLaboklab(35.86% 0.0717 -0.1468)
OKLCHoklch(35.86% 0.163 296)
XYZxyz(7.3663, 3.8826, 22.9109)
Luminance0.0388 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481B86 #59861B
analogous
#1B2386 #481B86 #7E1B86
triadic
#481B86 #86481B #1B8648
tetradic
#481B86 #861B23 #59861B #1B867E
square
#481B86 #861B23 #59861B #1B867E
split-complementary
#481B86 #867E1B #23861B
monochromatic
#110620 #2D1153 #481B86 #6325B9 #8242D9

Accessibility & contrast

On white

11.82
#481B86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#481B86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #481B86
11.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481B86#FFFFFF#000000##FFFFFF
##481B861.0011.821.7811.82
#FFFFFF11.821.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003889
Deuteranopia (green-blind)
#003684
Tritanopia (blue-blind)
#373950
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #481b86;
/* rgb */ color: rgb(72, 27, 134);
/* oklch */ color: oklch(35.9% 0.163 296.0);
Tailwind
colors: {
  custom: {
    50: '#825daa',
    500: '#481b86',
    950: '#000000',
  },
}
SCSS
$custom: #481b86;
$custom-light: #825daa;
$custom-dark: #000000;
JSON
{
  "hex": "#481b86",
  "rgb": {
    "r": 72,
    "g": 27,
    "b": 134
  },
  "hsl": {
    "h": 265.234,
    "s": 66.46,
    "l": 31.569
  },
  "oklch": {
    "l": 0.35856,
    "c": 0.1634,
    "h": 296
  },
  "luminance": 0.03883
}

Semantic roles & 50–950 ramp

primary
#481B86
secondary
#88B944
accent
#E93EA1
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B0410
muted
#7C797F

Preview Lab

Preview with #481B86

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

Preview Lab → · Contrast checker → · Palette generator →

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