#481786#481786

#481786 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.4% C 0.167 H 296.6°. Best body text is #FFFFFF at 12.05:1 contrast (WCAG AA passes).

Color values

HEX#481786
RGBrgb(72, 23, 134)
HSLhsl(266, 71%, 31%)
HSVhsv(266, 83%, 53%)
CMYKcmyk(46.3%, 82.8%, 0%, 47.5%)
CIE-LABlab(22.69, 45.56, -52.19)
CIE-LCHlch(22.69, 69.28, 311.12°)
OKLaboklab(35.45% 0.0749 -0.1496)
OKLCHoklch(35.45% 0.167 296.6)
XYZxyz(7.2808, 3.7116, 22.8824)
Luminance0.0371 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481786 #558617
analogous
#171E86 #481786 #7F1786
triadic
#481786 #864817 #178648
tetradic
#481786 #86171E #558617 #17867F
square
#481786 #86171E #558617 #17867F
split-complementary
#481786 #867F17 #1E8617
monochromatic
#10051E #2C0E52 #481786 #6420BA #823ADD

Accessibility & contrast

On white

12.05
#481786 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#481786 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #481786
12.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481786#FFFFFF#000000##FFFFFF
##4817861.0012.051.7412.05
#FFFFFF12.051.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003789
Deuteranopia (green-blind)
#003584
Tritanopia (blue-blind)
#37374F
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #481786;
/* rgb */ color: rgb(72, 23, 134);
/* oklch */ color: oklch(35.4% 0.167 296.6);
Tailwind
colors: {
  custom: {
    50: '#825baa',
    500: '#481786',
    950: '#000000',
  },
}
SCSS
$custom: #481786;
$custom-light: #825baa;
$custom-dark: #000000;
JSON
{
  "hex": "#481786",
  "rgb": {
    "r": 72,
    "g": 23,
    "b": 134
  },
  "hsl": {
    "h": 266.486,
    "s": 70.701,
    "l": 30.784
  },
  "oklch": {
    "l": 0.35449,
    "c": 0.16729,
    "h": 296.6
  },
  "luminance": 0.03712
}

Semantic roles & 50–950 ramp

primary
#481786
secondary
#84BA3F
accent
#ED3A9E
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B0410
muted
#7C797F

Preview Lab

Preview with #481786

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

Preview Lab → · Contrast checker → · Palette generator →

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