#5F24BC#5F24BC

#5F24BC is a dark, highly saturated violet. Relative luminance 0.073; OKLCH L 44.5% C 0.214 H 293.0°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#5F24BC
RGBrgb(95, 36, 188)
HSLhsl(263, 68%, 44%)
HSVhsv(263, 81%, 74%)
CMYKcmyk(49.5%, 80.9%, 0%, 26.3%)
CIE-LABlab(32.54, 57.50, -68.77)
CIE-LCHlch(32.54, 89.64, 309.90°)
OKLaboklab(44.48% 0.0837 -0.1975)
OKLCHoklch(44.48% 0.214 293)
XYZxyz(14.4248, 7.3250, 48.2210)
Luminance0.0732 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F24BC #81BC24
analogous
#2435BC #5F24BC #AB24BC
triadic
#5F24BC #BC5F24 #24BC5F
tetradic
#5F24BC #BC2435 #81BC24 #24BCAB
square
#5F24BC #BC2435 #81BC24 #24BCAB
split-complementary
#5F24BC #BCAB24 #35BC24
monochromatic
#2B1055 #451A89 #5F24BC #7E42DB #A176E5

Accessibility & contrast

On white

8.52
#5F24BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F24BC
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F24BC#FFFFFF#000000##FFFFFF
##5F24BC1.008.522.478.52
#FFFFFF8.521.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EC0
Deuteranopia (green-blind)
#004AB9
Tritanopia (blue-blind)
#415171
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #5f24bc;
/* rgb */ color: rgb(95, 36, 188);
/* oklch */ color: oklch(44.5% 0.214 293.0);
Tailwind
colors: {
  custom: {
    50: '#9667d1',
    500: '#5f24bc',
    950: '#000000',
  },
}
SCSS
$custom: #5f24bc;
$custom-light: #9667d1;
$custom-dark: #000000;
JSON
{
  "hex": "#5f24bc",
  "rgb": {
    "r": 95,
    "g": 36,
    "b": 188
  },
  "hsl": {
    "h": 263.289,
    "s": 67.857,
    "l": 43.922
  },
  "oklch": {
    "l": 0.4448,
    "c": 0.21447,
    "h": 293
  },
  "luminance": 0.07325
}

Semantic roles & 50–950 ramp

primary
#5F24BC
secondary
#A8CC70
accent
#EB3DA7
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0F0614
muted
#7E7A83

Preview Lab

Preview with #5F24BC

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

Preview Lab → · Contrast checker → · Palette generator →

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