#5932A2#5932A2

#5932A2 is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.1% C 0.170 H 294.0°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#5932A2
RGBrgb(89, 50, 162)
HSLhsl(261, 53%, 42%)
HSVhsv(261, 69%, 64%)
CMYKcmyk(45.1%, 69.1%, 0%, 36.5%)
CIE-LABlab(31.84, 43.10, -54.41)
CIE-LCHlch(31.84, 69.41, 308.38°)
OKLaboklab(43.13% 0.0694 -0.1557)
OKLCHoklch(43.13% 0.17 294)
XYZxyz(11.7802, 7.0134, 34.9084)
Luminance0.0701 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5932A2 #7BA232
analogous
#3243A2 #5932A2 #9132A2
triadic
#5932A2 #A25932 #32A259
tetradic
#5932A2 #A23243 #7BA232 #32A291
square
#5932A2 #A23243 #7BA232 #32A291
split-complementary
#5932A2 #A29132 #43A232
monochromatic
#261544 #3F2473 #5932A2 #764AC7 #9979D6

Accessibility & contrast

On white

8.74
#5932A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#5932A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5932A2
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5932A2#FFFFFF#000000##FFFFFF
##5932A21.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA5
Deuteranopia (green-blind)
#0049A0
Tritanopia (blue-blind)
#444D66
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #5932a2;
/* rgb */ color: rgb(89, 50, 162);
/* oklch */ color: oklch(43.1% 0.170 294.0);
Tailwind
colors: {
  custom: {
    50: '#8e6dbe',
    500: '#5932a2',
    950: '#000000',
  },
}
SCSS
$custom: #5932a2;
$custom-light: #8e6dbe;
$custom-dark: #000000;
JSON
{
  "hex": "#5932a2",
  "rgb": {
    "r": 89,
    "g": 50,
    "b": 162
  },
  "hsl": {
    "h": 260.893,
    "s": 52.83,
    "l": 41.569
  },
  "oklch": {
    "l": 0.43128,
    "c": 0.17044,
    "h": 294
  },
  "luminance": 0.07014
}

Semantic roles & 50–950 ramp

primary
#5932A2
secondary
#A3BE72
accent
#DC4CAA
background
#F9F6FB
surface
#F1ECF7
border
#CBC7D0
text
#0D0712
muted
#7E7A81

Preview Lab

Preview with #5932A2

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

Preview Lab → · Contrast checker → · Palette generator →

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