#481A7A#481A7A

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

Color values

HEX#481A7A
RGBrgb(72, 26, 122)
HSLhsl(269, 65%, 29%)
HSVhsv(269, 79%, 48%)
CMYKcmyk(41%, 78.7%, 0%, 52.2%)
CIE-LABlab(22.02, 41.14, -45.70)
CIE-LCHlch(22.02, 61.49, 312.00°)
OKLaboklab(34.64% 0.0761 -0.1306)
OKLCHoklch(34.64% 0.151 300.2)
XYZxyz(6.5539, 3.5216, 18.7430)
Luminance0.0352 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481A7A #4C7A1A
analogous
#1A1C7A #481A7A #781A7A
triadic
#481A7A #7A481A #1A7A48
tetradic
#481A7A #7A1A1C #4C7A1A #1A7A78
square
#481A7A #7A1A1C #4C7A1A #1A7A78
split-complementary
#481A7A #7A781A #1C7A1A
monochromatic
#0F0519 #2A0F48 #481A7A #6625AC #8439D5

Accessibility & contrast

On white

12.32
#481A7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #481A7A
12.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481A7A#FFFFFF#000000##FFFFFF
##481A7A1.0012.321.7012.32
#FFFFFF12.321.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00347D
Deuteranopia (green-blind)
#003478
Tritanopia (blue-blind)
#3C3349
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #481a7a;
/* rgb */ color: rgb(72, 26, 122);
/* oklch */ color: oklch(34.6% 0.151 300.2);
Tailwind
colors: {
  custom: {
    50: '#805ca1',
    500: '#481a7a',
    950: '#000000',
  },
}
SCSS
$custom: #481a7a;
$custom-light: #805ca1;
$custom-dark: #000000;
JSON
{
  "hex": "#481a7a",
  "rgb": {
    "r": 72,
    "g": 26,
    "b": 122
  },
  "hsl": {
    "h": 268.75,
    "s": 64.865,
    "l": 29.02
  },
  "oklch": {
    "l": 0.34637,
    "c": 0.15109,
    "h": 300.2
  },
  "luminance": 0.03522
}

Semantic roles & 50–950 ramp

primary
#481A7A
secondary
#7AAE41
accent
#E84097
background
#F8F5FA
surface
#EFE9F3
border
#CAC5CD
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #481A7A

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

Preview Lab → · Contrast checker → · Palette generator →

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