#5830AC#5830AC

#5830AC is a dark, vivid violet. Relative luminance 0.072; OKLCH L 43.6% C 0.185 H 291.6°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#5830AC
RGBrgb(88, 48, 172)
HSLhsl(259, 56%, 43%)
HSVhsv(259, 72%, 67%)
CMYKcmyk(48.8%, 72.1%, 0%, 32.5%)
CIE-LABlab(32.18, 46.76, -59.86)
CIE-LCHlch(32.18, 75.96, 307.99°)
OKLaboklab(43.61% 0.068 -0.1717)
OKLCHoklch(43.61% 0.185 291.6)
XYZxyz(12.5258, 7.1667, 39.7451)
Luminance0.0717 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5830AC #84AC30
analogous
#3046AC #5830AC #9630AC
triadic
#5830AC #AC5830 #30AC58
tetradic
#5830AC #AC3046 #84AC30 #30AC96
square
#5830AC #AC3046 #84AC30 #30AC96
split-complementary
#5830AC #AC9630 #46AC30
monochromatic
#27154C #40237C #5830AC #764CCD #9A7CDA

Accessibility & contrast

On white

8.63
#5830AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#5830AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5830AC
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5830AC#FFFFFF#000000##FFFFFF
##5830AC1.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB0
Deuteranopia (green-blind)
#0049AA
Tritanopia (blue-blind)
#3D506B
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #5830ac;
/* rgb */ color: rgb(88, 48, 172);
/* oklch */ color: oklch(43.6% 0.185 291.6);
Tailwind
colors: {
  custom: {
    50: '#8f6cc6',
    500: '#5830ac',
    950: '#000000',
  },
}
SCSS
$custom: #5830ac;
$custom-light: #8f6cc6;
$custom-dark: #000000;
JSON
{
  "hex": "#5830ac",
  "rgb": {
    "r": 88,
    "g": 48,
    "b": 172
  },
  "hsl": {
    "h": 259.355,
    "s": 56.364,
    "l": 43.137
  },
  "oklch": {
    "l": 0.43608,
    "c": 0.18469,
    "h": 291.6
  },
  "luminance": 0.07167
}

Semantic roles & 50–950 ramp

primary
#5830AC
secondary
#AAC375
accent
#E048AF
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #5830AC

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

Preview Lab → · Contrast checker → · Palette generator →

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