#481996#481996

#481996 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.2% C 0.183 H 291.8°. Best body text is #FFFFFF at 11.32:1 contrast (WCAG AA passes).

Color values

HEX#481996
RGBrgb(72, 25, 150)
HSLhsl(263, 71%, 34%)
HSVhsv(263, 83%, 59%)
CMYKcmyk(52%, 83.3%, 0%, 41.2%)
CIE-LABlab(24.56, 48.98, -59.08)
CIE-LCHlch(24.56, 76.74, 309.66°)
OKLaboklab(37.22% 0.0679 -0.1698)
OKLCHoklch(37.22% 0.183 291.8)
XYZxyz(8.5236, 4.2747, 29.2242)
Luminance0.0428 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481996 #679619
analogous
#192996 #481996 #871996
triadic
#481996 #964819 #199648
tetradic
#481996 #961929 #679619 #199687
square
#481996 #961929 #679619 #199687
split-complementary
#481996 #968719 #299619
monochromatic
#16082D #2F1062 #481996 #6122CA #8249E1

Accessibility & contrast

On white

11.32
#481996 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#481996 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #481996
11.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481996#FFFFFF#000000##FFFFFF
##4819961.0011.321.8611.32
#FFFFFF11.321.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C99
Deuteranopia (green-blind)
#003894
Tritanopia (blue-blind)
#2D3F59
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #481996;
/* rgb */ color: rgb(72, 25, 150);
/* oklch */ color: oklch(37.2% 0.183 291.8);
Tailwind
colors: {
  custom: {
    50: '#845db6',
    500: '#481996',
    950: '#000000',
  },
}
SCSS
$custom: #481996;
$custom-light: #845db6;
$custom-dark: #000000;
JSON
{
  "hex": "#481996",
  "rgb": {
    "r": 72,
    "g": 25,
    "b": 150
  },
  "hsl": {
    "h": 262.56,
    "s": 71.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.3722,
    "c": 0.18283,
    "h": 291.8
  },
  "luminance": 0.04275
}

Semantic roles & 50–950 ramp

primary
#481996
secondary
#94C249
accent
#EE3AAA
background
#F8F5FB
surface
#F0E9F6
border
#CBC5D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #481996

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

Preview Lab → · Contrast checker → · Palette generator →

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