#481F81#481F81

#481F81 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.9% C 0.153 H 297.0°. Best body text is #FFFFFF at 11.74:1 contrast (WCAG AA passes).

Color values

HEX#481F81
RGBrgb(72, 31, 129)
HSLhsl(265, 61%, 31%)
HSVhsv(265, 76%, 51%)
CMYKcmyk(44.2%, 76%, 0%, 49.4%)
CIE-LABlab(23.48, 40.64, -47.76)
CIE-LCHlch(23.48, 62.71, 310.39°)
OKLaboklab(35.86% 0.0695 -0.1366)
OKLCHoklch(35.86% 0.153 297)
XYZxyz(7.1239, 3.9425, 21.1503)
Luminance0.0394 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481F81 #58811F
analogous
#1F2781 #481F81 #791F81
triadic
#481F81 #81481F #1F8148
tetradic
#481F81 #811F27 #58811F #1F8179
square
#481F81 #811F27 #58811F #1F8179
split-complementary
#481F81 #81791F #27811F
monochromatic
#11071E #2C1350 #481F81 #642BB2 #8247D3

Accessibility & contrast

On white

11.74
#481F81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#481F81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #481F81
11.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481F81#FFFFFF#000000##FFFFFF
##481F811.0011.741.7911.74
#FFFFFF11.741.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003884
Deuteranopia (green-blind)
#00377F
Tritanopia (blue-blind)
#39384E
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #481f81;
/* rgb */ color: rgb(72, 31, 129);
/* oklch */ color: oklch(35.9% 0.153 297.0);
Tailwind
colors: {
  custom: {
    50: '#815fa6',
    500: '#481f81',
    950: '#000000',
  },
}
SCSS
$custom: #481f81;
$custom-light: #815fa6;
$custom-dark: #000000;
JSON
{
  "hex": "#481f81",
  "rgb": {
    "r": 72,
    "g": 31,
    "b": 129
  },
  "hsl": {
    "h": 265.102,
    "s": 61.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.35856,
    "c": 0.15331,
    "h": 297
  },
  "luminance": 0.03943
}

Semantic roles & 50–950 ramp

primary
#481F81
secondary
#87B448
accent
#E443A1
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B050F
muted
#7C797F

Preview Lab

Preview with #481F81

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

Preview Lab → · Contrast checker → · Palette generator →

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