#5129A9#5129A9

#5129A9 is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.7% C 0.189 H 289.9°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#5129A9
RGBrgb(81, 41, 169)
HSLhsl(259, 61%, 41%)
HSVhsv(259, 76%, 66%)
CMYKcmyk(52.1%, 75.7%, 0%, 33.7%)
CIE-LABlab(29.91, 48.30, -61.81)
CIE-LCHlch(29.91, 78.45, 308.00°)
OKLaboklab(41.74% 0.0643 -0.1776)
OKLCHoklch(41.74% 0.189 289.9)
XYZxyz(11.3456, 6.1993, 38.1272)
Luminance0.0620 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5129A9 #81A929
analogous
#2941A9 #5129A9 #9129A9
triadic
#5129A9 #A95129 #29A951
tetradic
#5129A9 #A92941 #81A929 #29A991
square
#5129A9 #A92941 #81A929 #29A991
split-complementary
#5129A9 #A99129 #41A929
monochromatic
#221146 #391D78 #5129A9 #6C3FD0 #9270DC

Accessibility & contrast

On white

9.38
#5129A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#5129A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5129A9
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5129A9#FFFFFF#000000##FFFFFF
##5129A91.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AD
Deuteranopia (green-blind)
#0043A7
Tritanopia (blue-blind)
#314C67
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #5129a9;
/* rgb */ color: rgb(81, 41, 169);
/* oklch */ color: oklch(41.7% 0.189 289.9);
Tailwind
colors: {
  custom: {
    50: '#8b67c4',
    500: '#5129a9',
    950: '#000000',
  },
}
SCSS
$custom: #5129a9;
$custom-light: #8b67c4;
$custom-dark: #000000;
JSON
{
  "hex": "#5129a9",
  "rgb": {
    "r": 81,
    "g": 41,
    "b": 169
  },
  "hsl": {
    "h": 258.75,
    "s": 60.952,
    "l": 41.176
  },
  "oklch": {
    "l": 0.41742,
    "c": 0.1889,
    "h": 289.9
  },
  "luminance": 0.062
}

Semantic roles & 50–950 ramp

primary
#5129A9
secondary
#A8C36A
accent
#E444B2
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #5129A9

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

Preview Lab → · Contrast checker → · Palette generator →

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