#5830AB#5830AB

#5830AB is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.5% C 0.184 H 291.8°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#5830AB
RGBrgb(88, 48, 171)
HSLhsl(260, 56%, 43%)
HSVhsv(260, 72%, 67%)
CMYKcmyk(48.5%, 71.9%, 0%, 32.9%)
CIE-LABlab(32.10, 46.48, -59.40)
CIE-LCHlch(32.10, 75.42, 308.04°)
OKLaboklab(43.52% 0.0682 -0.1703)
OKLCHoklch(43.52% 0.184 291.8)
XYZxyz(12.4301, 7.1284, 39.2412)
Luminance0.0713 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5830AB #83AB30
analogous
#3046AB #5830AB #9530AB
triadic
#5830AB #AB5830 #30AB58
tetradic
#5830AB #AB3046 #83AB30 #30AB95
square
#5830AB #AB3046 #83AB30 #30AB95
split-complementary
#5830AB #AB9530 #46AB30
monochromatic
#27154B #3F237B #5830AB #764CCD #9A7BDA

Accessibility & contrast

On white

8.66
#5830AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

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

Contrast matrix

fg \ bg##5830AB#FFFFFF#000000##FFFFFF
##5830AB1.008.662.438.66
#FFFFFF8.661.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAF
Deuteranopia (green-blind)
#0049A9
Tritanopia (blue-blind)
#3E506A
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #5830ab;
/* rgb */ color: rgb(88, 48, 171);
/* oklch */ color: oklch(43.5% 0.184 291.8);
Tailwind
colors: {
  custom: {
    50: '#8f6cc5',
    500: '#5830ab',
    950: '#000000',
  },
}
SCSS
$custom: #5830ab;
$custom-light: #8f6cc5;
$custom-dark: #000000;
JSON
{
  "hex": "#5830ab",
  "rgb": {
    "r": 88,
    "g": 48,
    "b": 171
  },
  "hsl": {
    "h": 259.512,
    "s": 56.164,
    "l": 42.941
  },
  "oklch": {
    "l": 0.43521,
    "c": 0.18351,
    "h": 291.8
  },
  "luminance": 0.07129
}

Semantic roles & 50–950 ramp

primary
#5830AB
secondary
#A9C374
accent
#DF48AE
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #5830AB

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

Preview Lab → · Contrast checker → · Palette generator →

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