#5936A2#5936A2

#5936A2 is a dark, vivid violet. Relative luminance 0.074; OKLCH L 43.7% C 0.165 H 293.2°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#5936A2
RGBrgb(89, 54, 162)
HSLhsl(259, 50%, 42%)
HSVhsv(259, 67%, 64%)
CMYKcmyk(45.1%, 66.7%, 0%, 36.5%)
CIE-LABlab(32.64, 40.91, -53.11)
CIE-LCHlch(32.64, 67.04, 307.61°)
OKLaboklab(43.7% 0.0652 -0.1519)
OKLCHoklch(43.7% 0.165 293.2)
XYZxyz(11.9588, 7.3705, 34.9680)
Luminance0.0737 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5936A2 #7FA236
analogous
#3649A2 #5936A2 #8F36A2
triadic
#5936A2 #A25936 #36A259
tetradic
#5936A2 #A23649 #7FA236 #36A28F
square
#5936A2 #A23649 #7FA236 #36A28F
split-complementary
#5936A2 #A28F36 #49A236
monochromatic
#271746 #402774 #5936A2 #7650C5 #9A7ED4

Accessibility & contrast

On white

8.49
#5936A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#5936A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5936A2
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5936A2#FFFFFF#000000##FFFFFF
##5936A21.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA5
Deuteranopia (green-blind)
#004BA0
Tritanopia (blue-blind)
#445067
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #5936a2;
/* rgb */ color: rgb(89, 54, 162);
/* oklch */ color: oklch(43.7% 0.165 293.2);
Tailwind
colors: {
  custom: {
    50: '#8e6fbe',
    500: '#5936a2',
    950: '#000000',
  },
}
SCSS
$custom: #5936a2;
$custom-light: #8e6fbe;
$custom-dark: #000000;
JSON
{
  "hex": "#5936a2",
  "rgb": {
    "r": 89,
    "g": 54,
    "b": 162
  },
  "hsl": {
    "h": 259.444,
    "s": 50,
    "l": 42.353
  },
  "oklch": {
    "l": 0.43701,
    "c": 0.16526,
    "h": 293.2
  },
  "luminance": 0.07371
}

Semantic roles & 50–950 ramp

primary
#5936A2
secondary
#A6BD77
accent
#DA4EAC
background
#F9F6FB
surface
#F1ECF7
border
#CBC7D0
text
#0D0712
muted
#7E7A81

Preview Lab

Preview with #5936A2

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

Preview Lab → · Contrast checker → · Palette generator →

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