#5936AF#5936AF

#5936AF is a dark, vivid violet. Relative luminance 0.079; OKLCH L 44.8% C 0.181 H 290.4°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#5936AF
RGBrgb(89, 54, 175)
HSLhsl(257, 53%, 45%)
HSVhsv(257, 69%, 69%)
CMYKcmyk(49.1%, 69.1%, 0%, 31.4%)
CIE-LABlab(33.68, 44.61, -59.20)
CIE-LCHlch(33.68, 74.13, 307.00°)
OKLaboklab(44.78% 0.0633 -0.1698)
OKLCHoklch(44.78% 0.181 290.4)
XYZxyz(13.1746, 7.8568, 41.3715)
Luminance0.0786 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5936AF #8CAF36
analogous
#3650AF #5936AF #9536AF
triadic
#5936AF #AF5936 #36AF59
tetradic
#5936AF #AF3650 #8CAF36 #36AF95
square
#5936AF #AF3650 #8CAF36 #36AF95
split-complementary
#5936AF #AF9536 #50AF36
monochromatic
#291951 #412880 #5936AF #7957CB #9E86DA

Accessibility & contrast

On white

8.17
#5936AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#5936AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5936AF
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5936AF#FFFFFF#000000##FFFFFF
##5936AF1.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B3
Deuteranopia (green-blind)
#004CAD
Tritanopia (blue-blind)
#3D556E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #5936af;
/* rgb */ color: rgb(89, 54, 175);
/* oklch */ color: oklch(44.8% 0.181 290.4);
Tailwind
colors: {
  custom: {
    50: '#9070c8',
    500: '#5936af',
    950: '#000000',
  },
}
SCSS
$custom: #5936af;
$custom-light: #9070c8;
$custom-dark: #000000;
JSON
{
  "hex": "#5936af",
  "rgb": {
    "r": 89,
    "g": 54,
    "b": 175
  },
  "hsl": {
    "h": 257.355,
    "s": 52.838,
    "l": 44.902
  },
  "oklch": {
    "l": 0.4478,
    "c": 0.18116,
    "h": 290.4
  },
  "luminance": 0.07857
}

Semantic roles & 50–950 ramp

primary
#5936AF
secondary
#AFC37D
accent
#DC4CB2
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #5936AF

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

Preview Lab → · Contrast checker → · Palette generator →

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