#481780#481780

#481780 is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.9% C 0.161 H 298.6°. Best body text is #FFFFFF at 12.28:1 contrast (WCAG AA passes).

Color values

HEX#481780
RGBrgb(72, 23, 128)
HSLhsl(268, 70%, 30%)
HSVhsv(268, 82%, 50%)
CMYKcmyk(43.8%, 82%, 0%, 49.8%)
CIE-LABlab(22.12, 44.01, -49.35)
CIE-LCHlch(22.12, 66.12, 311.72°)
OKLaboklab(34.88% 0.0769 -0.1413)
OKLCHoklch(34.88% 0.161 298.6)
XYZxyz(6.8742, 3.5489, 20.7407)
Luminance0.0355 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481780 #4F8017
analogous
#171B80 #481780 #7D1780
triadic
#481780 #804817 #178048
tetradic
#481780 #80171B #4F8017 #17807D
square
#481780 #80171B #4F8017 #17807D
split-complementary
#481780 #807D17 #1B8017
monochromatic
#0F051A #2B0E4C #481780 #6520B4 #8336DB

Accessibility & contrast

On white

12.28
#481780 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#481780 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #481780
12.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481780#FFFFFF#000000##FFFFFF
##4817801.0012.281.7112.28
#FFFFFF12.281.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003583
Deuteranopia (green-blind)
#00347E
Tritanopia (blue-blind)
#3A344C
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #481780;
/* rgb */ color: rgb(72, 23, 128);
/* oklch */ color: oklch(34.9% 0.161 298.6);
Tailwind
colors: {
  custom: {
    50: '#815ba6',
    500: '#481780',
    950: '#000000',
  },
}
SCSS
$custom: #481780;
$custom-light: #815ba6;
$custom-dark: #000000;
JSON
{
  "hex": "#481780",
  "rgb": {
    "r": 72,
    "g": 23,
    "b": 128
  },
  "hsl": {
    "h": 268,
    "s": 69.536,
    "l": 29.608
  },
  "oklch": {
    "l": 0.34875,
    "c": 0.16083,
    "h": 298.6
  },
  "luminance": 0.03549
}

Semantic roles & 50–950 ramp

primary
#481780
secondary
#7DB43E
accent
#EC3B9A
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #481780

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

Preview Lab → · Contrast checker → · Palette generator →

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