#5830B5#5830B5

#5830B5 is a dark, vivid violet. Relative luminance 0.075; OKLCH L 44.4% C 0.195 H 289.8°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#5830B5
RGBrgb(88, 48, 181)
HSLhsl(258, 58%, 45%)
HSVhsv(258, 73%, 71%)
CMYKcmyk(51.4%, 73.5%, 0%, 29%)
CIE-LABlab(32.97, 49.27, -63.93)
CIE-LCHlch(32.97, 80.72, 307.62°)
OKLaboklab(44.41% 0.066 -0.1836)
OKLCHoklch(44.41% 0.195 289.8)
XYZxyz(13.4195, 7.5242, 44.4523)
Luminance0.0752 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5830B5 #8DB530
analogous
#304BB5 #5830B5 #9B30B5
triadic
#5830B5 #B55830 #30B558
tetradic
#5830B5 #B5304B #8DB530 #30B59B
square
#5830B5 #B5304B #8DB530 #30B59B
split-complementary
#5830B5 #B59B30 #4BB530
monochromatic
#291654 #402385 #5830B5 #7851D1 #9D82DE

Accessibility & contrast

On white

8.38
#5830B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#5830B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5830B5#FFFFFF#000000##FFFFFF
##5830B51.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B9
Deuteranopia (green-blind)
#004AB2
Tritanopia (blue-blind)
#375470
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #5830b5;
/* rgb */ color: rgb(88, 48, 181);
/* oklch */ color: oklch(44.4% 0.195 289.8);
Tailwind
colors: {
  custom: {
    50: '#906ccc',
    500: '#5830b5',
    950: '#000000',
  },
}
SCSS
$custom: #5830b5;
$custom-light: #906ccc;
$custom-dark: #000000;
JSON
{
  "hex": "#5830b5",
  "rgb": {
    "r": 88,
    "g": 48,
    "b": 181
  },
  "hsl": {
    "h": 258.045,
    "s": 58.079,
    "l": 44.902
  },
  "oklch": {
    "l": 0.44409,
    "c": 0.19516,
    "h": 289.8
  },
  "luminance": 0.07525
}

Semantic roles & 50–950 ramp

primary
#5830B5
secondary
#B0C77A
accent
#E146B3
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0E0714
muted
#7E7A82

Preview Lab

Preview with #5830B5

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

Preview Lab → · Contrast checker → · Palette generator →

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