#5830C2#5830C2

#5830C2 is a mid, highly saturated violet. Relative luminance 0.081; OKLCH L 45.6% C 0.210 H 287.4°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#5830C2
RGBrgb(88, 48, 194)
HSLhsl(256, 60%, 47%)
HSVhsv(256, 75%, 76%)
CMYKcmyk(54.6%, 75.3%, 0%, 23.9%)
CIE-LABlab(34.15, 52.91, -69.66)
CIE-LCHlch(34.15, 87.48, 307.22°)
OKLaboklab(45.6% 0.0628 -0.2004)
OKLCHoklch(45.6% 0.21 287.4)
XYZxyz(14.8162, 8.0829, 51.8079)
Luminance0.0808 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5830C2 #9AC230
analogous
#3051C2 #5830C2 #A130C2
triadic
#5830C2 #C25830 #30C258
tetradic
#5830C2 #C23051 #9AC230 #30C2A1
square
#5830C2 #C23051 #9AC230 #30C2A1
split-complementary
#5830C2 #C2A130 #51C230
monochromatic
#2B1860 #422491 #5830C2 #7B59D6 #A28AE2

Accessibility & contrast

On white

8.03
#5830C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#5830C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5830C2
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5830C2#FFFFFF#000000##FFFFFF
##5830C21.008.032.628.03
#FFFFFF8.031.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C6
Deuteranopia (green-blind)
#004CBF
Tritanopia (blue-blind)
#2B5977
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #5830c2;
/* rgb */ color: rgb(88, 48, 194);
/* oklch */ color: oklch(45.6% 0.210 287.4);
Tailwind
colors: {
  custom: {
    50: '#926dd6',
    500: '#5830c2',
    950: '#000000',
  },
}
SCSS
$custom: #5830c2;
$custom-light: #926dd6;
$custom-dark: #000000;
JSON
{
  "hex": "#5830c2",
  "rgb": {
    "r": 88,
    "g": 48,
    "b": 194
  },
  "hsl": {
    "h": 256.438,
    "s": 60.331,
    "l": 47.451
  },
  "oklch": {
    "l": 0.45603,
    "c": 0.21005,
    "h": 287.4
  },
  "luminance": 0.08084
}

Semantic roles & 50–950 ramp

primary
#5830C2
secondary
#B8CC82
accent
#E344B8
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #5830C2

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

Preview Lab → · Contrast checker → · Palette generator →

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