#481F87#481F87

#481F87 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.4% C 0.160 H 295.1°. Best body text is #FFFFFF at 11.53:1 contrast (WCAG AA passes).

Color values

HEX#481F87
RGBrgb(72, 31, 135)
HSLhsl(264, 63%, 33%)
HSVhsv(264, 77%, 53%)
CMYKcmyk(46.7%, 77%, 0%, 47.1%)
CIE-LABlab(24.02, 42.28, -50.65)
CIE-LCHlch(24.02, 65.98, 309.86°)
OKLaboklab(36.4% 0.068 -0.1451)
OKLCHoklch(36.4% 0.16 295.1)
XYZxyz(7.5345, 4.1068, 23.3127)
Luminance0.0411 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481F87 #5E871F
analogous
#1F2A87 #481F87 #7C1F87
triadic
#481F87 #87481F #1F8748
tetradic
#481F87 #871F2A #5E871F #1F877C
square
#481F87 #871F2A #5E871F #1F877C
split-complementary
#481F87 #877C1F #2A871F
monochromatic
#130823 #2D1455 #481F87 #632AB9 #824BD6

Accessibility & contrast

On white

11.53
#481F87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#481F87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #481F87
11.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481F87#FFFFFF#000000##FFFFFF
##481F871.0011.531.8211.53
#FFFFFF11.531.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A8A
Deuteranopia (green-blind)
#003785
Tritanopia (blue-blind)
#363B52
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #481f87;
/* rgb */ color: rgb(72, 31, 135);
/* oklch */ color: oklch(36.4% 0.160 295.1);
Tailwind
colors: {
  custom: {
    50: '#825fab',
    500: '#481f87',
    950: '#000000',
  },
}
SCSS
$custom: #481f87;
$custom-light: #825fab;
$custom-dark: #000000;
JSON
{
  "hex": "#481f87",
  "rgb": {
    "r": 72,
    "g": 31,
    "b": 135
  },
  "hsl": {
    "h": 263.654,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.36404,
    "c": 0.16026,
    "h": 295.1
  },
  "luminance": 0.04107
}

Semantic roles & 50–950 ramp

primary
#481F87
secondary
#8DB84A
accent
#E642A5
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #481F87

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

Preview Lab → · Contrast checker → · Palette generator →

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