#5824B1#5824B1

#5824B1 is a dark, highly saturated violet. Relative luminance 0.065; OKLCH L 42.7% C 0.203 H 292.2°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#5824B1
RGBrgb(88, 36, 177)
HSLhsl(262, 66%, 42%)
HSVhsv(262, 80%, 69%)
CMYKcmyk(50.3%, 79.7%, 0%, 30.6%)
CIE-LABlab(30.66, 53.73, -65.34)
CIE-LCHlch(30.66, 84.59, 309.43°)
OKLaboklab(42.68% 0.0765 -0.1877)
OKLCHoklch(42.68% 0.203 292.2)
XYZxyz(12.5890, 6.5103, 42.1798)
Luminance0.0651 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5824B1 #7DB124
analogous
#2436B1 #5824B1 #9F24B1
triadic
#5824B1 #B15824 #24B158
tetradic
#5824B1 #B12436 #7DB124 #24B19F
square
#5824B1 #B12436 #7DB124 #24B19F
split-complementary
#5824B1 #B19F24 #36B124
monochromatic
#250F4B #3F1A7E #5824B1 #753BD7 #996EE1

Accessibility & contrast

On white

9.12
#5824B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#5824B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5824B1
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5824B1#FFFFFF#000000##FFFFFF
##5824B11.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB5
Deuteranopia (green-blind)
#0045AE
Tritanopia (blue-blind)
#3A4D6B
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #5824b1;
/* rgb */ color: rgb(88, 36, 177);
/* oklch */ color: oklch(42.7% 0.203 292.2);
Tailwind
colors: {
  custom: {
    50: '#9166c9',
    500: '#5824b1',
    950: '#000000',
  },
}
SCSS
$custom: #5824b1;
$custom-light: #9166c9;
$custom-dark: #000000;
JSON
{
  "hex": "#5824b1",
  "rgb": {
    "r": 88,
    "g": 36,
    "b": 177
  },
  "hsl": {
    "h": 262.128,
    "s": 66.197,
    "l": 41.765
  },
  "oklch": {
    "l": 0.42681,
    "c": 0.20265,
    "h": 292.2
  },
  "luminance": 0.06511
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5824B1

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

Preview Lab → · Contrast checker → · Palette generator →

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