#481B87#481B87

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

Color values

HEX#481B87
RGBrgb(72, 27, 135)
HSLhsl(265, 67%, 32%)
HSVhsv(265, 80%, 53%)
CMYKcmyk(46.7%, 80%, 0%, 47.1%)
CIE-LABlab(23.37, 44.14, -51.71)
CIE-LCHlch(23.37, 67.98, 310.48°)
OKLaboklab(35.95% 0.0714 -0.1482)
OKLCHoklch(35.95% 0.165 295.7)
XYZxyz(7.4364, 3.9107, 23.2800)
Luminance0.0391 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481B87 #5A871B
analogous
#1B2487 #481B87 #7E1B87
triadic
#481B87 #87481B #1B8748
tetradic
#481B87 #871B24 #5A871B #1B877E
square
#481B87 #871B24 #5A871B #1B877E
split-complementary
#481B87 #877E1B #24871B
monochromatic
#120721 #2D1154 #481B87 #6325BA #8243D9

Accessibility & contrast

On white

11.78
#481B87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #481B87
11.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481B87#FFFFFF#000000##FFFFFF
##481B871.0011.781.7811.78
#FFFFFF11.781.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00388A
Deuteranopia (green-blind)
#003685
Tritanopia (blue-blind)
#363951
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #481b87;
/* rgb */ color: rgb(72, 27, 135);
/* oklch */ color: oklch(35.9% 0.165 295.7);
Tailwind
colors: {
  custom: {
    50: '#825dab',
    500: '#481b87',
    950: '#000000',
  },
}
SCSS
$custom: #481b87;
$custom-light: #825dab;
$custom-dark: #000000;
JSON
{
  "hex": "#481b87",
  "rgb": {
    "r": 72,
    "g": 27,
    "b": 135
  },
  "hsl": {
    "h": 265,
    "s": 66.667,
    "l": 31.765
  },
  "oklch": {
    "l": 0.3595,
    "c": 0.16452,
    "h": 295.7
  },
  "luminance": 0.03911
}

Semantic roles & 50–950 ramp

primary
#481B87
secondary
#89BA44
accent
#EA3EA2
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B0410
muted
#7C797F

Preview Lab

Preview with #481B87

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

Preview Lab → · Contrast checker → · Palette generator →

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