#5729A9#5729A9

#5729A9 is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.4% C 0.189 H 292.9°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#5729A9
RGBrgb(87, 41, 169)
HSLhsl(262, 61%, 41%)
HSVhsv(262, 76%, 66%)
CMYKcmyk(48.5%, 75.7%, 0%, 33.7%)
CIE-LABlab(30.58, 49.22, -60.68)
CIE-LCHlch(30.58, 78.14, 309.05°)
OKLaboklab(42.37% 0.0734 -0.1741)
OKLCHoklch(42.37% 0.189 292.9)
XYZxyz(11.8829, 6.4763, 38.1524)
Luminance0.0648 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5729A9 #7BA929
analogous
#293BA9 #5729A9 #9729A9
triadic
#5729A9 #A95729 #29A957
tetradic
#5729A9 #A9293B #7BA929 #29A997
square
#5729A9 #A9293B #7BA929 #29A997
split-complementary
#5729A9 #A99729 #3BA929
monochromatic
#241146 #3E1D78 #5729A9 #733FD0 #9770DC

Accessibility & contrast

On white

9.15
#5729A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#5729A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5729A9
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5729A9#FFFFFF#000000##FFFFFF
##5729A91.009.152.309.15
#FFFFFF9.151.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AAD
Deuteranopia (green-blind)
#0046A7
Tritanopia (blue-blind)
#3D4C67
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #5729a9;
/* rgb */ color: rgb(87, 41, 169);
/* oklch */ color: oklch(42.4% 0.189 292.9);
Tailwind
colors: {
  custom: {
    50: '#8f68c4',
    500: '#5729a9',
    950: '#000000',
  },
}
SCSS
$custom: #5729a9;
$custom-light: #8f68c4;
$custom-dark: #000000;
JSON
{
  "hex": "#5729a9",
  "rgb": {
    "r": 87,
    "g": 41,
    "b": 169
  },
  "hsl": {
    "h": 261.563,
    "s": 60.952,
    "l": 41.176
  },
  "oklch": {
    "l": 0.42371,
    "c": 0.18895,
    "h": 292.9
  },
  "luminance": 0.06477
}

Semantic roles & 50–950 ramp

primary
#5729A9
secondary
#A3C36A
accent
#E444AA
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #5729A9

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

Preview Lab → · Contrast checker → · Palette generator →

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