#481A7B#481A7B

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

Color values

HEX#481A7B
RGBrgb(72, 26, 123)
HSLhsl(268, 65%, 29%)
HSVhsv(268, 79%, 48%)
CMYKcmyk(41.5%, 78.9%, 0%, 51.8%)
CIE-LABlab(22.11, 41.41, -46.19)
CIE-LCHlch(22.11, 62.03, 311.87°)
OKLaboklab(34.73% 0.0758 -0.132)
OKLCHoklch(34.73% 0.152 299.9)
XYZxyz(6.6161, 3.5465, 19.0710)
Luminance0.0355 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481A7B #4D7B1A
analogous
#1A1C7B #481A7B #791A7B
triadic
#481A7B #7B481A #1A7B48
tetradic
#481A7B #7B1A1C #4D7B1A #1A7B79
square
#481A7B #7B1A1C #4D7B1A #1A7B79
split-complementary
#481A7B #7B791A #1C7B1A
monochromatic
#0F0519 #2A0F48 #481A7B #6625AE #843AD5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##481A7B#FFFFFF#000000##FFFFFF
##481A7B1.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)
#00357E
Deuteranopia (green-blind)
#003479
Tritanopia (blue-blind)
#3C344A
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #481a7b;
/* rgb */ color: rgb(72, 26, 123);
/* oklch */ color: oklch(34.7% 0.152 299.9);
Tailwind
colors: {
  custom: {
    50: '#805ca2',
    500: '#481a7b',
    950: '#000000',
  },
}
SCSS
$custom: #481a7b;
$custom-light: #805ca2;
$custom-dark: #000000;
JSON
{
  "hex": "#481a7b",
  "rgb": {
    "r": 72,
    "g": 26,
    "b": 123
  },
  "hsl": {
    "h": 268.454,
    "s": 65.101,
    "l": 29.216
  },
  "oklch": {
    "l": 0.34727,
    "c": 0.15222,
    "h": 299.9
  },
  "luminance": 0.03547
}

Semantic roles & 50–950 ramp

primary
#481A7B
secondary
#7BAF42
accent
#E84098
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #481A7B

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

Preview Lab → · Contrast checker → · Palette generator →

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