#5B24AF#5B24AF

#5B24AF is a dark, highly saturated violet. Relative luminance 0.066; OKLCH L 42.8% C 0.201 H 294.0°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#5B24AF
RGBrgb(91, 36, 175)
HSLhsl(264, 66%, 41%)
HSVhsv(264, 79%, 69%)
CMYKcmyk(48%, 79.4%, 0%, 31.4%)
CIE-LABlab(30.83, 53.63, -63.85)
CIE-LCHlch(30.83, 83.39, 310.02°)
OKLaboklab(42.82% 0.0817 -0.1832)
OKLCHoklch(42.82% 0.201 294)
XYZxyz(12.6810, 6.5807, 41.1512)
Luminance0.0658 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B24AF #78AF24
analogous
#2433AF #5B24AF #A124AF
triadic
#5B24AF #AF5B24 #24AF5B
tetradic
#5B24AF #AF2433 #78AF24 #24AFA1
square
#5B24AF #AF2433 #78AF24 #24AFA1
split-complementary
#5B24AF #AFA124 #33AF24
monochromatic
#260F49 #411A7C #5B24AF #783AD6 #9B6DE1

Accessibility & contrast

On white

9.07
#5B24AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#5B24AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B24AF
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B24AF#FFFFFF#000000##FFFFFF
##5B24AF1.009.072.329.07
#FFFFFF9.071.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB3
Deuteranopia (green-blind)
#0046AC
Tritanopia (blue-blind)
#414C6A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #5b24af;
/* rgb */ color: rgb(91, 36, 175);
/* oklch */ color: oklch(42.8% 0.201 294.0);
Tailwind
colors: {
  custom: {
    50: '#9266c8',
    500: '#5b24af',
    950: '#000000',
  },
}
SCSS
$custom: #5b24af;
$custom-light: #9266c8;
$custom-dark: #000000;
JSON
{
  "hex": "#5b24af",
  "rgb": {
    "r": 91,
    "g": 36,
    "b": 175
  },
  "hsl": {
    "h": 263.741,
    "s": 65.877,
    "l": 41.373
  },
  "oklch": {
    "l": 0.4282,
    "c": 0.20062,
    "h": 294
  },
  "luminance": 0.06581
}

Semantic roles & 50–950 ramp

primary
#5B24AF
secondary
#A1C768
accent
#E93FA6
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #5B24AF

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

Preview Lab → · Contrast checker → · Palette generator →

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