#481580#481580

#481580 is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.7% C 0.163 H 298.8°. Best body text is #FFFFFF at 12.39:1 contrast (WCAG AA passes).

Color values

HEX#481580
RGBrgb(72, 21, 128)
HSLhsl(269, 72%, 29%)
HSVhsv(269, 84%, 50%)
CMYKcmyk(43.8%, 83.6%, 0%, 49.8%)
CIE-LABlab(21.84, 44.81, -49.80)
CIE-LCHlch(21.84, 66.99, 311.98°)
OKLaboklab(34.68% 0.0785 -0.1426)
OKLCHoklch(34.68% 0.163 298.8)
XYZxyz(6.8359, 3.4725, 20.7280)
Luminance0.0347 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481580 #4D8015
analogous
#151880 #481580 #7E1580
triadic
#481580 #804815 #158048
tetradic
#481580 #801518 #4D8015 #15807E
square
#481580 #801518 #4D8015 #15807E
split-complementary
#481580 #807E15 #188015
monochromatic
#0F041A #2A0C4B #481580 #661EB5 #8432DD

Accessibility & contrast

On white

12.39
#481580 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#481580 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #481580
12.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481580#FFFFFF#000000##FFFFFF
##4815801.0012.391.6912.39
#FFFFFF12.391.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003483
Deuteranopia (green-blind)
#00337E
Tritanopia (blue-blind)
#3A344B
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #481580;
/* rgb */ color: rgb(72, 21, 128);
/* oklch */ color: oklch(34.7% 0.163 298.8);
Tailwind
colors: {
  custom: {
    50: '#815aa6',
    500: '#481580',
    950: '#000000',
  },
}
SCSS
$custom: #481580;
$custom-light: #815aa6;
$custom-dark: #000000;
JSON
{
  "hex": "#481580",
  "rgb": {
    "r": 72,
    "g": 21,
    "b": 128
  },
  "hsl": {
    "h": 268.598,
    "s": 71.812,
    "l": 29.216
  },
  "oklch": {
    "l": 0.34683,
    "c": 0.16272,
    "h": 298.8
  },
  "luminance": 0.03473
}

Semantic roles & 50–950 ramp

primary
#481580
secondary
#7BB53C
accent
#EF3998
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #481580

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

Preview Lab → · Contrast checker → · Palette generator →

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