#481B79#481B79

#481B79 is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.7% C 0.149 H 300.4°. Best body text is #FFFFFF at 12.29:1 contrast (WCAG AA passes).

Color values

HEX#481B79
RGBrgb(72, 27, 121)
HSLhsl(269, 64%, 29%)
HSVhsv(269, 78%, 47%)
CMYKcmyk(40.5%, 77.7%, 0%, 52.5%)
CIE-LABlab(22.10, 40.42, -44.94)
CIE-LCHlch(22.10, 60.45, 311.97°)
OKLaboklab(34.66% 0.0754 -0.1283)
OKLCHoklch(34.66% 0.149 300.4)
XYZxyz(6.5148, 3.5420, 18.4259)
Luminance0.0354 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481B79 #4C791B
analogous
#1B1D79 #481B79 #771B79
triadic
#481B79 #79481B #1B7948
tetradic
#481B79 #791B1D #4C791B #1B7977
square
#481B79 #791B1D #4C791B #1B7977
split-complementary
#481B79 #79771B #1D791B
monochromatic
#0F0619 #2A1047 #481B79 #6626AB #843BD3

Accessibility & contrast

On white

12.29
#481B79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #481B79
12.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481B79#FFFFFF#000000##FFFFFF
##481B791.0012.291.7112.29
#FFFFFF12.291.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00357C
Deuteranopia (green-blind)
#003477
Tritanopia (blue-blind)
#3D3349
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #481b79;
/* rgb */ color: rgb(72, 27, 121);
/* oklch */ color: oklch(34.7% 0.149 300.4);
Tailwind
colors: {
  custom: {
    50: '#805ca0',
    500: '#481b79',
    950: '#000000',
  },
}
SCSS
$custom: #481b79;
$custom-light: #805ca0;
$custom-dark: #000000;
JSON
{
  "hex": "#481b79",
  "rgb": {
    "r": 72,
    "g": 27,
    "b": 121
  },
  "hsl": {
    "h": 268.723,
    "s": 63.514,
    "l": 29.02
  },
  "oklch": {
    "l": 0.34661,
    "c": 0.14884,
    "h": 300.4
  },
  "luminance": 0.03542
}

Semantic roles & 50–950 ramp

primary
#481B79
secondary
#7AAD43
accent
#E74197
background
#F8F5FA
surface
#EFE9F3
border
#CAC5CD
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #481B79

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

Preview Lab → · Contrast checker → · Palette generator →

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