#5B24FF#5B24FF

#5B24FF is a mid, highly saturated violet. Relative luminance 0.107; OKLCH L 50.9% C 0.283 H 280.9°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#5B24FF
RGBrgb(91, 36, 255)
HSLhsl(255, 100%, 57%)
HSVhsv(255, 86%, 100%)
CMYKcmyk(64.3%, 85.9%, 0%, 0%)
CIE-LABlab(39.08, 74.13, -96.45)
CIE-LCHlch(39.08, 121.64, 307.55°)
OKLaboklab(50.91% 0.0537 -0.2783)
OKLCHoklch(50.91% 0.283 280.9)
XYZxyz(22.9896, 10.7041, 95.4430)
Luminance0.1071 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B24FF #C8FF24
analogous
#245BFF #5B24FF #C824FF
triadic
#5B24FF #FF5B24 #24FF5B
tetradic
#5B24FF #FF245B #C8FF24 #24FFC8
square
#5B24FF #FF245B #C8FF24 #24FFC8
split-complementary
#5B24FF #FFC824 #5BFF24
monochromatic
#2A00A9 #3A00E6 #5B24FF #8961FF #B79EFF

Accessibility & contrast

On white

6.69
#5B24FF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#5B24FF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B24FF
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B24FF#FFFFFF#000000##FFFFFF
##5B24FF1.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5b24ff;
/* rgb */ color: rgb(91, 36, 255);
/* oklch */ color: oklch(50.9% 0.283 280.9);
Tailwind
colors: {
  custom: {
    50: '#9f6bff',
    500: '#5b24ff',
    950: '#000000',
  },
}
SCSS
$custom: #5b24ff;
$custom-light: #9f6bff;
$custom-dark: #000000;
JSON
{
  "hex": "#5b24ff",
  "rgb": {
    "r": 91,
    "g": 36,
    "b": 255
  },
  "hsl": {
    "h": 255.068,
    "s": 100,
    "l": 57.059
  },
  "oklch": {
    "l": 0.50909,
    "c": 0.28339,
    "h": 280.9
  },
  "luminance": 0.10706
}

Semantic roles & 50–950 ramp

primary
#5B24FF
secondary
#D6EC93
accent
#FF29C9
background
#FBF6FF
surface
#F5ECFF
border
#CFC7D7
text
#110818
muted
#807A86

Preview Lab

Preview with #5B24FF

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

Preview Lab → · Contrast checker → · Palette generator →

#5B24FF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva