#5F24AF#5F24AF

#5F24AF is a dark, highly saturated violet. Relative luminance 0.068; OKLCH L 43.3% C 0.201 H 295.9°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#5F24AF
RGBrgb(95, 36, 175)
HSLhsl(265, 66%, 41%)
HSVhsv(265, 79%, 69%)
CMYKcmyk(45.7%, 79.4%, 0%, 31.4%)
CIE-LABlab(31.32, 54.20, -63.03)
CIE-LCHlch(31.32, 83.13, 310.69°)
OKLaboklab(43.27% 0.0878 -0.1807)
OKLCHoklch(43.27% 0.201 295.9)
XYZxyz(13.0860, 6.7895, 41.1702)
Luminance0.0679 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F24AF #74AF24
analogous
#242EAF #5F24AF #A524AF
triadic
#5F24AF #AF5F24 #24AF5F
tetradic
#5F24AF #AF242E #74AF24 #24AFA5
square
#5F24AF #AF242E #74AF24 #24AFA5
split-complementary
#5F24AF #AFA524 #2EAF24
monochromatic
#280F49 #431A7C #5F24AF #7C3AD6 #9E6DE1

Accessibility & contrast

On white

8.91
#5F24AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#5F24AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F24AF
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F24AF#FFFFFF#000000##FFFFFF
##5F24AF1.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB3
Deuteranopia (green-blind)
#0048AC
Tritanopia (blue-blind)
#484B6A
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #5f24af;
/* rgb */ color: rgb(95, 36, 175);
/* oklch */ color: oklch(43.3% 0.201 295.9);
Tailwind
colors: {
  custom: {
    50: '#9466c8',
    500: '#5f24af',
    950: '#000000',
  },
}
SCSS
$custom: #5f24af;
$custom-light: #9466c8;
$custom-dark: #000000;
JSON
{
  "hex": "#5f24af",
  "rgb": {
    "r": 95,
    "g": 36,
    "b": 175
  },
  "hsl": {
    "h": 265.468,
    "s": 65.877,
    "l": 41.373
  },
  "oklch": {
    "l": 0.43271,
    "c": 0.20089,
    "h": 295.9
  },
  "luminance": 0.0679
}

Semantic roles & 50–950 ramp

primary
#5F24AF
secondary
#9FC768
accent
#E93FA1
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #5F24AF

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

Preview Lab → · Contrast checker → · Palette generator →

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