#481581#481581

#481581 is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.8% C 0.164 H 298.5°. Best body text is #FFFFFF at 12.35:1 contrast (WCAG AA passes).

Color values

HEX#481581
RGBrgb(72, 21, 129)
HSLhsl(268, 72%, 29%)
HSVhsv(268, 84%, 51%)
CMYKcmyk(44.2%, 83.7%, 0%, 49.4%)
CIE-LABlab(21.94, 45.07, -50.28)
CIE-LCHlch(21.94, 67.52, 311.87°)
OKLaboklab(34.78% 0.0781 -0.144)
OKLCHoklch(34.78% 0.164 298.5)
XYZxyz(6.9021, 3.4989, 21.0763)
Luminance0.0350 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481581 #4E8115
analogous
#151881 #481581 #7E1581
triadic
#481581 #814815 #158148
tetradic
#481581 #811518 #4E8115 #15817E
square
#481581 #811518 #4E8115 #15817E
split-complementary
#481581 #817E15 #188115
monochromatic
#0F041A #2B0C4C #481581 #651EB6 #8333DE

Accessibility & contrast

On white

12.35
#481581 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#481581 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #481581
12.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481581#FFFFFF#000000##FFFFFF
##4815811.0012.351.7012.35
#FFFFFF12.351.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003584
Deuteranopia (green-blind)
#00337F
Tritanopia (blue-blind)
#39344C
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #481581;
/* rgb */ color: rgb(72, 21, 129);
/* oklch */ color: oklch(34.8% 0.164 298.5);
Tailwind
colors: {
  custom: {
    50: '#825aa7',
    500: '#481581',
    950: '#000000',
  },
}
SCSS
$custom: #481581;
$custom-light: #825aa7;
$custom-dark: #000000;
JSON
{
  "hex": "#481581",
  "rgb": {
    "r": 72,
    "g": 21,
    "b": 129
  },
  "hsl": {
    "h": 268.333,
    "s": 72,
    "l": 29.412
  },
  "oklch": {
    "l": 0.34779,
    "c": 0.16379,
    "h": 298.5
  },
  "luminance": 0.03499
}

Semantic roles & 50–950 ramp

primary
#481581
secondary
#7CB63C
accent
#EF3999
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #481581

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

Preview Lab → · Contrast checker → · Palette generator →

#481581 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva