#5828A9#5828A9

#5828A9 is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.4% C 0.190 H 293.5°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#5828A9
RGBrgb(88, 40, 169)
HSLhsl(262, 62%, 41%)
HSVhsv(262, 76%, 66%)
CMYKcmyk(47.9%, 76.3%, 0%, 33.7%)
CIE-LABlab(30.54, 49.85, -60.76)
CIE-LCHlch(30.54, 78.59, 309.37°)
OKLaboklab(42.37% 0.0757 -0.1743)
OKLCHoklch(42.37% 0.19 293.5)
XYZxyz(11.9427, 6.4565, 38.1454)
Luminance0.0646 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5828A9 #79A928
analogous
#2838A9 #5828A9 #9828A9
triadic
#5828A9 #A95828 #28A958
tetradic
#5828A9 #A92838 #79A928 #28A998
square
#5828A9 #A92838 #79A928 #28A998
split-complementary
#5828A9 #A99828 #38A928
monochromatic
#241146 #3E1C78 #5828A9 #743DD1 #986FDD

Accessibility & contrast

On white

9.16
#5828A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#5828A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5828A9
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5828A9#FFFFFF#000000##FFFFFF
##5828A91.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AD
Deuteranopia (green-blind)
#0046A7
Tritanopia (blue-blind)
#3F4B67
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #5828a9;
/* rgb */ color: rgb(88, 40, 169);
/* oklch */ color: oklch(42.4% 0.190 293.5);
Tailwind
colors: {
  custom: {
    50: '#8f67c4',
    500: '#5828a9',
    950: '#000000',
  },
}
SCSS
$custom: #5828a9;
$custom-light: #8f67c4;
$custom-dark: #000000;
JSON
{
  "hex": "#5828a9",
  "rgb": {
    "r": 88,
    "g": 40,
    "b": 169
  },
  "hsl": {
    "h": 262.326,
    "s": 61.722,
    "l": 40.98
  },
  "oklch": {
    "l": 0.42365,
    "c": 0.19003,
    "h": 293.5
  },
  "luminance": 0.06457
}

Semantic roles & 50–950 ramp

primary
#5828A9
secondary
#A2C469
accent
#E543A9
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #5828A9

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

Preview Lab → · Contrast checker → · Palette generator →

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