#5729B3#5729B3

#5729B3 is a dark, highly saturated violet. Relative luminance 0.069; OKLCH L 43.3% C 0.200 H 290.7°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#5729B3
RGBrgb(87, 41, 179)
HSLhsl(260, 63%, 43%)
HSVhsv(260, 77%, 70%)
CMYKcmyk(51.4%, 77.1%, 0%, 29.8%)
CIE-LABlab(31.50, 51.93, -65.16)
CIE-LCHlch(31.50, 83.32, 308.55°)
OKLaboklab(43.29% 0.0707 -0.1872)
OKLCHoklch(43.29% 0.2 290.7)
XYZxyz(12.8578, 6.8662, 43.2869)
Luminance0.0687 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5729B3 #85B329
analogous
#2940B3 #5729B3 #9C29B3
triadic
#5729B3 #B35729 #29B357
tetradic
#5729B3 #B32940 #85B329 #29B39C
square
#5729B3 #B32940 #85B329 #29B39C
split-complementary
#5729B3 #B39C29 #40B329
monochromatic
#27124F #3F1E81 #5729B3 #7545D4 #9A77E0

Accessibility & contrast

On white

8.85
#5729B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#5729B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5729B3
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5729B3#FFFFFF#000000##FFFFFF
##5729B31.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB7
Deuteranopia (green-blind)
#0047B0
Tritanopia (blue-blind)
#36506D
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #5729b3;
/* rgb */ color: rgb(87, 41, 179);
/* oklch */ color: oklch(43.3% 0.200 290.7);
Tailwind
colors: {
  custom: {
    50: '#9068cb',
    500: '#5729b3',
    950: '#000000',
  },
}
SCSS
$custom: #5729b3;
$custom-light: #9068cb;
$custom-dark: #000000;
JSON
{
  "hex": "#5729b3",
  "rgb": {
    "r": 87,
    "g": 41,
    "b": 179
  },
  "hsl": {
    "h": 260,
    "s": 62.727,
    "l": 43.137
  },
  "oklch": {
    "l": 0.43294,
    "c": 0.20012,
    "h": 290.7
  },
  "luminance": 0.06867
}

Semantic roles & 50–950 ramp

primary
#5729B3
secondary
#AAC770
accent
#E642AF
background
#F9F6FC
surface
#F2EBF9
border
#CCC6D2
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #5729B3

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

Preview Lab → · Contrast checker → · Palette generator →

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