#481F84#481F84

#481F84 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.1% C 0.157 H 296.0°. Best body text is #FFFFFF at 11.64:1 contrast (WCAG AA passes).

Color values

HEX#481F84
RGBrgb(72, 31, 132)
HSLhsl(264, 62%, 32%)
HSVhsv(264, 77%, 52%)
CMYKcmyk(45.5%, 76.5%, 0%, 48.2%)
CIE-LABlab(23.75, 41.46, -49.21)
CIE-LCHlch(23.75, 64.35, 310.11°)
OKLaboklab(36.13% 0.0688 -0.1409)
OKLCHoklch(36.13% 0.157 296)
XYZxyz(7.3262, 4.0235, 22.2159)
Luminance0.0402 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481F84 #5B841F
analogous
#1F2984 #481F84 #7A1F84
triadic
#481F84 #84481F #1F8448
tetradic
#481F84 #841F29 #5B841F #1F847A
square
#481F84 #841F29 #5B841F #1F847A
split-complementary
#481F84 #847A1F #29841F
monochromatic
#120821 #2D1352 #481F84 #632BB6 #8249D4

Accessibility & contrast

On white

11.64
#481F84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #481F84
11.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481F84#FFFFFF#000000##FFFFFF
##481F841.0011.641.8011.64
#FFFFFF11.641.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003987
Deuteranopia (green-blind)
#003782
Tritanopia (blue-blind)
#383A50
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #481f84;
/* rgb */ color: rgb(72, 31, 132);
/* oklch */ color: oklch(36.1% 0.157 296.0);
Tailwind
colors: {
  custom: {
    50: '#815fa9',
    500: '#481f84',
    950: '#000000',
  },
}
SCSS
$custom: #481f84;
$custom-light: #815fa9;
$custom-dark: #000000;
JSON
{
  "hex": "#481f84",
  "rgb": {
    "r": 72,
    "g": 31,
    "b": 132
  },
  "hsl": {
    "h": 264.356,
    "s": 61.963,
    "l": 31.961
  },
  "oklch": {
    "l": 0.36128,
    "c": 0.15679,
    "h": 296
  },
  "luminance": 0.04024
}

Semantic roles & 50–950 ramp

primary
#481F84
secondary
#8AB748
accent
#E543A3
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #481F84

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

Preview Lab → · Contrast checker → · Palette generator →

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