#481D87#481D87

#481D87 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.2% C 0.162 H 295.4°. Best body text is #FFFFFF at 11.66:1 contrast (WCAG AA passes).

Color values

HEX#481D87
RGBrgb(72, 29, 135)
HSLhsl(264, 65%, 32%)
HSVhsv(264, 79%, 53%)
CMYKcmyk(46.7%, 78.5%, 0%, 47.1%)
CIE-LABlab(23.69, 43.23, -51.19)
CIE-LCHlch(23.69, 67.00, 310.18°)
OKLaboklab(36.17% 0.0698 -0.1467)
OKLCHoklch(36.17% 0.162 295.4)
XYZxyz(7.4838, 4.0055, 23.2958)
Luminance0.0401 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481D87 #5C871D
analogous
#1D2787 #481D87 #7D1D87
triadic
#481D87 #87481D #1D8748
tetradic
#481D87 #871D27 #5C871D #1D877D
square
#481D87 #871D27 #5C871D #1D877D
split-complementary
#481D87 #877D1D #27871D
monochromatic
#120722 #2D1255 #481D87 #6328B9 #8247D7

Accessibility & contrast

On white

11.66
#481D87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#481D87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #481D87
11.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481D87#FFFFFF#000000##FFFFFF
##481D871.0011.661.8011.66
#FFFFFF11.661.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00398A
Deuteranopia (green-blind)
#003785
Tritanopia (blue-blind)
#363A51
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #481d87;
/* rgb */ color: rgb(72, 29, 135);
/* oklch */ color: oklch(36.2% 0.162 295.4);
Tailwind
colors: {
  custom: {
    50: '#825eab',
    500: '#481d87',
    950: '#000000',
  },
}
SCSS
$custom: #481d87;
$custom-light: #825eab;
$custom-dark: #000000;
JSON
{
  "hex": "#481d87",
  "rgb": {
    "r": 72,
    "g": 29,
    "b": 135
  },
  "hsl": {
    "h": 264.34,
    "s": 64.634,
    "l": 32.157
  },
  "oklch": {
    "l": 0.36171,
    "c": 0.16244,
    "h": 295.4
  },
  "luminance": 0.04006
}

Semantic roles & 50–950 ramp

primary
#481D87
secondary
#8BB946
accent
#E840A4
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #481D87

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

Preview Lab → · Contrast checker → · Palette generator →

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