#5829A6#5829A6

#5829A6 is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.2% C 0.186 H 294.1°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#5829A6
RGBrgb(88, 41, 166)
HSLhsl(263, 60%, 41%)
HSVhsv(263, 75%, 65%)
CMYKcmyk(47%, 75.3%, 0%, 34.9%)
CIE-LABlab(30.43, 48.57, -59.12)
CIE-LCHlch(30.43, 76.52, 309.41°)
OKLaboklab(42.21% 0.0757 -0.1695)
OKLCHoklch(42.21% 0.186 294.1)
XYZxyz(11.6985, 6.4134, 36.6905)
Luminance0.0641 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5829A6 #77A629
analogous
#2939A6 #5829A6 #9629A6
triadic
#5829A6 #A65829 #29A658
tetradic
#5829A6 #A62939 #77A629 #29A696
square
#5829A6 #A62939 #77A629 #29A696
split-complementary
#5829A6 #A69629 #39A629
monochromatic
#241144 #3E1D75 #5829A6 #743DCF #976EDB

Accessibility & contrast

On white

9.20
#5829A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#5829A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5829A6
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5829A6#FFFFFF#000000##FFFFFF
##5829A61.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AA
Deuteranopia (green-blind)
#0045A4
Tritanopia (blue-blind)
#414A66
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #5829a6;
/* rgb */ color: rgb(88, 41, 166);
/* oklch */ color: oklch(42.2% 0.186 294.1);
Tailwind
colors: {
  custom: {
    50: '#8f68c1',
    500: '#5829a6',
    950: '#000000',
  },
}
SCSS
$custom: #5829a6;
$custom-light: #8f68c1;
$custom-dark: #000000;
JSON
{
  "hex": "#5829a6",
  "rgb": {
    "r": 88,
    "g": 41,
    "b": 166
  },
  "hsl": {
    "h": 262.56,
    "s": 60.386,
    "l": 40.588
  },
  "oklch": {
    "l": 0.42209,
    "c": 0.18561,
    "h": 294.1
  },
  "luminance": 0.06414
}

Semantic roles & 50–950 ramp

primary
#5829A6
secondary
#A0C269
accent
#E444A8
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #5829A6

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

Preview Lab → · Contrast checker → · Palette generator →

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