#5119A0#5119A0

#5119A0 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 39.2% C 0.194 H 294.0°. Best body text is #FFFFFF at 10.52:1 contrast (WCAG AA passes).

Color values

HEX#5119A0
RGBrgb(81, 25, 160)
HSLhsl(265, 73%, 36%)
HSVhsv(265, 84%, 63%)
CMYKcmyk(49.4%, 84.4%, 0%, 37.3%)
CIE-LABlab(26.68, 52.72, -61.67)
CIE-LCHlch(26.68, 81.13, 310.53°)
OKLaboklab(39.24% 0.0787 -0.1771)
OKLCHoklch(39.24% 0.194 294)
XYZxyz(10.0844, 4.9823, 33.6812)
Luminance0.0498 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5119A0 #68A019
analogous
#1925A0 #5119A0 #9519A0
triadic
#5119A0 #A05119 #19A051
tetradic
#5119A0 #A01925 #68A019 #19A095
square
#5119A0 #A01925 #68A019 #19A095
split-complementary
#5119A0 #A09519 #25A019
monochromatic
#1B0836 #36116B #5119A0 #6C21D5 #8D50E4

Accessibility & contrast

On white

10.52
#5119A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#5119A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5119A0
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5119A0#FFFFFF#000000##FFFFFF
##5119A01.0010.522.0010.52
#FFFFFF10.521.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040A4
Deuteranopia (green-blind)
#003D9E
Tritanopia (blue-blind)
#38425F
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #5119a0;
/* rgb */ color: rgb(81, 25, 160);
/* oklch */ color: oklch(39.2% 0.194 294.0);
Tailwind
colors: {
  custom: {
    50: '#8b5fbd',
    500: '#5119a0',
    950: '#000000',
  },
}
SCSS
$custom: #5119a0;
$custom-light: #8b5fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#5119a0",
  "rgb": {
    "r": 81,
    "g": 25,
    "b": 160
  },
  "hsl": {
    "h": 264.889,
    "s": 72.973,
    "l": 36.275
  },
  "oklch": {
    "l": 0.39237,
    "c": 0.19373,
    "h": 294
  },
  "luminance": 0.04983
}

Semantic roles & 50–950 ramp

primary
#5119A0
secondary
#95C64F
accent
#F038A4
background
#F9F5FB
surface
#F1EAF7
border
#CBC6D0
text
#0D0512
muted
#7E7981

Preview Lab

Preview with #5119A0

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

Preview Lab → · Contrast checker → · Palette generator →

#5119A0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva