#5932B2#5932B2

#5932B2 is a dark, vivid violet. Relative luminance 0.076; OKLCH L 44.5% C 0.189 H 290.5°. Best body text is #FFFFFF at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#5932B2
RGBrgb(89, 50, 178)
HSLhsl(258, 56%, 45%)
HSVhsv(258, 72%, 70%)
CMYKcmyk(50%, 71.9%, 0%, 30.2%)
CIE-LABlab(33.18, 47.58, -61.81)
CIE-LCHlch(33.18, 78.00, 307.58°)
OKLaboklab(44.5% 0.0664 -0.1774)
OKLCHoklch(44.5% 0.189 290.5)
XYZxyz(13.2940, 7.6189, 42.8810)
Luminance0.0762 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5932B2 #8BB232
analogous
#324BB2 #5932B2 #9932B2
triadic
#5932B2 #B25932 #32B259
tetradic
#5932B2 #B2324B #8BB232 #32B299
square
#5932B2 #B2324B #8BB232 #32B299
split-complementary
#5932B2 #B29932 #4BB232
monochromatic
#291752 #412582 #5932B2 #7853CF #9E82DC

Accessibility & contrast

On white

8.32
#5932B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#5932B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5932B2
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5932B2#FFFFFF#000000##FFFFFF
##5932B21.008.322.528.32
#FFFFFF8.321.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B6
Deuteranopia (green-blind)
#004BB0
Tritanopia (blue-blind)
#3B536F
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #5932b2;
/* rgb */ color: rgb(89, 50, 178);
/* oklch */ color: oklch(44.5% 0.189 290.5);
Tailwind
colors: {
  custom: {
    50: '#906dca',
    500: '#5932b2',
    950: '#000000',
  },
}
SCSS
$custom: #5932b2;
$custom-light: #906dca;
$custom-dark: #000000;
JSON
{
  "hex": "#5932b2",
  "rgb": {
    "r": 89,
    "g": 50,
    "b": 178
  },
  "hsl": {
    "h": 258.281,
    "s": 56.14,
    "l": 44.706
  },
  "oklch": {
    "l": 0.44497,
    "c": 0.18944,
    "h": 290.5
  },
  "luminance": 0.07619
}

Semantic roles & 50–950 ramp

primary
#5932B2
secondary
#AEC57B
accent
#DF48B1
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #5932B2

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

Preview Lab → · Contrast checker → · Palette generator →

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