#5829B6#5829B6

#5829B6 is a dark, highly saturated violet. Relative luminance 0.070; OKLCH L 43.7% C 0.203 H 290.5°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#5829B6
RGBrgb(88, 41, 182)
HSLhsl(260, 63%, 44%)
HSVhsv(260, 77%, 71%)
CMYKcmyk(51.6%, 77.5%, 0%, 28.6%)
CIE-LABlab(31.89, 52.88, -66.30)
CIE-LCHlch(31.89, 84.81, 308.58°)
OKLaboklab(43.68% 0.0713 -0.1905)
OKLCHoklch(43.68% 0.203 290.5)
XYZxyz(13.2585, 7.0374, 44.9067)
Luminance0.0704 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5829B6 #87B629
analogous
#2940B6 #5829B6 #9E29B6
triadic
#5829B6 #B65829 #29B658
tetradic
#5829B6 #B62940 #87B629 #29B69E
square
#5829B6 #B62940 #87B629 #29B69E
split-complementary
#5829B6 #B69E29 #40B629
monochromatic
#281252 #401E84 #5829B6 #7647D5 #9B79E1

Accessibility & contrast

On white

8.72
#5829B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#5829B6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5829B6
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5829B6#FFFFFF#000000##FFFFFF
##5829B61.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DBA
Deuteranopia (green-blind)
#0048B3
Tritanopia (blue-blind)
#36516F
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #5829b6;
/* rgb */ color: rgb(88, 41, 182);
/* oklch */ color: oklch(43.7% 0.203 290.5);
Tailwind
colors: {
  custom: {
    50: '#9169cd',
    500: '#5829b6',
    950: '#000000',
  },
}
SCSS
$custom: #5829b6;
$custom-light: #9169cd;
$custom-dark: #000000;
JSON
{
  "hex": "#5829b6",
  "rgb": {
    "r": 88,
    "g": 41,
    "b": 182
  },
  "hsl": {
    "h": 260,
    "s": 63.229,
    "l": 43.725
  },
  "oklch": {
    "l": 0.43678,
    "c": 0.20344,
    "h": 290.5
  },
  "luminance": 0.07038
}

Semantic roles & 50–950 ramp

primary
#5829B6
secondary
#ACC972
accent
#E642AF
background
#F9F6FC
surface
#F2EBF9
border
#CCC6D2
text
#0E0714
muted
#7E7A82

Preview Lab

Preview with #5829B6

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

Preview Lab → · Contrast checker → · Palette generator →

#5829B6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva