#481B78#481B78

#481B78 is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.6% C 0.148 H 300.8°. Best body text is #FFFFFF at 12.33:1 contrast (WCAG AA passes).

Color values

HEX#481B78
RGBrgb(72, 27, 120)
HSLhsl(269, 63%, 29%)
HSVhsv(269, 78%, 47%)
CMYKcmyk(40%, 77.5%, 0%, 52.9%)
CIE-LABlab(22.01, 40.16, -44.45)
CIE-LCHlch(22.01, 59.90, 312.10°)
OKLaboklab(34.57% 0.0756 -0.1269)
OKLCHoklch(34.57% 0.148 300.8)
XYZxyz(6.4538, 3.5176, 18.1046)
Luminance0.0352 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481B78 #4B781B
analogous
#1B1D78 #481B78 #771B78
triadic
#481B78 #78481B #1B7848
tetradic
#481B78 #781B1D #4B781B #1B7877
square
#481B78 #781B1D #4B781B #1B7877
split-complementary
#481B78 #78771B #1D781B
monochromatic
#0F0619 #2A1046 #481B78 #6626AA #843BD3

Accessibility & contrast

On white

12.33
#481B78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#481B78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #481B78
12.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481B78#FFFFFF#000000##FFFFFF
##481B781.0012.331.7012.33
#FFFFFF12.331.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00347B
Deuteranopia (green-blind)
#003476
Tritanopia (blue-blind)
#3D3348
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #481b78;
/* rgb */ color: rgb(72, 27, 120);
/* oklch */ color: oklch(34.6% 0.148 300.8);
Tailwind
colors: {
  custom: {
    50: '#805ca0',
    500: '#481b78',
    950: '#000000',
  },
}
SCSS
$custom: #481b78;
$custom-light: #805ca0;
$custom-dark: #000000;
JSON
{
  "hex": "#481b78",
  "rgb": {
    "r": 72,
    "g": 27,
    "b": 120
  },
  "hsl": {
    "h": 269.032,
    "s": 63.265,
    "l": 28.824
  },
  "oklch": {
    "l": 0.34572,
    "c": 0.14771,
    "h": 300.8
  },
  "luminance": 0.03518
}

Semantic roles & 50–950 ramp

primary
#481B78
secondary
#79AC43
accent
#E64197
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040F
muted
#7C797E

Preview Lab

Preview with #481B78

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

Preview Lab → · Contrast checker → · Palette generator →

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