#5934A5#5934A5

#5934A5 is a dark, vivid violet. Relative luminance 0.073; OKLCH L 43.7% C 0.172 H 293.0°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#5934A5
RGBrgb(89, 52, 165)
HSLhsl(260, 52%, 43%)
HSVhsv(260, 68%, 65%)
CMYKcmyk(46.1%, 68.5%, 0%, 35.3%)
CIE-LABlab(32.47, 42.86, -55.18)
CIE-LCHlch(32.47, 69.87, 307.83°)
OKLaboklab(43.66% 0.0669 -0.1579)
OKLCHoklch(43.66% 0.172 293)
XYZxyz(12.1375, 7.2961, 36.3588)
Luminance0.0730 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5934A5 #80A534
analogous
#3447A5 #5934A5 #9234A5
triadic
#5934A5 #A55934 #34A559
tetradic
#5934A5 #A53447 #80A534 #34A592
square
#5934A5 #A53447 #80A534 #34A592
split-complementary
#5934A5 #A59234 #47A534
monochromatic
#271748 #402576 #5934A5 #764FC7 #9A7DD6

Accessibility & contrast

On white

8.54
#5934A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#5934A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5934A5
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5934A5#FFFFFF#000000##FFFFFF
##5934A51.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA8
Deuteranopia (green-blind)
#004AA3
Tritanopia (blue-blind)
#435068
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #5934a5;
/* rgb */ color: rgb(89, 52, 165);
/* oklch */ color: oklch(43.7% 0.172 293.0);
Tailwind
colors: {
  custom: {
    50: '#8f6ec1',
    500: '#5934a5',
    950: '#000000',
  },
}
SCSS
$custom: #5934a5;
$custom-light: #8f6ec1;
$custom-dark: #000000;
JSON
{
  "hex": "#5934a5",
  "rgb": {
    "r": 89,
    "g": 52,
    "b": 165
  },
  "hsl": {
    "h": 259.646,
    "s": 52.074,
    "l": 42.549
  },
  "oklch": {
    "l": 0.43658,
    "c": 0.17152,
    "h": 293
  },
  "luminance": 0.07296
}

Semantic roles & 50–950 ramp

primary
#5934A5
secondary
#A7BF76
accent
#DC4CAD
background
#F9F6FB
surface
#F1ECF7
border
#CBC7D0
text
#0D0712
muted
#7E7A81

Preview Lab

Preview with #5934A5

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

Preview Lab → · Contrast checker → · Palette generator →

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