#5726A3#5726A3

#5726A3 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.5% C 0.185 H 294.7°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#5726A3
RGBrgb(87, 38, 163)
HSLhsl(264, 62%, 39%)
HSVhsv(264, 77%, 64%)
CMYKcmyk(46.6%, 76.7%, 0%, 36.1%)
CIE-LABlab(29.55, 49.01, -58.75)
CIE-LCHlch(29.55, 76.51, 309.84°)
OKLaboklab(41.48% 0.0775 -0.1684)
OKLCHoklch(41.48% 0.185 294.7)
XYZxyz(11.2327, 6.0565, 35.2204)
Luminance0.0606 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5726A3 #72A326
analogous
#2634A3 #5726A3 #9626A3
triadic
#5726A3 #A35726 #26A357
tetradic
#5726A3 #A32634 #72A326 #26A396
square
#5726A3 #A32634 #72A326 #26A396
split-complementary
#5726A3 #A39626 #34A326
monochromatic
#220F40 #3D1A71 #5726A3 #7236D0 #9568DC

Accessibility & contrast

On white

9.50
#5726A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#5726A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5726A3
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5726A3#FFFFFF#000000##FFFFFF
##5726A31.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A7
Deuteranopia (green-blind)
#0044A1
Tritanopia (blue-blind)
#414863
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #5726a3;
/* rgb */ color: rgb(87, 38, 163);
/* oklch */ color: oklch(41.5% 0.185 294.7);
Tailwind
colors: {
  custom: {
    50: '#8e66bf',
    500: '#5726a3',
    950: '#000000',
  },
}
SCSS
$custom: #5726a3;
$custom-light: #8e66bf;
$custom-dark: #000000;
JSON
{
  "hex": "#5726a3",
  "rgb": {
    "r": 87,
    "g": 38,
    "b": 163
  },
  "hsl": {
    "h": 263.52,
    "s": 62.189,
    "l": 39.412
  },
  "oklch": {
    "l": 0.41484,
    "c": 0.18539,
    "h": 294.7
  },
  "luminance": 0.06057
}

Semantic roles & 50–950 ramp

primary
#5726A3
secondary
#9DC263
accent
#E543A5
background
#F9F6FB
surface
#F1EBF7
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #5726A3

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

Preview Lab → · Contrast checker → · Palette generator →

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