#481162#481162

#481162 is a dark, vivid purple. Relative luminance 0.027; OKLCH L 31.6% C 0.136 H 311.9°. Best body text is #FFFFFF at 13.71:1 contrast (WCAG AA passes).

Color values

HEX#481162
RGBrgb(72, 17, 98)
HSLhsl(281, 70%, 23%)
HSVhsv(281, 83%, 38%)
CMYKcmyk(26.5%, 82.7%, 0%, 61.6%)
CIE-LABlab(18.63, 39.04, -35.64)
CIE-LCHlch(18.63, 52.86, 317.60°)
OKLaboklab(31.61% 0.0905 -0.1009)
OKLCHoklch(31.61% 0.136 311.9)
XYZxyz(5.0771, 2.6606, 11.7990)
Luminance0.0266 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481162 #2B6211
analogous
#201162 #481162 #621153
triadic
#481162 #624811 #116248
tetradic
#481162 #622011 #2B6211 #115362
square
#481162 #622011 #2B6211 #115362
split-complementary
#481162 #536211 #116220
monochromatic
#13051A #22082E #481162 #6E1A96 #9523CA

Accessibility & contrast

On white

13.71
#481162 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#481162 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #481162
13.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481162#FFFFFF#000000##FFFFFF
##4811621.0013.711.5313.71
#FFFFFF13.711.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B64
Deuteranopia (green-blind)
#032E60
Tritanopia (blue-blind)
#452539
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #481162;
/* rgb */ color: rgb(72, 17, 98);
/* oklch */ color: oklch(31.6% 0.136 311.9);
Tailwind
colors: {
  custom: {
    50: '#7f568f',
    500: '#481162',
    950: '#000000',
  },
}
SCSS
$custom: #481162;
$custom-light: #7f568f;
$custom-dark: #000000;
JSON
{
  "hex": "#481162",
  "rgb": {
    "r": 72,
    "g": 17,
    "b": 98
  },
  "hsl": {
    "h": 280.741,
    "s": 70.435,
    "l": 22.549
  },
  "oklch": {
    "l": 0.31611,
    "c": 0.13558,
    "h": 311.9
  },
  "luminance": 0.0266
}

Semantic roles & 50–950 ramp

primary
#481162
secondary
#559A34
accent
#ED3B74
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0A030C
muted
#7C787D

Preview Lab

Preview with #481162

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

Preview Lab → · Contrast checker → · Palette generator →

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