#5736A2#5736A2

#5736A2 is a dark, vivid violet. Relative luminance 0.073; OKLCH L 43.5% C 0.165 H 292.2°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#5736A2
RGBrgb(87, 54, 162)
HSLhsl(258, 50%, 42%)
HSVhsv(258, 67%, 64%)
CMYKcmyk(46.3%, 66.7%, 0%, 36.5%)
CIE-LABlab(32.42, 40.51, -53.47)
CIE-LCHlch(32.42, 67.08, 307.15°)
OKLaboklab(43.5% 0.0623 -0.153)
OKLCHoklch(43.5% 0.165 292.2)
XYZxyz(11.7694, 7.2728, 34.9591)
Luminance0.0727 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5736A2 #81A236
analogous
#364BA2 #5736A2 #8D36A2
triadic
#5736A2 #A25736 #36A257
tetradic
#5736A2 #A2364B #81A236 #36A28D
square
#5736A2 #A2364B #81A236 #36A28D
split-complementary
#5736A2 #A28D36 #4BA236
monochromatic
#261746 #3E2774 #5736A2 #7450C5 #997ED4

Accessibility & contrast

On white

8.56
#5736A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#5736A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5736A2
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5736A2#FFFFFF#000000##FFFFFF
##5736A21.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA5
Deuteranopia (green-blind)
#004AA0
Tritanopia (blue-blind)
#415067
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #5736a2;
/* rgb */ color: rgb(87, 54, 162);
/* oklch */ color: oklch(43.5% 0.165 292.2);
Tailwind
colors: {
  custom: {
    50: '#8d6fbe',
    500: '#5736a2',
    950: '#000000',
  },
}
SCSS
$custom: #5736a2;
$custom-light: #8d6fbe;
$custom-dark: #000000;
JSON
{
  "hex": "#5736a2",
  "rgb": {
    "r": 87,
    "g": 54,
    "b": 162
  },
  "hsl": {
    "h": 258.333,
    "s": 50,
    "l": 42.353
  },
  "oklch": {
    "l": 0.43495,
    "c": 0.16519,
    "h": 292.2
  },
  "luminance": 0.07273
}

Semantic roles & 50–950 ramp

primary
#5736A2
secondary
#A8BD77
accent
#DA4EAF
background
#F9F6FB
surface
#F1ECF7
border
#CBC7D0
text
#0D0712
muted
#7E7A81

Preview Lab

Preview with #5736A2

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

Preview Lab → · Contrast checker → · Palette generator →

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