#5824AF#5824AF

#5824AF is a dark, highly saturated violet. Relative luminance 0.064; OKLCH L 42.5% C 0.200 H 292.6°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#5824AF
RGBrgb(88, 36, 175)
HSLhsl(262, 66%, 41%)
HSVhsv(262, 79%, 69%)
CMYKcmyk(49.7%, 79.4%, 0%, 31.4%)
CIE-LABlab(30.48, 53.20, -64.46)
CIE-LCHlch(30.48, 83.58, 309.54°)
OKLaboklab(42.49% 0.0771 -0.1851)
OKLCHoklch(42.49% 0.2 292.6)
XYZxyz(12.3911, 6.4312, 41.1376)
Luminance0.0643 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5824AF #7BAF24
analogous
#2436AF #5824AF #9E24AF
triadic
#5824AF #AF5824 #24AF58
tetradic
#5824AF #AF2436 #7BAF24 #24AF9E
square
#5824AF #AF2436 #7BAF24 #24AF9E
split-complementary
#5824AF #AF9E24 #36AF24
monochromatic
#250F49 #3E1A7C #5824AF #743AD6 #986DE1

Accessibility & contrast

On white

9.18
#5824AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5824AF
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5824AF#FFFFFF#000000##FFFFFF
##5824AF1.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB3
Deuteranopia (green-blind)
#0045AC
Tritanopia (blue-blind)
#3C4C6A
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #5824af;
/* rgb */ color: rgb(88, 36, 175);
/* oklch */ color: oklch(42.5% 0.200 292.6);
Tailwind
colors: {
  custom: {
    50: '#9066c8',
    500: '#5824af',
    950: '#000000',
  },
}
SCSS
$custom: #5824af;
$custom-light: #9066c8;
$custom-dark: #000000;
JSON
{
  "hex": "#5824af",
  "rgb": {
    "r": 88,
    "g": 36,
    "b": 175
  },
  "hsl": {
    "h": 262.446,
    "s": 65.877,
    "l": 41.373
  },
  "oklch": {
    "l": 0.42491,
    "c": 0.20049,
    "h": 292.6
  },
  "luminance": 0.06432
}

Semantic roles & 50–950 ramp

primary
#5824AF
secondary
#A3C768
accent
#E93FA9
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #5824AF

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

Preview Lab → · Contrast checker → · Palette generator →

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