#481981#481981

#481981 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.2% C 0.160 H 297.9°. Best body text is #FFFFFF at 12.13:1 contrast (WCAG AA passes).

Color values

HEX#481981
RGBrgb(72, 25, 129)
HSLhsl(267, 68%, 30%)
HSVhsv(267, 81%, 51%)
CMYKcmyk(44.2%, 80.6%, 0%, 49.4%)
CIE-LABlab(22.51, 43.42, -49.35)
CIE-LCHlch(22.51, 65.74, 311.34°)
OKLaboklab(35.17% 0.0749 -0.1413)
OKLCHoklch(35.17% 0.16 297.9)
XYZxyz(6.9815, 3.6578, 21.1028)
Luminance0.0366 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481981 #528119
analogous
#191E81 #481981 #7C1981
triadic
#481981 #814819 #198148
tetradic
#481981 #81191E #528119 #19817C
square
#481981 #81191E #528119 #19817C
split-complementary
#481981 #817C19 #1E8119
monochromatic
#0F051A #2B0F4E #481981 #6523B4 #833BD9

Accessibility & contrast

On white

12.13
#481981 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#481981 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #481981
12.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481981#FFFFFF#000000##FFFFFF
##4819811.0012.131.7312.13
#FFFFFF12.131.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003684
Deuteranopia (green-blind)
#00357F
Tritanopia (blue-blind)
#39364D
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #481981;
/* rgb */ color: rgb(72, 25, 129);
/* oklch */ color: oklch(35.2% 0.160 297.9);
Tailwind
colors: {
  custom: {
    50: '#815ca6',
    500: '#481981',
    950: '#000000',
  },
}
SCSS
$custom: #481981;
$custom-light: #815ca6;
$custom-dark: #000000;
JSON
{
  "hex": "#481981",
  "rgb": {
    "r": 72,
    "g": 25,
    "b": 129
  },
  "hsl": {
    "h": 267.115,
    "s": 67.532,
    "l": 30.196
  },
  "oklch": {
    "l": 0.35173,
    "c": 0.15992,
    "h": 297.9
  },
  "luminance": 0.03658
}

Semantic roles & 50–950 ramp

primary
#481981
secondary
#80B541
accent
#EA3D9C
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #481981

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

Preview Lab → · Contrast checker → · Palette generator →

#481981 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva