#5830BA#5830BA

#5830BA is a dark, highly saturated violet. Relative luminance 0.077; OKLCH L 44.9% C 0.201 H 288.8°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#5830BA
RGBrgb(88, 48, 186)
HSLhsl(257, 59%, 46%)
HSVhsv(257, 74%, 73%)
CMYKcmyk(52.7%, 74.2%, 0%, 27.1%)
CIE-LABlab(33.42, 50.67, -66.16)
CIE-LCHlch(33.42, 83.33, 307.45°)
OKLaboklab(44.86% 0.0648 -0.1902)
OKLCHoklch(44.86% 0.201 288.8)
XYZxyz(13.9418, 7.7331, 47.2029)
Luminance0.0773 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5830BA #92BA30
analogous
#304DBA #5830BA #9D30BA
triadic
#5830BA #BA5830 #30BA58
tetradic
#5830BA #BA304D #92BA30 #30BA9D
square
#5830BA #BA304D #92BA30 #30BA9D
split-complementary
#5830BA #BA9D30 #4DBA30
monochromatic
#2A1759 #412389 #5830BA #7954D3 #9F85DF

Accessibility & contrast

On white

8.25
#5830BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#5830BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5830BA#FFFFFF#000000##FFFFFF
##5830BA1.008.252.558.25
#FFFFFF8.251.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051BE
Deuteranopia (green-blind)
#004BB7
Tritanopia (blue-blind)
#325673
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #5830ba;
/* rgb */ color: rgb(88, 48, 186);
/* oklch */ color: oklch(44.9% 0.201 288.8);
Tailwind
colors: {
  custom: {
    50: '#916dd0',
    500: '#5830ba',
    950: '#000000',
  },
}
SCSS
$custom: #5830ba;
$custom-light: #916dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#5830ba",
  "rgb": {
    "r": 88,
    "g": 48,
    "b": 186
  },
  "hsl": {
    "h": 257.391,
    "s": 58.974,
    "l": 45.882
  },
  "oklch": {
    "l": 0.44863,
    "c": 0.20092,
    "h": 288.8
  },
  "luminance": 0.07734
}

Semantic roles & 50–950 ramp

primary
#5830BA
secondary
#B3C97D
accent
#E246B5
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0E0714
muted
#7E7A82

Preview Lab

Preview with #5830BA

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

Preview Lab → · Contrast checker → · Palette generator →

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