#5935AD#5935AD

#5935AD is a dark, vivid violet. Relative luminance 0.077; OKLCH L 44.5% C 0.180 H 291.0°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#5935AD
RGBrgb(89, 53, 173)
HSLhsl(258, 53%, 44%)
HSVhsv(258, 69%, 68%)
CMYKcmyk(48.6%, 69.4%, 0%, 32.2%)
CIE-LABlab(33.32, 44.58, -58.59)
CIE-LCHlch(33.32, 73.63, 307.27°)
OKLaboklab(44.47% 0.0646 -0.168)
OKLCHoklch(44.47% 0.18 291)
XYZxyz(12.9336, 7.6867, 40.3293)
Luminance0.0769 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5935AD #89AD35
analogous
#354DAD #5935AD #9535AD
triadic
#5935AD #AD5935 #35AD59
tetradic
#5935AD #AD354D #89AD35 #35AD95
square
#5935AD #AD354D #89AD35 #35AD95
split-complementary
#5935AD #AD9535 #4DAD35
monochromatic
#29184F #41277E #5935AD #7854CB #9D83D9

Accessibility & contrast

On white

8.28
#5935AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#5935AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5935AD
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5935AD#FFFFFF#000000##FFFFFF
##5935AD1.008.282.548.28
#FFFFFF8.281.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B1
Deuteranopia (green-blind)
#004CAB
Tritanopia (blue-blind)
#3E536D
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #5935ad;
/* rgb */ color: rgb(89, 53, 173);
/* oklch */ color: oklch(44.5% 0.180 291.0);
Tailwind
colors: {
  custom: {
    50: '#906fc6',
    500: '#5935ad',
    950: '#000000',
  },
}
SCSS
$custom: #5935ad;
$custom-light: #906fc6;
$custom-dark: #000000;
JSON
{
  "hex": "#5935ad",
  "rgb": {
    "r": 89,
    "g": 53,
    "b": 173
  },
  "hsl": {
    "h": 258,
    "s": 53.097,
    "l": 44.314
  },
  "oklch": {
    "l": 0.4447,
    "c": 0.17996,
    "h": 291
  },
  "luminance": 0.07687
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5935AD

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

Preview Lab → · Contrast checker → · Palette generator →

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