#481988#481988

#481988 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.8% C 0.168 H 295.7°. Best body text is #FFFFFF at 11.86:1 contrast (WCAG AA passes).

Color values

HEX#481988
RGBrgb(72, 25, 136)
HSLhsl(265, 69%, 32%)
HSVhsv(265, 82%, 53%)
CMYKcmyk(47.1%, 81.6%, 0%, 46.7%)
CIE-LABlab(23.17, 45.27, -52.67)
CIE-LCHlch(23.17, 69.45, 310.68°)
OKLaboklab(35.84% 0.0727 -0.151)
OKLCHoklch(35.84% 0.168 295.7)
XYZxyz(7.4629, 3.8504, 23.6378)
Luminance0.0385 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481988 #598819
analogous
#192288 #481988 #801988
triadic
#481988 #884819 #198848
tetradic
#481988 #881922 #598819 #198880
square
#481988 #881922 #598819 #198880
split-complementary
#481988 #888019 #228819
monochromatic
#110621 #2D0F54 #481988 #6323BC #8240DC

Accessibility & contrast

On white

11.86
#481988 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#481988 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #481988
11.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481988#FFFFFF#000000##FFFFFF
##4819881.0011.861.7711.86
#FFFFFF11.861.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00388B
Deuteranopia (green-blind)
#003686
Tritanopia (blue-blind)
#363951
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #481988;
/* rgb */ color: rgb(72, 25, 136);
/* oklch */ color: oklch(35.8% 0.168 295.7);
Tailwind
colors: {
  custom: {
    50: '#825cac',
    500: '#481988',
    950: '#000000',
  },
}
SCSS
$custom: #481988;
$custom-light: #825cac;
$custom-dark: #000000;
JSON
{
  "hex": "#481988",
  "rgb": {
    "r": 72,
    "g": 25,
    "b": 136
  },
  "hsl": {
    "h": 265.405,
    "s": 68.944,
    "l": 31.569
  },
  "oklch": {
    "l": 0.35838,
    "c": 0.1676,
    "h": 295.7
  },
  "luminance": 0.03851
}

Semantic roles & 50–950 ramp

primary
#481988
secondary
#88BB41
accent
#EC3CA1
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0B0410
muted
#7C797F

Preview Lab

Preview with #481988

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

Preview Lab → · Contrast checker → · Palette generator →

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