#5129A0#5129A0

#5129A0 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 40.9% C 0.178 H 291.9°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#5129A0
RGBrgb(81, 41, 160)
HSLhsl(260, 59%, 39%)
HSVhsv(260, 74%, 63%)
CMYKcmyk(49.4%, 74.4%, 0%, 37.3%)
CIE-LABlab(29.09, 45.79, -57.72)
CIE-LCHlch(29.09, 73.67, 308.42°)
OKLaboklab(40.91% 0.0666 -0.1656)
OKLCHoklch(40.91% 0.179 291.9)
XYZxyz(10.5297, 5.8729, 33.8297)
Luminance0.0587 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5129A0 #78A029
analogous
#293DA0 #5129A0 #8D29A0
triadic
#5129A0 #A05129 #29A051
tetradic
#5129A0 #A0293D #78A029 #29A08D
square
#5129A0 #A0293D #78A029 #29A08D
split-complementary
#5129A0 #A08D29 #3DA029
monochromatic
#20103F #381D6F #5129A0 #6B3ACC #906AD9

Accessibility & contrast

On white

9.66
#5129A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#5129A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5129A0
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5129A0#FFFFFF#000000##FFFFFF
##5129A01.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A3
Deuteranopia (green-blind)
#00429E
Tritanopia (blue-blind)
#374962
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #5129a0;
/* rgb */ color: rgb(81, 41, 160);
/* oklch */ color: oklch(40.9% 0.178 291.9);
Tailwind
colors: {
  custom: {
    50: '#8a67bd',
    500: '#5129a0',
    950: '#000000',
  },
}
SCSS
$custom: #5129a0;
$custom-light: #8a67bd;
$custom-dark: #000000;
JSON
{
  "hex": "#5129a0",
  "rgb": {
    "r": 81,
    "g": 41,
    "b": 160
  },
  "hsl": {
    "h": 260.168,
    "s": 59.204,
    "l": 39.412
  },
  "oklch": {
    "l": 0.40914,
    "c": 0.1785,
    "h": 291.9
  },
  "luminance": 0.05873
}

Semantic roles & 50–950 ramp

primary
#5129A0
secondary
#A1BF65
accent
#E245AE
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0D0612
muted
#7D7A81

Preview Lab

Preview with #5129A0

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

Preview Lab → · Contrast checker → · Palette generator →

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