#5726C7#5726C7

#5726C7 is a dark, highly saturated violet. Relative luminance 0.075; OKLCH L 44.9% C 0.225 H 287.2°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#5726C7
RGBrgb(87, 38, 199)
HSLhsl(258, 68%, 46%)
HSVhsv(258, 81%, 78%)
CMYKcmyk(56.3%, 80.9%, 0%, 22%)
CIE-LABlab(33.00, 58.59, -74.51)
CIE-LCHlch(33.00, 94.78, 308.18°)
OKLaboklab(44.92% 0.0664 -0.2145)
OKLCHoklch(44.92% 0.225 287.2)
XYZxyz(14.9293, 7.5352, 54.6895)
Luminance0.0754 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5726C7 #96C726
analogous
#2646C7 #5726C7 #A826C7
triadic
#5726C7 #C75726 #26C757
tetradic
#5726C7 #C72646 #96C726 #26C7A8
square
#5726C7 #C72646 #96C726 #26C7A8
split-complementary
#5726C7 #C7A826 #46C726
monochromatic
#2A1260 #411C94 #5726C7 #794DDD #A081E7

Accessibility & contrast

On white

8.38
#5726C7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#5726C7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5726C7
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5726C7#FFFFFF#000000##FFFFFF
##5726C71.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051CB
Deuteranopia (green-blind)
#0049C4
Tritanopia (blue-blind)
#225778
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #5726c7;
/* rgb */ color: rgb(87, 38, 199);
/* oklch */ color: oklch(44.9% 0.225 287.2);
Tailwind
colors: {
  custom: {
    50: '#9368d9',
    500: '#5726c7',
    950: '#000000',
  },
}
SCSS
$custom: #5726c7;
$custom-light: #9368d9;
$custom-dark: #000000;
JSON
{
  "hex": "#5726c7",
  "rgb": {
    "r": 87,
    "g": 38,
    "b": 199
  },
  "hsl": {
    "h": 258.261,
    "s": 67.932,
    "l": 46.471
  },
  "oklch": {
    "l": 0.44917,
    "c": 0.22457,
    "h": 287.2
  },
  "luminance": 0.07536
}

Semantic roles & 50–950 ramp

primary
#5726C7
secondary
#B5CF79
accent
#EB3DB6
background
#F9F6FD
surface
#F2EBFB
border
#CCC6D4
text
#0E0715
muted
#7E7A83

Preview Lab

Preview with #5726C7

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

Preview Lab → · Contrast checker → · Palette generator →

#5726C7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva