#481B84#481B84

#481B84 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.7% C 0.161 H 296.7°. Best body text is #FFFFFF at 11.89:1 contrast (WCAG AA passes).

Color values

HEX#481B84
RGBrgb(72, 27, 132)
HSLhsl(266, 66%, 31%)
HSVhsv(266, 80%, 52%)
CMYKcmyk(45.5%, 79.5%, 0%, 48.2%)
CIE-LABlab(23.09, 43.33, -50.28)
CIE-LCHlch(23.09, 66.38, 310.75°)
OKLaboklab(35.67% 0.0723 -0.144)
OKLCHoklch(35.67% 0.161 296.7)
XYZxyz(7.2282, 3.8274, 22.1832)
Luminance0.0383 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481B84 #57841B
analogous
#1B2284 #481B84 #7C1B84
triadic
#481B84 #84481B #1B8448
tetradic
#481B84 #841B22 #57841B #1B847C
square
#481B84 #841B22 #57841B #1B847C
split-complementary
#481B84 #847C1B #22841B
monochromatic
#11061E #2C1151 #481B84 #6425B7 #8241D8

Accessibility & contrast

On white

11.89
#481B84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#481B84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #481B84
11.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481B84#FFFFFF#000000##FFFFFF
##481B841.0011.891.7711.89
#FFFFFF11.891.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003887
Deuteranopia (green-blind)
#003682
Tritanopia (blue-blind)
#38384F
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #481b84;
/* rgb */ color: rgb(72, 27, 132);
/* oklch */ color: oklch(35.7% 0.161 296.7);
Tailwind
colors: {
  custom: {
    50: '#825da9',
    500: '#481b84',
    950: '#000000',
  },
}
SCSS
$custom: #481b84;
$custom-light: #825da9;
$custom-dark: #000000;
JSON
{
  "hex": "#481b84",
  "rgb": {
    "r": 72,
    "g": 27,
    "b": 132
  },
  "hsl": {
    "h": 265.714,
    "s": 66.038,
    "l": 31.176
  },
  "oklch": {
    "l": 0.35668,
    "c": 0.16118,
    "h": 296.7
  },
  "luminance": 0.03828
}

Semantic roles & 50–950 ramp

primary
#481B84
secondary
#86B743
accent
#E93FA0
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B0410
muted
#7C797F

Preview Lab

Preview with #481B84

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

Preview Lab → · Contrast checker → · Palette generator →

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