#5729C0#5729C0

#5729C0 is a dark, highly saturated violet. Relative luminance 0.074; OKLCH L 44.5% C 0.214 H 288.2°. Best body text is #FFFFFF at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#5729C0
RGBrgb(87, 41, 192)
HSLhsl(258, 65%, 46%)
HSVhsv(258, 79%, 75%)
CMYKcmyk(54.7%, 78.6%, 0%, 24.7%)
CIE-LABlab(32.74, 55.45, -70.82)
CIE-LCHlch(32.74, 89.95, 308.06°)
OKLaboklab(44.53% 0.0668 -0.2038)
OKLCHoklch(44.53% 0.214 288.2)
XYZxyz(14.2350, 7.4172, 50.5405)
Luminance0.0742 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5729C0 #92C029
analogous
#2946C0 #5729C0 #A229C0
triadic
#5729C0 #C05729 #29C057
tetradic
#5729C0 #C02946 #92C029 #29C0A2
square
#5729C0 #C02946 #92C029 #29C0A2
split-complementary
#5729C0 #C0A229 #46C029
monochromatic
#29135B #401E8E #5729C0 #784DD9 #9E80E4

Accessibility & contrast

On white

8.46
#5729C0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#5729C0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5729C0
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5729C0#FFFFFF#000000##FFFFFF
##5729C01.008.462.488.46
#FFFFFF8.461.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050C4
Deuteranopia (green-blind)
#0049BD
Tritanopia (blue-blind)
#2B5574
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #5729c0;
/* rgb */ color: rgb(87, 41, 192);
/* oklch */ color: oklch(44.5% 0.214 288.2);
Tailwind
colors: {
  custom: {
    50: '#9269d4',
    500: '#5729c0',
    950: '#000000',
  },
}
SCSS
$custom: #5729c0;
$custom-light: #9269d4;
$custom-dark: #000000;
JSON
{
  "hex": "#5729c0",
  "rgb": {
    "r": 87,
    "g": 41,
    "b": 192
  },
  "hsl": {
    "h": 258.278,
    "s": 64.807,
    "l": 45.686
  },
  "oklch": {
    "l": 0.44531,
    "c": 0.21446,
    "h": 288.2
  },
  "luminance": 0.07418
}

Semantic roles & 50–950 ramp

primary
#5729C0
secondary
#B3CC78
accent
#E840B5
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #5729C0

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

Preview Lab → · Contrast checker → · Palette generator →

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