#5934AA#5934AA

#5934AA is a dark, vivid violet. Relative luminance 0.075; OKLCH L 44.1% C 0.178 H 291.8°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#5934AA
RGBrgb(89, 52, 170)
HSLhsl(259, 53%, 44%)
HSVhsv(259, 69%, 67%)
CMYKcmyk(47.6%, 69.4%, 0%, 33.3%)
CIE-LABlab(32.88, 44.27, -57.52)
CIE-LCHlch(32.88, 72.58, 307.58°)
OKLaboklab(44.08% 0.0661 -0.1648)
OKLCHoklch(44.08% 0.178 291.8)
XYZxyz(12.6015, 7.4817, 38.8026)
Luminance0.0748 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5934AA #85AA34
analogous
#344AAA #5934AA #9434AA
triadic
#5934AA #AA5934 #34AA59
tetradic
#5934AA #AA344A #85AA34 #34AA94
square
#5934AA #AA344A #85AA34 #34AA94
split-complementary
#5934AA #AA9434 #4AAA34
monochromatic
#28174C #40267B #5934AA #7751CA #9C80D8

Accessibility & contrast

On white

8.41
#5934AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#5934AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5934AA#FFFFFF#000000##FFFFFF
##5934AA1.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAE
Deuteranopia (green-blind)
#004BA8
Tritanopia (blue-blind)
#40526B
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #5934aa;
/* rgb */ color: rgb(89, 52, 170);
/* oklch */ color: oklch(44.1% 0.178 291.8);
Tailwind
colors: {
  custom: {
    50: '#8f6ec4',
    500: '#5934aa',
    950: '#000000',
  },
}
SCSS
$custom: #5934aa;
$custom-light: #8f6ec4;
$custom-dark: #000000;
JSON
{
  "hex": "#5934aa",
  "rgb": {
    "r": 89,
    "g": 52,
    "b": 170
  },
  "hsl": {
    "h": 258.814,
    "s": 53.153,
    "l": 43.529
  },
  "oklch": {
    "l": 0.44077,
    "c": 0.17757,
    "h": 291.8
  },
  "luminance": 0.07482
}

Semantic roles & 50–950 ramp

primary
#5934AA
secondary
#ABC178
accent
#DD4BAF
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #5934AA

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

Preview Lab → · Contrast checker → · Palette generator →

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