#481B7A#481B7A

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

Color values

HEX#481B7A
RGBrgb(72, 27, 122)
HSLhsl(268, 64%, 29%)
HSVhsv(268, 78%, 48%)
CMYKcmyk(41%, 77.9%, 0%, 52.2%)
CIE-LABlab(22.18, 40.68, -45.44)
CIE-LCHlch(22.18, 60.99, 311.84°)
OKLaboklab(34.75% 0.0751 -0.1298)
OKLCHoklch(34.75% 0.15 300.1)
XYZxyz(6.5764, 3.5667, 18.7505)
Luminance0.0357 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481B7A #4D7A1B
analogous
#1B1E7A #481B7A #781B7A
triadic
#481B7A #7A481B #1B7A48
tetradic
#481B7A #7A1B1E #4D7A1B #1B7A78
square
#481B7A #7A1B1E #4D7A1B #1B7A78
split-complementary
#481B7A #7A781B #1E7A1B
monochromatic
#0F0619 #2A1048 #481B7A #6626AC #843CD4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##481B7A#FFFFFF#000000##FFFFFF
##481B7A1.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)
#00357D
Deuteranopia (green-blind)
#003478
Tritanopia (blue-blind)
#3C3449
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #481b7a;
/* rgb */ color: rgb(72, 27, 122);
/* oklch */ color: oklch(34.8% 0.150 300.1);
Tailwind
colors: {
  custom: {
    50: '#805ca1',
    500: '#481b7a',
    950: '#000000',
  },
}
SCSS
$custom: #481b7a;
$custom-light: #805ca1;
$custom-dark: #000000;
JSON
{
  "hex": "#481b7a",
  "rgb": {
    "r": 72,
    "g": 27,
    "b": 122
  },
  "hsl": {
    "h": 268.421,
    "s": 63.758,
    "l": 29.216
  },
  "oklch": {
    "l": 0.3475,
    "c": 0.14997,
    "h": 300.1
  },
  "luminance": 0.03567
}

Semantic roles & 50–950 ramp

primary
#481B7A
secondary
#7BAE43
accent
#E74198
background
#F8F5FA
surface
#EFE9F3
border
#CAC5CD
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #481B7A

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

Preview Lab → · Contrast checker → · Palette generator →

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