#481C89#481C89

#481C89 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.2% C 0.166 H 295.0°. Best body text is #FFFFFF at 11.65:1 contrast (WCAG AA passes).

Color values

HEX#481C89
RGBrgb(72, 28, 137)
HSLhsl(264, 66%, 32%)
HSVhsv(264, 80%, 54%)
CMYKcmyk(47.4%, 79.6%, 0%, 46.3%)
CIE-LABlab(23.72, 44.23, -52.39)
CIE-LCHlch(23.72, 68.56, 310.17°)
OKLaboklab(36.25% 0.07 -0.1502)
OKLCHoklch(36.25% 0.166 295)
XYZxyz(7.6019, 4.0142, 24.0363)
Luminance0.0401 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481C89 #5D891C
analogous
#1C2789 #481C89 #7F1C89
triadic
#481C89 #89481C #1C8948
tetradic
#481C89 #891C27 #5D891C #1C897F
square
#481C89 #891C27 #5D891C #1C897F
split-complementary
#481C89 #897F1C #27891C
monochromatic
#130723 #2D1256 #481C89 #6326BC #8246D9

Accessibility & contrast

On white

11.65
#481C89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#481C89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #481C89
11.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481C89#FFFFFF#000000##FFFFFF
##481C891.0011.651.8011.65
#FFFFFF11.651.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00398C
Deuteranopia (green-blind)
#003787
Tritanopia (blue-blind)
#353A52
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #481c89;
/* rgb */ color: rgb(72, 28, 137);
/* oklch */ color: oklch(36.2% 0.166 295.0);
Tailwind
colors: {
  custom: {
    50: '#825eac',
    500: '#481c89',
    950: '#000000',
  },
}
SCSS
$custom: #481c89;
$custom-light: #825eac;
$custom-dark: #000000;
JSON
{
  "hex": "#481c89",
  "rgb": {
    "r": 72,
    "g": 28,
    "b": 137
  },
  "hsl": {
    "h": 264.22,
    "s": 66.061,
    "l": 32.353
  },
  "oklch": {
    "l": 0.36249,
    "c": 0.16573,
    "h": 295
  },
  "luminance": 0.04014
}

Semantic roles & 50–950 ramp

primary
#481C89
secondary
#8CBB46
accent
#E93FA4
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #481C89

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

Preview Lab → · Contrast checker → · Palette generator →

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