#5726AE#5726AE

#5726AE is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.5% C 0.198 H 292.1°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#5726AE
RGBrgb(87, 38, 174)
HSLhsl(262, 64%, 42%)
HSVhsv(262, 78%, 68%)
CMYKcmyk(50%, 78.2%, 0%, 31.8%)
CIE-LABlab(30.56, 51.94, -63.72)
CIE-LCHlch(30.56, 82.20, 309.18°)
OKLaboklab(42.5% 0.0744 -0.183)
OKLCHoklch(42.5% 0.198 292.1)
XYZxyz(12.2614, 6.4680, 40.6386)
Luminance0.0647 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5726AE #7DAE26
analogous
#2639AE #5726AE #9B26AE
triadic
#5726AE #AE5726 #26AE57
tetradic
#5726AE #AE2639 #7DAE26 #26AE9B
square
#5726AE #AE2639 #7DAE26 #26AE9B
split-complementary
#5726AE #AE9B26 #39AE26
monochromatic
#25104A #3E1B7C #5726AE #733DD5 #976FE0

Accessibility & contrast

On white

9.16
#5726AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#5726AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5726AE
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5726AE#FFFFFF#000000##FFFFFF
##5726AE1.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB2
Deuteranopia (green-blind)
#0045AB
Tritanopia (blue-blind)
#3A4C69
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #5726ae;
/* rgb */ color: rgb(87, 38, 174);
/* oklch */ color: oklch(42.5% 0.198 292.1);
Tailwind
colors: {
  custom: {
    50: '#9066c7',
    500: '#5726ae',
    950: '#000000',
  },
}
SCSS
$custom: #5726ae;
$custom-light: #9066c7;
$custom-dark: #000000;
JSON
{
  "hex": "#5726ae",
  "rgb": {
    "r": 87,
    "g": 38,
    "b": 174
  },
  "hsl": {
    "h": 261.618,
    "s": 64.151,
    "l": 41.569
  },
  "oklch": {
    "l": 0.42498,
    "c": 0.19751,
    "h": 292.1
  },
  "luminance": 0.06468
}

Semantic roles & 50–950 ramp

primary
#5726AE
secondary
#A5C66A
accent
#E741AB
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #5726AE

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

Preview Lab → · Contrast checker → · Palette generator →

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