#481B85#481B85

#481B85 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.8% C 0.162 H 296.4°. Best body text is #FFFFFF at 11.86:1 contrast (WCAG AA passes).

Color values

HEX#481B85
RGBrgb(72, 27, 133)
HSLhsl(265, 66%, 31%)
HSVhsv(265, 80%, 52%)
CMYKcmyk(45.9%, 79.7%, 0%, 47.8%)
CIE-LABlab(23.19, 43.60, -50.76)
CIE-LCHlch(23.19, 66.91, 310.66°)
OKLaboklab(35.76% 0.0721 -0.1454)
OKLCHoklch(35.76% 0.162 296.4)
XYZxyz(7.2969, 3.8549, 22.5454)
Luminance0.0386 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481B85 #58851B
analogous
#1B2385 #481B85 #7D1B85
triadic
#481B85 #85481B #1B8548
tetradic
#481B85 #851B23 #58851B #1B857D
square
#481B85 #851B23 #58851B #1B857D
split-complementary
#481B85 #857D1B #23851B
monochromatic
#11061F #2C1152 #481B85 #6425B8 #8242D9

Accessibility & contrast

On white

11.86
#481B85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #481B85
11.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481B85#FFFFFF#000000##FFFFFF
##481B851.0011.861.7711.86
#FFFFFF11.861.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003888
Deuteranopia (green-blind)
#003683
Tritanopia (blue-blind)
#37384F
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #481b85;
/* rgb */ color: rgb(72, 27, 133);
/* oklch */ color: oklch(35.8% 0.162 296.4);
Tailwind
colors: {
  custom: {
    50: '#825da9',
    500: '#481b85',
    950: '#000000',
  },
}
SCSS
$custom: #481b85;
$custom-light: #825da9;
$custom-dark: #000000;
JSON
{
  "hex": "#481b85",
  "rgb": {
    "r": 72,
    "g": 27,
    "b": 133
  },
  "hsl": {
    "h": 265.472,
    "s": 66.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.35761,
    "c": 0.16229,
    "h": 296.4
  },
  "luminance": 0.03855
}

Semantic roles & 50–950 ramp

primary
#481B85
secondary
#87B844
accent
#E93FA1
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B0410
muted
#7C797F

Preview Lab

Preview with #481B85

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

Preview Lab → · Contrast checker → · Palette generator →

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