#5830A4#5830A4

#5830A4 is a dark, vivid violet. Relative luminance 0.069; OKLCH L 42.9% C 0.175 H 293.4°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#5830A4
RGBrgb(88, 48, 164)
HSLhsl(261, 55%, 42%)
HSVhsv(261, 71%, 64%)
CMYKcmyk(46.3%, 70.7%, 0%, 35.7%)
CIE-LABlab(31.51, 44.53, -56.16)
CIE-LCHlch(31.51, 71.67, 308.41°)
OKLaboklab(42.92% 0.0696 -0.1608)
OKLCHoklch(42.92% 0.175 293.4)
XYZxyz(11.7805, 6.8686, 35.8198)
Luminance0.0687 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5830A4 #7CA430
analogous
#3042A4 #5830A4 #9230A4
triadic
#5830A4 #A45830 #30A458
tetradic
#5830A4 #A43042 #7CA430 #30A492
square
#5830A4 #A43042 #7CA430 #30A492
split-complementary
#5830A4 #A49230 #42A430
monochromatic
#251445 #3F2275 #5830A4 #7448C9 #9877D7

Accessibility & contrast

On white

8.85
#5830A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#5830A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5830A4
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5830A4#FFFFFF#000000##FFFFFF
##5830A41.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA7
Deuteranopia (green-blind)
#0048A2
Tritanopia (blue-blind)
#424D66
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #5830a4;
/* rgb */ color: rgb(88, 48, 164);
/* oklch */ color: oklch(42.9% 0.175 293.4);
Tailwind
colors: {
  custom: {
    50: '#8e6cc0',
    500: '#5830a4',
    950: '#000000',
  },
}
SCSS
$custom: #5830a4;
$custom-light: #8e6cc0;
$custom-dark: #000000;
JSON
{
  "hex": "#5830a4",
  "rgb": {
    "r": 88,
    "g": 48,
    "b": 164
  },
  "hsl": {
    "h": 260.69,
    "s": 54.717,
    "l": 41.569
  },
  "oklch": {
    "l": 0.42916,
    "c": 0.17526,
    "h": 293.4
  },
  "luminance": 0.06869
}

Semantic roles & 50–950 ramp

primary
#5830A4
secondary
#A4BF70
accent
#DE4AAB
background
#F9F6FB
surface
#F1EBF7
border
#CBC6D0
text
#0D0712
muted
#7E7A81

Preview Lab

Preview with #5830A4

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

Preview Lab → · Contrast checker → · Palette generator →

#5830A4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva