#5830C4#5830C4

#5830C4 is a mid, highly saturated violet. Relative luminance 0.082; OKLCH L 45.8% C 0.212 H 287.1°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#5830C4
RGBrgb(88, 48, 196)
HSLhsl(256, 61%, 48%)
HSVhsv(256, 76%, 77%)
CMYKcmyk(55.1%, 75.5%, 0%, 23.1%)
CIE-LABlab(34.34, 53.47, -70.53)
CIE-LCHlch(34.34, 88.51, 307.16°)
OKLaboklab(45.79% 0.0623 -0.203)
OKLCHoklch(45.79% 0.212 287.1)
XYZxyz(15.0423, 8.1733, 52.9988)
Luminance0.0817 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5830C4 #9CC430
analogous
#3052C4 #5830C4 #A230C4
triadic
#5830C4 #C45830 #30C458
tetradic
#5830C4 #C43052 #9CC430 #30C4A2
square
#5830C4 #C43052 #9CC430 #30C4A2
split-complementary
#5830C4 #C4A230 #52C430
monochromatic
#2C1862 #422493 #5830C4 #7C5AD7 #A38CE3

Accessibility & contrast

On white

7.97
#5830C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#5830C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5830C4
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5830C4#FFFFFF#000000##FFFFFF
##5830C41.007.972.637.97
#FFFFFF7.971.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C8
Deuteranopia (green-blind)
#004DC1
Tritanopia (blue-blind)
#285A78
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #5830c4;
/* rgb */ color: rgb(88, 48, 196);
/* oklch */ color: oklch(45.8% 0.212 287.1);
Tailwind
colors: {
  custom: {
    50: '#936dd7',
    500: '#5830c4',
    950: '#000000',
  },
}
SCSS
$custom: #5830c4;
$custom-light: #936dd7;
$custom-dark: #000000;
JSON
{
  "hex": "#5830c4",
  "rgb": {
    "r": 88,
    "g": 48,
    "b": 196
  },
  "hsl": {
    "h": 256.216,
    "s": 60.656,
    "l": 47.843
  },
  "oklch": {
    "l": 0.4579,
    "c": 0.21231,
    "h": 287.1
  },
  "luminance": 0.08174
}

Semantic roles & 50–950 ramp

primary
#5830C4
secondary
#B9CD83
accent
#E444B9
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0715
muted
#7E7A83

Preview Lab

Preview with #5830C4

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

Preview Lab → · Contrast checker → · Palette generator →

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