#5729B7#5729B7

#5729B7 is a dark, highly saturated violet. Relative luminance 0.070; OKLCH L 43.7% C 0.205 H 289.9°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#5729B7
RGBrgb(87, 41, 183)
HSLhsl(259, 63%, 44%)
HSVhsv(259, 78%, 72%)
CMYKcmyk(52.5%, 77.6%, 0%, 28.2%)
CIE-LABlab(31.88, 53.01, -66.92)
CIE-LCHlch(31.88, 85.38, 308.38°)
OKLaboklab(43.67% 0.0695 -0.1924)
OKLCHoklch(43.67% 0.205 289.9)
XYZxyz(13.2682, 7.0304, 45.4485)
Luminance0.0703 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5729B7 #89B729
analogous
#2942B7 #5729B7 #9E29B7
triadic
#5729B7 #B75729 #29B757
tetradic
#5729B7 #B72942 #89B729 #29B79E
square
#5729B7 #B72942 #89B729 #29B79E
split-complementary
#5729B7 #B79E29 #42B729
monochromatic
#271353 #3F1E85 #5729B7 #7647D6 #9B79E1

Accessibility & contrast

On white

8.73
#5729B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#5729B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5729B7
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5729B7#FFFFFF#000000##FFFFFF
##5729B71.008.732.418.73
#FFFFFF8.731.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EBB
Deuteranopia (green-blind)
#0048B4
Tritanopia (blue-blind)
#33516F
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #5729b7;
/* rgb */ color: rgb(87, 41, 183);
/* oklch */ color: oklch(43.7% 0.205 289.9);
Tailwind
colors: {
  custom: {
    50: '#9168ce',
    500: '#5729b7',
    950: '#000000',
  },
}
SCSS
$custom: #5729b7;
$custom-light: #9168ce;
$custom-dark: #000000;
JSON
{
  "hex": "#5729b7",
  "rgb": {
    "r": 87,
    "g": 41,
    "b": 183
  },
  "hsl": {
    "h": 259.437,
    "s": 63.393,
    "l": 43.922
  },
  "oklch": {
    "l": 0.4367,
    "c": 0.20456,
    "h": 289.9
  },
  "luminance": 0.07031
}

Semantic roles & 50–950 ramp

primary
#5729B7
secondary
#ADC973
accent
#E641B1
background
#F9F6FC
surface
#F2EBF9
border
#CCC6D2
text
#0E0714
muted
#7E7A82

Preview Lab

Preview with #5729B7

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

Preview Lab → · Contrast checker → · Palette generator →

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