#5935AE#5935AE

#5935AE is a dark, vivid violet. Relative luminance 0.077; OKLCH L 44.6% C 0.181 H 290.8°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#5935AE
RGBrgb(89, 53, 174)
HSLhsl(258, 53%, 45%)
HSVhsv(258, 70%, 68%)
CMYKcmyk(48.9%, 69.5%, 0%, 31.8%)
CIE-LABlab(33.40, 44.87, -59.06)
CIE-LCHlch(33.40, 74.17, 307.23°)
OKLaboklab(44.56% 0.0644 -0.1693)
OKLCHoklch(44.56% 0.181 290.8)
XYZxyz(13.0307, 7.7255, 40.8408)
Luminance0.0773 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5935AE #8AAE35
analogous
#354EAE #5935AE #9635AE
triadic
#5935AE #AE5935 #35AE59
tetradic
#5935AE #AE354E #8AAE35 #35AE96
square
#5935AE #AE354E #8AAE35 #35AE96
split-complementary
#5935AE #AE9635 #4EAE35
monochromatic
#291850 #41277F #5935AE #7855CB #9D84DA

Accessibility & contrast

On white

8.25
#5935AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#5935AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5935AE
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5935AE#FFFFFF#000000##FFFFFF
##5935AE1.008.252.558.25
#FFFFFF8.251.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B2
Deuteranopia (green-blind)
#004CAC
Tritanopia (blue-blind)
#3D546D
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #5935ae;
/* rgb */ color: rgb(89, 53, 174);
/* oklch */ color: oklch(44.6% 0.181 290.8);
Tailwind
colors: {
  custom: {
    50: '#906fc7',
    500: '#5935ae',
    950: '#000000',
  },
}
SCSS
$custom: #5935ae;
$custom-light: #906fc7;
$custom-dark: #000000;
JSON
{
  "hex": "#5935ae",
  "rgb": {
    "r": 89,
    "g": 53,
    "b": 174
  },
  "hsl": {
    "h": 257.851,
    "s": 53.304,
    "l": 44.51
  },
  "oklch": {
    "l": 0.44555,
    "c": 0.18117,
    "h": 290.8
  },
  "luminance": 0.07726
}

Semantic roles & 50–950 ramp

primary
#5935AE
secondary
#AEC37C
accent
#DD4BB1
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #5935AE

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

Preview Lab → · Contrast checker → · Palette generator →

#5935AE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva