#5934A2#5934A2

#5934A2 is a dark, vivid violet. Relative luminance 0.072; OKLCH L 43.4% C 0.168 H 293.6°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#5934A2
RGBrgb(89, 52, 162)
HSLhsl(260, 51%, 42%)
HSVhsv(260, 68%, 64%)
CMYKcmyk(45.1%, 67.9%, 0%, 36.5%)
CIE-LABlab(32.23, 42.01, -53.76)
CIE-LCHlch(32.23, 68.23, 308.00°)
OKLaboklab(43.41% 0.0673 -0.1538)
OKLCHoklch(43.41% 0.168 293.6)
XYZxyz(11.8676, 7.1881, 34.9376)
Luminance0.0719 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5934A2 #7DA234
analogous
#3446A2 #5934A2 #9034A2
triadic
#5934A2 #A25934 #34A259
tetradic
#5934A2 #A23446 #7DA234 #34A290
square
#5934A2 #A23446 #7DA234 #34A290
split-complementary
#5934A2 #A29034 #46A234
monochromatic
#261645 #402574 #5934A2 #764DC6 #9A7CD5

Accessibility & contrast

On white

8.62
#5934A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#5934A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5934A2#FFFFFF#000000##FFFFFF
##5934A21.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA5
Deuteranopia (green-blind)
#004AA0
Tritanopia (blue-blind)
#444F66
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #5934a2;
/* rgb */ color: rgb(89, 52, 162);
/* oklch */ color: oklch(43.4% 0.168 293.6);
Tailwind
colors: {
  custom: {
    50: '#8e6ebe',
    500: '#5934a2',
    950: '#000000',
  },
}
SCSS
$custom: #5934a2;
$custom-light: #8e6ebe;
$custom-dark: #000000;
JSON
{
  "hex": "#5934a2",
  "rgb": {
    "r": 89,
    "g": 52,
    "b": 162
  },
  "hsl": {
    "h": 260.182,
    "s": 51.402,
    "l": 41.961
  },
  "oklch": {
    "l": 0.4341,
    "c": 0.16787,
    "h": 293.6
  },
  "luminance": 0.07188
}

Semantic roles & 50–950 ramp

primary
#5934A2
secondary
#A5BE74
accent
#DB4DAB
background
#F9F6FB
surface
#F1ECF7
border
#CBC7D0
text
#0D0712
muted
#7E7A81

Preview Lab

Preview with #5934A2

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

Preview Lab → · Contrast checker → · Palette generator →

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