#5935AA#5935AA

#5935AA is a dark, vivid violet. Relative luminance 0.076; OKLCH L 44.2% C 0.176 H 291.7°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#5935AA
RGBrgb(89, 53, 170)
HSLhsl(258, 52%, 44%)
HSVhsv(258, 69%, 67%)
CMYKcmyk(47.6%, 68.8%, 0%, 33.3%)
CIE-LABlab(33.07, 43.73, -57.20)
CIE-LCHlch(33.07, 72.00, 307.40°)
OKLaboklab(44.22% 0.0651 -0.1639)
OKLCHoklch(44.22% 0.176 291.7)
XYZxyz(12.6466, 7.5719, 38.8176)
Luminance0.0757 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5935AA #86AA35
analogous
#354BAA #5935AA #9335AA
triadic
#5935AA #AA5935 #35AA59
tetradic
#5935AA #AA354B #86AA35 #35AA93
square
#5935AA #AA354B #86AA35 #35AA93
split-complementary
#5935AA #AA9335 #4BAA35
monochromatic
#28184D #41267B #5935AA #7753C9 #9C82D8

Accessibility & contrast

On white

8.35
#5935AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#5935AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5935AA#FFFFFF#000000##FFFFFF
##5935AA1.008.352.518.35
#FFFFFF8.351.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050AE
Deuteranopia (green-blind)
#004BA8
Tritanopia (blue-blind)
#40526B
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #5935aa;
/* rgb */ color: rgb(89, 53, 170);
/* oklch */ color: oklch(44.2% 0.176 291.7);
Tailwind
colors: {
  custom: {
    50: '#8f6fc4',
    500: '#5935aa',
    950: '#000000',
  },
}
SCSS
$custom: #5935aa;
$custom-light: #8f6fc4;
$custom-dark: #000000;
JSON
{
  "hex": "#5935aa",
  "rgb": {
    "r": 89,
    "g": 53,
    "b": 170
  },
  "hsl": {
    "h": 258.462,
    "s": 52.466,
    "l": 43.725
  },
  "oklch": {
    "l": 0.44217,
    "c": 0.17633,
    "h": 291.7
  },
  "luminance": 0.07572
}

Semantic roles & 50–950 ramp

primary
#5935AA
secondary
#ABC17A
accent
#DC4CB0
background
#F9F6FC
surface
#F1ECF8
border
#CBC7D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #5935AA

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

Preview Lab → · Contrast checker → · Palette generator →

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