#5932DB#5932DB

#5932DB is a mid, highly saturated violet. Relative luminance 0.095; OKLCH L 48.3% C 0.236 H 283.8°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#5932DB
RGBrgb(89, 50, 219)
HSLhsl(254, 70%, 53%)
HSVhsv(254, 77%, 86%)
CMYKcmyk(59.4%, 77.2%, 0%, 14.1%)
CIE-LABlab(36.96, 59.07, -79.55)
CIE-LCHlch(36.96, 99.08, 306.60°)
OKLaboklab(48.31% 0.0561 -0.2293)
OKLCHoklch(48.31% 0.236 283.8)
XYZxyz(18.0427, 9.5183, 67.8906)
Luminance0.0952 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5932DB #B4DB32
analogous
#3260DB #5932DB #AD32DB
triadic
#5932DB #DB5932 #32DB59
tetradic
#5932DB #DB3260 #B4DB32 #32DBAD
square
#5932DB #DB3260 #B4DB32 #32DBAD
split-complementary
#5932DB #DBAD32 #60DB32
monochromatic
#2E167D #411FB1 #5932DB #8366E4 #AD9AED

Accessibility & contrast

On white

7.23
#5932DB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#5932DB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5932DB
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5932DB#FFFFFF#000000##FFFFFF
##5932DB1.007.232.907.23
#FFFFFF7.231.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CE0
Deuteranopia (green-blind)
#0051D8
Tritanopia (blue-blind)
#006486
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #5932db;
/* rgb */ color: rgb(89, 50, 219);
/* oklch */ color: oklch(48.3% 0.236 283.8);
Tailwind
colors: {
  custom: {
    50: '#976fe8',
    500: '#5932db',
    950: '#000000',
  },
}
SCSS
$custom: #5932db;
$custom-light: #976fe8;
$custom-dark: #000000;
JSON
{
  "hex": "#5932db",
  "rgb": {
    "r": 89,
    "g": 50,
    "b": 219
  },
  "hsl": {
    "h": 253.846,
    "s": 70.124,
    "l": 52.745
  },
  "oklch": {
    "l": 0.48309,
    "c": 0.23607,
    "h": 283.8
  },
  "luminance": 0.0952
}

Semantic roles & 50–950 ramp

primary
#5932DB
secondary
#C8D990
accent
#ED3BC4
background
#FAF6FE
surface
#F3ECFD
border
#CDC7D5
text
#0F0816
muted
#7F7B84

Preview Lab

Preview with #5932DB

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

Preview Lab → · Contrast checker → · Palette generator →

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