#5824B0#5824B0

#5824B0 is a dark, highly saturated violet. Relative luminance 0.065; OKLCH L 42.6% C 0.202 H 292.4°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#5824B0
RGBrgb(88, 36, 176)
HSLhsl(262, 66%, 42%)
HSVhsv(262, 80%, 69%)
CMYKcmyk(50%, 79.5%, 0%, 31%)
CIE-LABlab(30.57, 53.47, -64.90)
CIE-LCHlch(30.57, 84.09, 309.48°)
OKLaboklab(42.59% 0.0768 -0.1864)
OKLCHoklch(42.59% 0.202 292.4)
XYZxyz(12.4896, 6.4706, 41.6568)
Luminance0.0647 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5824B0 #7CB024
analogous
#2436B0 #5824B0 #9E24B0
triadic
#5824B0 #B05824 #24B058
tetradic
#5824B0 #B02436 #7CB024 #24B09E
square
#5824B0 #B02436 #7CB024 #24B09E
split-complementary
#5824B0 #B09E24 #36B024
monochromatic
#250F4A #3F1A7D #5824B0 #743AD7 #986DE1

Accessibility & contrast

On white

9.15
#5824B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#5824B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5824B0
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5824B0#FFFFFF#000000##FFFFFF
##5824B01.009.152.299.15
#FFFFFF9.151.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB4
Deuteranopia (green-blind)
#0045AD
Tritanopia (blue-blind)
#3B4C6A
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #5824b0;
/* rgb */ color: rgb(88, 36, 176);
/* oklch */ color: oklch(42.6% 0.202 292.4);
Tailwind
colors: {
  custom: {
    50: '#9066c9',
    500: '#5824b0',
    950: '#000000',
  },
}
SCSS
$custom: #5824b0;
$custom-light: #9066c9;
$custom-dark: #000000;
JSON
{
  "hex": "#5824b0",
  "rgb": {
    "r": 88,
    "g": 36,
    "b": 176
  },
  "hsl": {
    "h": 262.286,
    "s": 66.038,
    "l": 41.569
  },
  "oklch": {
    "l": 0.42586,
    "c": 0.20158,
    "h": 292.4
  },
  "luminance": 0.06471
}

Semantic roles & 50–950 ramp

primary
#5824B0
secondary
#A4C868
accent
#E93FAA
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #5824B0

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

Preview Lab → · Contrast checker → · Palette generator →

#5824B0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva