#481C78#481C78

#481C78 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.7% C 0.147 H 300.6°. Best body text is #FFFFFF at 12.26:1 contrast (WCAG AA passes).

Color values

HEX#481C78
RGBrgb(72, 28, 120)
HSLhsl(269, 62%, 29%)
HSVhsv(269, 77%, 47%)
CMYKcmyk(40%, 76.7%, 0%, 52.9%)
CIE-LABlab(22.18, 39.68, -44.17)
CIE-LCHlch(22.18, 59.38, 311.93°)
OKLaboklab(34.69% 0.0746 -0.1261)
OKLCHoklch(34.69% 0.147 300.6)
XYZxyz(6.4771, 3.5642, 18.1124)
Luminance0.0356 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481C78 #4C781C
analogous
#1C1E78 #481C78 #761C78
triadic
#481C78 #78481C #1C7848
tetradic
#481C78 #781C1E #4C781C #1C7876
square
#481C78 #781C1E #4C781C #1C7876
split-complementary
#481C78 #78761C #1E781C
monochromatic
#0F0619 #2A1046 #481C78 #6628AA #843DD2

Accessibility & contrast

On white

12.26
#481C78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#481C78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #481C78
12.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481C78#FFFFFF#000000##FFFFFF
##481C781.0012.261.7112.26
#FFFFFF12.261.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.261.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #481c78;
/* rgb */ color: rgb(72, 28, 120);
/* oklch */ color: oklch(34.7% 0.147 300.6);
Tailwind
colors: {
  custom: {
    50: '#805da0',
    500: '#481c78',
    950: '#000000',
  },
}
SCSS
$custom: #481c78;
$custom-light: #805da0;
$custom-dark: #000000;
JSON
{
  "hex": "#481c78",
  "rgb": {
    "r": 72,
    "g": 28,
    "b": 120
  },
  "hsl": {
    "h": 268.696,
    "s": 62.162,
    "l": 29.02
  },
  "oklch": {
    "l": 0.3469,
    "c": 0.14652,
    "h": 300.6
  },
  "luminance": 0.03564
}

Semantic roles & 50–950 ramp

primary
#481C78
secondary
#7AAC44
accent
#E54397
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040F
muted
#7C797E

Preview Lab

Preview with #481C78

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

Preview Lab → · Contrast checker → · Palette generator →

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