#5830BC#5830BC

#5830BC is a mid, highly saturated violet. Relative luminance 0.078; OKLCH L 45.0% C 0.203 H 288.5°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#5830BC
RGBrgb(88, 48, 188)
HSLhsl(257, 59%, 46%)
HSVhsv(257, 74%, 74%)
CMYKcmyk(53.2%, 74.5%, 0%, 26.3%)
CIE-LABlab(33.60, 51.23, -67.04)
CIE-LCHlch(33.60, 84.37, 307.39°)
OKLaboklab(45.05% 0.0643 -0.1928)
OKLCHoklch(45.05% 0.203 288.5)
XYZxyz(14.1559, 7.8188, 48.3305)
Luminance0.0782 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5830BC #94BC30
analogous
#304EBC #5830BC #9E30BC
triadic
#5830BC #BC5830 #30BC58
tetradic
#5830BC #BC304E #94BC30 #30BC9E
square
#5830BC #BC304E #94BC30 #30BC9E
split-complementary
#5830BC #BC9E30 #4EBC30
monochromatic
#2A175A #41248B #5830BC #7A55D4 #A086E0

Accessibility & contrast

On white

8.19
#5830BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

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

Contrast matrix

fg \ bg##5830BC#FFFFFF#000000##FFFFFF
##5830BC1.008.192.568.19
#FFFFFF8.191.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052C0
Deuteranopia (green-blind)
#004BB9
Tritanopia (blue-blind)
#315674
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #5830bc;
/* rgb */ color: rgb(88, 48, 188);
/* oklch */ color: oklch(45.0% 0.203 288.5);
Tailwind
colors: {
  custom: {
    50: '#916dd1',
    500: '#5830bc',
    950: '#000000',
  },
}
SCSS
$custom: #5830bc;
$custom-light: #916dd1;
$custom-dark: #000000;
JSON
{
  "hex": "#5830bc",
  "rgb": {
    "r": 88,
    "g": 48,
    "b": 188
  },
  "hsl": {
    "h": 257.143,
    "s": 59.322,
    "l": 46.275
  },
  "oklch": {
    "l": 0.45046,
    "c": 0.20321,
    "h": 288.5
  },
  "luminance": 0.07819
}

Semantic roles & 50–950 ramp

primary
#5830BC
secondary
#B4CA7E
accent
#E345B6
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #5830BC

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

Preview Lab → · Contrast checker → · Palette generator →

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