#481881#481881

#481881 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 35.1% C 0.161 H 298.1°. Best body text is #FFFFFF at 12.19:1 contrast (WCAG AA passes).

Color values

HEX#481881
RGBrgb(72, 24, 129)
HSLhsl(267, 69%, 30%)
HSVhsv(267, 81%, 51%)
CMYKcmyk(44.2%, 81.4%, 0%, 49.4%)
CIE-LABlab(22.36, 43.85, -49.59)
CIE-LCHlch(22.36, 66.20, 311.48°)
OKLaboklab(35.07% 0.0758 -0.142)
OKLCHoklch(35.07% 0.161 298.1)
XYZxyz(6.9605, 3.6158, 21.0958)
Luminance0.0362 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481881 #518118
analogous
#181C81 #481881 #7D1881
triadic
#481881 #814818 #188148
tetradic
#481881 #81181C #518118 #18817D
square
#481881 #81181C #518118 #18817D
split-complementary
#481881 #817D18 #1C8118
monochromatic
#0E051A #2B0E4D #481881 #6522B5 #8339DA

Accessibility & contrast

On white

12.19
#481881 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#481881 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #481881
12.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481881#FFFFFF#000000##FFFFFF
##4818811.0012.191.7212.19
#FFFFFF12.191.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003684
Deuteranopia (green-blind)
#00347F
Tritanopia (blue-blind)
#39354D
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #481881;
/* rgb */ color: rgb(72, 24, 129);
/* oklch */ color: oklch(35.1% 0.161 298.1);
Tailwind
colors: {
  custom: {
    50: '#815ba6',
    500: '#481881',
    950: '#000000',
  },
}
SCSS
$custom: #481881;
$custom-light: #815ba6;
$custom-dark: #000000;
JSON
{
  "hex": "#481881",
  "rgb": {
    "r": 72,
    "g": 24,
    "b": 129
  },
  "hsl": {
    "h": 267.429,
    "s": 68.627,
    "l": 30
  },
  "oklch": {
    "l": 0.35069,
    "c": 0.16093,
    "h": 298.1
  },
  "luminance": 0.03616
}

Semantic roles & 50–950 ramp

primary
#481881
secondary
#7FB540
accent
#EB3C9B
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #481881

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

Preview Lab → · Contrast checker → · Palette generator →

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