#5736AC#5736AC

#5736AC is a dark, vivid violet. Relative luminance 0.076; OKLCH L 44.3% C 0.178 H 290.1°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#5736AC
RGBrgb(87, 54, 172)
HSLhsl(257, 52%, 44%)
HSVhsv(257, 69%, 67%)
CMYKcmyk(49.4%, 68.6%, 0%, 32.5%)
CIE-LABlab(33.23, 43.39, -58.16)
CIE-LCHlch(33.23, 72.56, 306.73°)
OKLaboklab(44.33% 0.0609 -0.1668)
OKLCHoklch(44.33% 0.178 290.1)
XYZxyz(12.6939, 7.6426, 39.8281)
Luminance0.0764 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5736AC #8BAC36
analogous
#3650AC #5736AC #9236AC
triadic
#5736AC #AC5736 #36AC57
tetradic
#5736AC #AC3650 #8BAC36 #36AC92
square
#5736AC #AC3650 #8BAC36 #36AC92
split-complementary
#5736AC #AC9236 #50AC36
monochromatic
#28194F #3F277D #5736AC #7655CA #9C84D8

Accessibility & contrast

On white

8.30
#5736AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#5736AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5736AC
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5736AC#FFFFFF#000000##FFFFFF
##5736AC1.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B0
Deuteranopia (green-blind)
#004BAA
Tritanopia (blue-blind)
#3B546C
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #5736ac;
/* rgb */ color: rgb(87, 54, 172);
/* oklch */ color: oklch(44.3% 0.178 290.1);
Tailwind
colors: {
  custom: {
    50: '#8e6fc6',
    500: '#5736ac',
    950: '#000000',
  },
}
SCSS
$custom: #5736ac;
$custom-light: #8e6fc6;
$custom-dark: #000000;
JSON
{
  "hex": "#5736ac",
  "rgb": {
    "r": 87,
    "g": 54,
    "b": 172
  },
  "hsl": {
    "h": 256.78,
    "s": 52.212,
    "l": 44.314
  },
  "oklch": {
    "l": 0.44328,
    "c": 0.17753,
    "h": 290.1
  },
  "luminance": 0.07643
}

Semantic roles & 50–950 ramp

primary
#5736AC
secondary
#AEC27C
accent
#DC4CB4
background
#F9F6FC
surface
#F1ECF8
border
#CBC7D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #5736AC

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

Preview Lab → · Contrast checker → · Palette generator →

#5736AC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva