#5F24BD#5F24BD

#5F24BD is a dark, highly saturated violet. Relative luminance 0.074; OKLCH L 44.6% C 0.215 H 292.7°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#5F24BD
RGBrgb(95, 36, 189)
HSLhsl(263, 68%, 44%)
HSVhsv(263, 81%, 74%)
CMYKcmyk(49.7%, 81%, 0%, 25.9%)
CIE-LABlab(32.63, 57.75, -69.20)
CIE-LCHlch(32.63, 90.13, 309.85°)
OKLaboklab(44.58% 0.0833 -0.1987)
OKLCHoklch(44.58% 0.216 292.7)
XYZxyz(14.5329, 7.3682, 48.7907)
Luminance0.0737 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F24BD #82BD24
analogous
#2436BD #5F24BD #AC24BD
triadic
#5F24BD #BD5F24 #24BD5F
tetradic
#5F24BD #BD2436 #82BD24 #24BDAC
square
#5F24BD #BD2436 #82BD24 #24BDAC
split-complementary
#5F24BD #BDAC24 #36BD24
monochromatic
#2B1056 #451A8A #5F24BD #7E43DB #A176E5

Accessibility & contrast

On white

8.49
#5F24BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#5F24BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F24BD
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F24BD#FFFFFF#000000##FFFFFF
##5F24BD1.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FC1
Deuteranopia (green-blind)
#004ABA
Tritanopia (blue-blind)
#405172
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #5f24bd;
/* rgb */ color: rgb(95, 36, 189);
/* oklch */ color: oklch(44.6% 0.215 292.7);
Tailwind
colors: {
  custom: {
    50: '#9667d2',
    500: '#5f24bd',
    950: '#000000',
  },
}
SCSS
$custom: #5f24bd;
$custom-light: #9667d2;
$custom-dark: #000000;
JSON
{
  "hex": "#5f24bd",
  "rgb": {
    "r": 95,
    "g": 36,
    "b": 189
  },
  "hsl": {
    "h": 263.137,
    "s": 68,
    "l": 44.118
  },
  "oklch": {
    "l": 0.44575,
    "c": 0.2155,
    "h": 292.7
  },
  "luminance": 0.07369
}

Semantic roles & 50–950 ramp

primary
#5F24BD
secondary
#A9CC70
accent
#EB3DA8
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0F0614
muted
#7E7A83

Preview Lab

Preview with #5F24BD

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

Preview Lab → · Contrast checker → · Palette generator →

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