#5828AE#5828AE

#5828AE is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.8% C 0.196 H 292.3°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#5828AE
RGBrgb(88, 40, 174)
HSLhsl(261, 63%, 42%)
HSVhsv(261, 77%, 68%)
CMYKcmyk(49.4%, 77%, 0%, 31.8%)
CIE-LABlab(30.99, 51.18, -63.01)
CIE-LCHlch(30.99, 81.18, 309.09°)
OKLaboklab(42.82% 0.0744 -0.1809)
OKLCHoklch(42.82% 0.196 292.3)
XYZxyz(12.4211, 6.6478, 40.6649)
Luminance0.0665 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5828AE #7EAE28
analogous
#283BAE #5828AE #9B28AE
triadic
#5828AE #AE5828 #28AE58
tetradic
#5828AE #AE283B #7EAE28 #28AE9B
square
#5828AE #AE283B #7EAE28 #28AE9B
split-complementary
#5828AE #AE9B28 #3BAE28
monochromatic
#26114A #3F1D7C #5828AE #7540D3 #9972DF

Accessibility & contrast

On white

9.01
#5828AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#5828AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5828AE
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5828AE#FFFFFF#000000##FFFFFF
##5828AE1.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB2
Deuteranopia (green-blind)
#0046AB
Tritanopia (blue-blind)
#3C4D6A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #5828ae;
/* rgb */ color: rgb(88, 40, 174);
/* oklch */ color: oklch(42.8% 0.196 292.3);
Tailwind
colors: {
  custom: {
    50: '#9068c7',
    500: '#5828ae',
    950: '#000000',
  },
}
SCSS
$custom: #5828ae;
$custom-light: #9068c7;
$custom-dark: #000000;
JSON
{
  "hex": "#5828ae",
  "rgb": {
    "r": 88,
    "g": 40,
    "b": 174
  },
  "hsl": {
    "h": 261.493,
    "s": 62.617,
    "l": 41.961
  },
  "oklch": {
    "l": 0.42823,
    "c": 0.19557,
    "h": 292.3
  },
  "luminance": 0.06648
}

Semantic roles & 50–950 ramp

primary
#5828AE
secondary
#A6C66C
accent
#E642AB
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #5828AE

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

Preview Lab → · Contrast checker → · Palette generator →

#5828AE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva