#5729A3#5729A3

#5729A3 is a dark, vivid violet. Relative luminance 0.063; OKLCH L 41.8% C 0.182 H 294.3°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#5729A3
RGBrgb(87, 41, 163)
HSLhsl(263, 60%, 40%)
HSVhsv(263, 75%, 64%)
CMYKcmyk(46.6%, 74.8%, 0%, 36.1%)
CIE-LABlab(30.05, 47.60, -57.94)
CIE-LCHlch(30.05, 74.99, 309.41°)
OKLaboklab(41.83% 0.0749 -0.166)
OKLCHoklch(41.83% 0.182 294.3)
XYZxyz(11.3325, 6.2561, 35.2537)
Luminance0.0626 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5729A3 #75A329
analogous
#2938A3 #5729A3 #9429A3
triadic
#5729A3 #A35729 #29A357
tetradic
#5729A3 #A32938 #75A329 #29A394
square
#5729A3 #A32938 #75A329 #29A394
split-complementary
#5729A3 #A39429 #38A329
monochromatic
#231041 #3D1D72 #5729A3 #733BCE #966CDA

Accessibility & contrast

On white

9.33
#5729A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#5729A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5729A3
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5729A3#FFFFFF#000000##FFFFFF
##5729A31.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A6
Deuteranopia (green-blind)
#0045A1
Tritanopia (blue-blind)
#414964
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #5729a3;
/* rgb */ color: rgb(87, 41, 163);
/* oklch */ color: oklch(41.8% 0.182 294.3);
Tailwind
colors: {
  custom: {
    50: '#8e67bf',
    500: '#5729a3',
    950: '#000000',
  },
}
SCSS
$custom: #5729a3;
$custom-light: #8e67bf;
$custom-dark: #000000;
JSON
{
  "hex": "#5729a3",
  "rgb": {
    "r": 87,
    "g": 41,
    "b": 163
  },
  "hsl": {
    "h": 262.623,
    "s": 59.804,
    "l": 40
  },
  "oklch": {
    "l": 0.41832,
    "c": 0.18217,
    "h": 294.3
  },
  "luminance": 0.06256
}

Semantic roles & 50–950 ramp

primary
#5729A3
secondary
#9FC167
accent
#E345A7
background
#F9F6FB
surface
#F1EBF7
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #5729A3

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

Preview Lab → · Contrast checker → · Palette generator →

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