#5935A3#5935A3

#5935A3 is a dark, vivid violet. Relative luminance 0.073; OKLCH L 43.6% C 0.168 H 293.2°. Best body text is #FFFFFF at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#5935A3
RGBrgb(89, 53, 163)
HSLhsl(260, 51%, 42%)
HSVhsv(260, 67%, 64%)
CMYKcmyk(45.4%, 67.5%, 0%, 36.1%)
CIE-LABlab(32.51, 41.75, -53.91)
CIE-LCHlch(32.51, 68.19, 307.75°)
OKLaboklab(43.64% 0.0661 -0.1542)
OKLCHoklch(43.64% 0.168 293.2)
XYZxyz(12.0020, 7.3140, 35.4226)
Luminance0.0731 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5935A3 #7FA335
analogous
#3548A3 #5935A3 #9035A3
triadic
#5935A3 #A35935 #35A359
tetradic
#5935A3 #A33548 #7FA335 #35A390
square
#5935A3 #A33548 #7FA335 #35A390
split-complementary
#5935A3 #A39035 #48A335
monochromatic
#271747 #402675 #5935A3 #764FC6 #9A7ED5

Accessibility & contrast

On white

8.53
#5935A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#5935A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5935A3#FFFFFF#000000##FFFFFF
##5935A31.008.532.468.53
#FFFFFF8.531.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA6
Deuteranopia (green-blind)
#004AA1
Tritanopia (blue-blind)
#445067
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #5935a3;
/* rgb */ color: rgb(89, 53, 163);
/* oklch */ color: oklch(43.6% 0.168 293.2);
Tailwind
colors: {
  custom: {
    50: '#8e6fbf',
    500: '#5935a3',
    950: '#000000',
  },
}
SCSS
$custom: #5935a3;
$custom-light: #8e6fbf;
$custom-dark: #000000;
JSON
{
  "hex": "#5935a3",
  "rgb": {
    "r": 89,
    "g": 53,
    "b": 163
  },
  "hsl": {
    "h": 259.636,
    "s": 50.926,
    "l": 42.353
  },
  "oklch": {
    "l": 0.43636,
    "c": 0.16779,
    "h": 293.2
  },
  "luminance": 0.07314
}

Semantic roles & 50–950 ramp

primary
#5935A3
secondary
#A6BE76
accent
#DA4DAC
background
#F9F6FB
surface
#F1ECF7
border
#CBC7D0
text
#0D0712
muted
#7E7A81

Preview Lab

Preview with #5935A3

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

Preview Lab → · Contrast checker → · Palette generator →

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