#5933A5#5933A5

#5933A5 is a dark, vivid violet. Relative luminance 0.072; OKLCH L 43.5% C 0.173 H 293.1°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#5933A5
RGBrgb(89, 51, 165)
HSLhsl(260, 53%, 42%)
HSVhsv(260, 69%, 65%)
CMYKcmyk(46.1%, 69.1%, 0%, 35.3%)
CIE-LABlab(32.28, 43.40, -55.50)
CIE-LCHlch(32.28, 70.46, 308.02°)
OKLaboklab(43.52% 0.0679 -0.1589)
OKLCHoklch(43.52% 0.173 293.1)
XYZxyz(12.0933, 7.2077, 36.3441)
Luminance0.0721 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5933A5 #7FA533
analogous
#3346A5 #5933A5 #9233A5
triadic
#5933A5 #A55933 #33A559
tetradic
#5933A5 #A53346 #7FA533 #33A592
square
#5933A5 #A53346 #7FA533 #33A592
split-complementary
#5933A5 #A59233 #46A533
monochromatic
#271648 #402576 #5933A5 #764DC8 #9A7CD6

Accessibility & contrast

On white

8.60
#5933A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#5933A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5933A5
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5933A5#FFFFFF#000000##FFFFFF
##5933A51.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA8
Deuteranopia (green-blind)
#004AA3
Tritanopia (blue-blind)
#434F68
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #5933a5;
/* rgb */ color: rgb(89, 51, 165);
/* oklch */ color: oklch(43.5% 0.173 293.1);
Tailwind
colors: {
  custom: {
    50: '#8f6dc1',
    500: '#5933a5',
    950: '#000000',
  },
}
SCSS
$custom: #5933a5;
$custom-light: #8f6dc1;
$custom-dark: #000000;
JSON
{
  "hex": "#5933a5",
  "rgb": {
    "r": 89,
    "g": 51,
    "b": 165
  },
  "hsl": {
    "h": 260,
    "s": 52.778,
    "l": 42.353
  },
  "oklch": {
    "l": 0.43517,
    "c": 0.17278,
    "h": 293.1
  },
  "luminance": 0.07208
}

Semantic roles & 50–950 ramp

primary
#5933A5
secondary
#A6BF75
accent
#DC4CAC
background
#F9F6FC
surface
#F1ECF8
border
#CBC7D1
text
#0D0712
muted
#7E7A81

Preview Lab

Preview with #5933A5

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

Preview Lab → · Contrast checker → · Palette generator →

#5933A5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva