#5829AF#5829AF

#5829AF is a dark, vivid violet. Relative luminance 0.068; OKLCH L 43.0% C 0.196 H 292.0°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#5829AF
RGBrgb(88, 41, 175)
HSLhsl(261, 62%, 42%)
HSVhsv(261, 77%, 69%)
CMYKcmyk(49.7%, 76.6%, 0%, 31.4%)
CIE-LABlab(31.24, 50.99, -63.19)
CIE-LCHlch(31.24, 81.20, 308.90°)
OKLaboklab(43.03% 0.0733 -0.1814)
OKLCHoklch(43.03% 0.196 292)
XYZxyz(12.5531, 6.7553, 41.1916)
Luminance0.0676 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5829AF #80AF29
analogous
#293DAF #5829AF #9B29AF
triadic
#5829AF #AF5829 #29AF58
tetradic
#5829AF #AF293D #80AF29 #29AF9B
square
#5829AF #AF293D #80AF29 #29AF9B
split-complementary
#5829AF #AF9B29 #3DAF29
monochromatic
#26124C #3F1D7D #5829AF #7542D3 #9974DE

Accessibility & contrast

On white

8.93
#5829AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#5829AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5829AF
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5829AF#FFFFFF#000000##FFFFFF
##5829AF1.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB3
Deuteranopia (green-blind)
#0047AC
Tritanopia (blue-blind)
#3B4E6B
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #5829af;
/* rgb */ color: rgb(88, 41, 175);
/* oklch */ color: oklch(43.0% 0.196 292.0);
Tailwind
colors: {
  custom: {
    50: '#9068c8',
    500: '#5829af',
    950: '#000000',
  },
}
SCSS
$custom: #5829af;
$custom-light: #9068c8;
$custom-dark: #000000;
JSON
{
  "hex": "#5829af",
  "rgb": {
    "r": 88,
    "g": 41,
    "b": 175
  },
  "hsl": {
    "h": 261.045,
    "s": 62.037,
    "l": 42.353
  },
  "oklch": {
    "l": 0.43027,
    "c": 0.19567,
    "h": 292
  },
  "luminance": 0.06756
}

Semantic roles & 50–950 ramp

primary
#5829AF
secondary
#A7C66E
accent
#E543AC
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #5829AF

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

Preview Lab → · Contrast checker → · Palette generator →

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