#5935C1#5935C1

#5935C1 is a mid, highly saturated violet. Relative luminance 0.085; OKLCH L 46.2% C 0.204 H 287.3°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#5935C1
RGBrgb(89, 53, 193)
HSLhsl(255, 57%, 48%)
HSVhsv(255, 73%, 76%)
CMYKcmyk(53.9%, 72.5%, 0%, 24.3%)
CIE-LABlab(35.04, 50.29, -67.62)
CIE-LCHlch(35.04, 84.27, 306.64°)
OKLaboklab(46.22% 0.0606 -0.1944)
OKLCHoklch(46.22% 0.204 287.3)
XYZxyz(15.0157, 8.5195, 51.2950)
Luminance0.0852 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5935C1 #9DC135
analogous
#3557C1 #5935C1 #9F35C1
triadic
#5935C1 #C15935 #35C159
tetradic
#5935C1 #C13557 #9DC135 #35C19F
square
#5935C1 #C13557 #9DC135 #35C19F
split-complementary
#5935C1 #C19F35 #57C135
monochromatic
#2D1B61 #432891 #5935C1 #7E60D3 #A590E0

Accessibility & contrast

On white

7.77
#5935C1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#5935C1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5935C1
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5935C1#FFFFFF#000000##FFFFFF
##5935C11.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C5
Deuteranopia (green-blind)
#004FBE
Tritanopia (blue-blind)
#2E5B78
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #5935c1;
/* rgb */ color: rgb(89, 53, 193);
/* oklch */ color: oklch(46.2% 0.204 287.3);
Tailwind
colors: {
  custom: {
    50: '#9270d5',
    500: '#5935c1',
    950: '#000000',
  },
}
SCSS
$custom: #5935c1;
$custom-light: #9270d5;
$custom-dark: #000000;
JSON
{
  "hex": "#5935c1",
  "rgb": {
    "r": 89,
    "g": 53,
    "b": 193
  },
  "hsl": {
    "h": 255.429,
    "s": 56.911,
    "l": 48.235
  },
  "oklch": {
    "l": 0.46224,
    "c": 0.20367,
    "h": 287.3
  },
  "luminance": 0.0852
}

Semantic roles & 50–950 ramp

primary
#5935C1
secondary
#BACB87
accent
#E048B9
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #5935C1

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

Preview Lab → · Contrast checker → · Palette generator →

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