#481F80#481F80

#481F80 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.8% C 0.152 H 297.3°. Best body text is #FFFFFF at 11.78:1 contrast (WCAG AA passes).

Color values

HEX#481F80
RGBrgb(72, 31, 128)
HSLhsl(265, 61%, 31%)
HSVhsv(265, 76%, 50%)
CMYKcmyk(43.8%, 75.8%, 0%, 49.8%)
CIE-LABlab(23.39, 40.36, -47.27)
CIE-LCHlch(23.39, 62.16, 310.49°)
OKLaboklab(35.77% 0.0698 -0.1352)
OKLCHoklch(35.77% 0.152 297.3)
XYZxyz(7.0577, 3.9161, 20.8019)
Luminance0.0392 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481F80 #57801F
analogous
#1F2680 #481F80 #781F80
triadic
#481F80 #80481F #1F8048
tetradic
#481F80 #801F26 #57801F #1F8078
square
#481F80 #801F26 #57801F #1F8078
split-complementary
#481F80 #80781F #26801F
monochromatic
#11071D #2C134F #481F80 #642BB1 #8247D2

Accessibility & contrast

On white

11.78
#481F80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#481F80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #481F80
11.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481F80#FFFFFF#000000##FFFFFF
##481F801.0011.781.7811.78
#FFFFFF11.781.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003883
Deuteranopia (green-blind)
#00377E
Tritanopia (blue-blind)
#3A384E
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #481f80;
/* rgb */ color: rgb(72, 31, 128);
/* oklch */ color: oklch(35.8% 0.152 297.3);
Tailwind
colors: {
  custom: {
    50: '#815fa6',
    500: '#481f80',
    950: '#000000',
  },
}
SCSS
$custom: #481f80;
$custom-light: #815fa6;
$custom-dark: #000000;
JSON
{
  "hex": "#481f80",
  "rgb": {
    "r": 72,
    "g": 31,
    "b": 128
  },
  "hsl": {
    "h": 265.361,
    "s": 61.006,
    "l": 31.176
  },
  "oklch": {
    "l": 0.35766,
    "c": 0.15215,
    "h": 297.3
  },
  "luminance": 0.03916
}

Semantic roles & 50–950 ramp

primary
#481F80
secondary
#86B348
accent
#E444A0
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B050F
muted
#7C797F

Preview Lab

Preview with #481F80

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

Preview Lab → · Contrast checker → · Palette generator →

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