#5829A8#5829A8

#5829A8 is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.4% C 0.188 H 293.6°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#5829A8
RGBrgb(88, 41, 168)
HSLhsl(262, 61%, 41%)
HSVhsv(262, 76%, 66%)
CMYKcmyk(47.6%, 75.6%, 0%, 34.1%)
CIE-LABlab(30.61, 49.11, -60.03)
CIE-LCHlch(30.61, 77.56, 309.29°)
OKLaboklab(42.39% 0.0752 -0.1722)
OKLCHoklch(42.39% 0.188 293.6)
XYZxyz(11.8834, 6.4874, 37.6643)
Luminance0.0649 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5829A8 #79A829
analogous
#2939A8 #5829A8 #9729A8
triadic
#5829A8 #A85829 #29A858
tetradic
#5829A8 #A82939 #79A829 #29A897
square
#5829A8 #A82939 #79A829 #29A897
split-complementary
#5829A8 #A89729 #39A829
monochromatic
#241146 #3E1D77 #5829A8 #743ED0 #986FDC

Accessibility & contrast

On white

9.14
#5829A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#5829A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5829A8
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5829A8#FFFFFF#000000##FFFFFF
##5829A81.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AC
Deuteranopia (green-blind)
#0046A6
Tritanopia (blue-blind)
#404B67
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #5829a8;
/* rgb */ color: rgb(88, 41, 168);
/* oklch */ color: oklch(42.4% 0.188 293.6);
Tailwind
colors: {
  custom: {
    50: '#8f68c3',
    500: '#5829a8',
    950: '#000000',
  },
}
SCSS
$custom: #5829a8;
$custom-light: #8f68c3;
$custom-dark: #000000;
JSON
{
  "hex": "#5829a8",
  "rgb": {
    "r": 88,
    "g": 41,
    "b": 168
  },
  "hsl": {
    "h": 262.205,
    "s": 60.766,
    "l": 40.98
  },
  "oklch": {
    "l": 0.42389,
    "c": 0.18786,
    "h": 293.6
  },
  "luminance": 0.06488
}

Semantic roles & 50–950 ramp

primary
#5829A8
secondary
#A2C36A
accent
#E444A9
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #5829A8

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

Preview Lab → · Contrast checker → · Palette generator →

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