#5924FF#5924FF

#5924FF is a mid, highly saturated violet. Relative luminance 0.106; OKLCH L 50.7% C 0.284 H 280.3°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#5924FF
RGBrgb(89, 36, 255)
HSLhsl(255, 100%, 57%)
HSVhsv(255, 86%, 100%)
CMYKcmyk(65.1%, 85.9%, 0%, 0%)
CIE-LABlab(38.90, 73.99, -96.74)
CIE-LCHlch(38.90, 121.79, 307.41°)
OKLaboklab(50.75% 0.0508 -0.2791)
OKLCHoklch(50.75% 0.284 280.3)
XYZxyz(22.7950, 10.6037, 95.4338)
Luminance0.1061 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5924FF #CAFF24
analogous
#245CFF #5924FF #C724FF
triadic
#5924FF #FF5924 #24FF59
tetradic
#5924FF #FF245C #CAFF24 #24FFC7
square
#5924FF #FF245C #CAFF24 #24FFC7
split-complementary
#5924FF #FFC724 #5CFF24
monochromatic
#2900A9 #3800E6 #5924FF #8761FF #B69EFF

Accessibility & contrast

On white

6.73
#5924FF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#5924FF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5924FF
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5924FF#FFFFFF#000000##FFFFFF
##5924FF1.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063FF
Deuteranopia (green-blind)
#0053FB
Tritanopia (blue-blind)
#006E99
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #5924ff;
/* rgb */ color: rgb(89, 36, 255);
/* oklch */ color: oklch(50.7% 0.284 280.3);
Tailwind
colors: {
  custom: {
    50: '#9e6bff',
    500: '#5924ff',
    950: '#000000',
  },
}
SCSS
$custom: #5924ff;
$custom-light: #9e6bff;
$custom-dark: #000000;
JSON
{
  "hex": "#5924ff",
  "rgb": {
    "r": 89,
    "g": 36,
    "b": 255
  },
  "hsl": {
    "h": 254.521,
    "s": 100,
    "l": 57.059
  },
  "oklch": {
    "l": 0.50749,
    "c": 0.28373,
    "h": 280.3
  },
  "luminance": 0.10606
}

Semantic roles & 50–950 ramp

primary
#5924FF
secondary
#D6EC93
accent
#FF29CB
background
#FAF6FF
surface
#F4ECFF
border
#CEC7D7
text
#110718
muted
#807A86

Preview Lab

Preview with #5924FF

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

Preview Lab → · Contrast checker → · Palette generator →

#5924FF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva