#5830BB#5830BB

#5830BB is a dark, highly saturated violet. Relative luminance 0.078; OKLCH L 45.0% C 0.202 H 288.6°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#5830BB
RGBrgb(88, 48, 187)
HSLhsl(257, 59%, 46%)
HSVhsv(257, 74%, 73%)
CMYKcmyk(52.9%, 74.3%, 0%, 26.7%)
CIE-LABlab(33.51, 50.95, -66.60)
CIE-LCHlch(33.51, 83.86, 307.42°)
OKLaboklab(44.95% 0.0646 -0.1915)
OKLCHoklch(44.95% 0.202 288.6)
XYZxyz(14.0485, 7.7758, 47.7647)
Luminance0.0778 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5830BB #93BB30
analogous
#304DBB #5830BB #9D30BB
triadic
#5830BB #BB5830 #30BB58
tetradic
#5830BB #BB304D #93BB30 #30BB9D
square
#5830BB #BB304D #93BB30 #30BB9D
split-complementary
#5830BB #BB9D30 #4DBB30
monochromatic
#2A175A #41238A #5830BB #7955D3 #A086E0

Accessibility & contrast

On white

8.22
#5830BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#5830BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5830BB#FFFFFF#000000##FFFFFF
##5830BB1.008.222.568.22
#FFFFFF8.221.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052BF
Deuteranopia (green-blind)
#004BB8
Tritanopia (blue-blind)
#325673
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #5830bb;
/* rgb */ color: rgb(88, 48, 187);
/* oklch */ color: oklch(45.0% 0.202 288.6);
Tailwind
colors: {
  custom: {
    50: '#916dd1',
    500: '#5830bb',
    950: '#000000',
  },
}
SCSS
$custom: #5830bb;
$custom-light: #916dd1;
$custom-dark: #000000;
JSON
{
  "hex": "#5830bb",
  "rgb": {
    "r": 88,
    "g": 48,
    "b": 187
  },
  "hsl": {
    "h": 257.266,
    "s": 59.149,
    "l": 46.078
  },
  "oklch": {
    "l": 0.44954,
    "c": 0.20207,
    "h": 288.6
  },
  "luminance": 0.07776
}

Semantic roles & 50–950 ramp

primary
#5830BB
secondary
#B3C97D
accent
#E245B5
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #5830BB

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

Preview Lab → · Contrast checker → · Palette generator →

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