#5830AA#5830AA

#5830AA is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.4% C 0.182 H 292.0°. Best body text is #FFFFFF at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#5830AA
RGBrgb(88, 48, 170)
HSLhsl(260, 56%, 43%)
HSVhsv(260, 72%, 67%)
CMYKcmyk(48.2%, 71.8%, 0%, 33.3%)
CIE-LABlab(32.01, 46.20, -58.94)
CIE-LCHlch(32.01, 74.89, 308.09°)
OKLaboklab(43.43% 0.0685 -0.169)
OKLCHoklch(43.43% 0.182 292)
XYZxyz(12.3351, 7.0905, 38.7411)
Luminance0.0709 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5830AA #82AA30
analogous
#3045AA #5830AA #9530AA
triadic
#5830AA #AA5830 #30AA58
tetradic
#5830AA #AA3045 #82AA30 #30AA95
square
#5830AA #AA3045 #82AA30 #30AA95
split-complementary
#5830AA #AA9530 #45AA30
monochromatic
#27154B #3F237A #5830AA #754BCC #9A7BDA

Accessibility & contrast

On white

8.68
#5830AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#5830AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5830AA#FFFFFF#000000##FFFFFF
##5830AA1.008.682.428.68
#FFFFFF8.681.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAE
Deuteranopia (green-blind)
#0049A8
Tritanopia (blue-blind)
#3E4F6A
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #5830aa;
/* rgb */ color: rgb(88, 48, 170);
/* oklch */ color: oklch(43.4% 0.182 292.0);
Tailwind
colors: {
  custom: {
    50: '#8f6cc4',
    500: '#5830aa',
    950: '#000000',
  },
}
SCSS
$custom: #5830aa;
$custom-light: #8f6cc4;
$custom-dark: #000000;
JSON
{
  "hex": "#5830aa",
  "rgb": {
    "r": 88,
    "g": 48,
    "b": 170
  },
  "hsl": {
    "h": 259.672,
    "s": 55.963,
    "l": 42.745
  },
  "oklch": {
    "l": 0.43433,
    "c": 0.18234,
    "h": 292
  },
  "luminance": 0.07091
}

Semantic roles & 50–950 ramp

primary
#5830AA
secondary
#A8C274
accent
#DF49AE
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #5830AA

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

Preview Lab → · Contrast checker → · Palette generator →

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