#481788#481788

#481788 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.6% C 0.169 H 296.0°. Best body text is #FFFFFF at 11.98:1 contrast (WCAG AA passes).

Color values

HEX#481788
RGBrgb(72, 23, 136)
HSLhsl(266, 71%, 31%)
HSVhsv(266, 83%, 53%)
CMYKcmyk(47.1%, 83.1%, 0%, 46.7%)
CIE-LABlab(22.89, 46.09, -53.13)
CIE-LCHlch(22.89, 70.33, 310.94°)
OKLaboklab(35.64% 0.0742 -0.1523)
OKLCHoklch(35.64% 0.169 296)
XYZxyz(7.4216, 3.7679, 23.6240)
Luminance0.0377 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481788 #578817
analogous
#171E88 #481788 #801788
triadic
#481788 #884817 #178848
tetradic
#481788 #88171E #578817 #178880
square
#481788 #88171E #578817 #178880
split-complementary
#481788 #888017 #1E8817
monochromatic
#11051F #2C0E54 #481788 #6420BC #823BDE

Accessibility & contrast

On white

11.98
#481788 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#481788 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #481788
11.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481788#FFFFFF#000000##FFFFFF
##4817881.0011.981.7511.98
#FFFFFF11.981.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00378B
Deuteranopia (green-blind)
#003586
Tritanopia (blue-blind)
#363850
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #481788;
/* rgb */ color: rgb(72, 23, 136);
/* oklch */ color: oklch(35.6% 0.169 296.0);
Tailwind
colors: {
  custom: {
    50: '#825bac',
    500: '#481788',
    950: '#000000',
  },
}
SCSS
$custom: #481788;
$custom-light: #825bac;
$custom-dark: #000000;
JSON
{
  "hex": "#481788",
  "rgb": {
    "r": 72,
    "g": 23,
    "b": 136
  },
  "hsl": {
    "h": 266.018,
    "s": 71.069,
    "l": 31.176
  },
  "oklch": {
    "l": 0.35643,
    "c": 0.16945,
    "h": 296
  },
  "luminance": 0.03768
}

Semantic roles & 50–950 ramp

primary
#481788
secondary
#86BC3F
accent
#EE3AA0
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0B0410
muted
#7C797F

Preview Lab

Preview with #481788

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

Preview Lab → · Contrast checker → · Palette generator →

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