#5830C0#5830C0

#5830C0 is a mid, highly saturated violet. Relative luminance 0.080; OKLCH L 45.4% C 0.208 H 287.7°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#5830C0
RGBrgb(88, 48, 192)
HSLhsl(257, 60%, 47%)
HSVhsv(257, 75%, 75%)
CMYKcmyk(54.2%, 75%, 0%, 24.7%)
CIE-LABlab(33.97, 52.35, -68.79)
CIE-LCHlch(33.97, 86.45, 307.27°)
OKLaboklab(45.42% 0.0633 -0.1979)
OKLCHoklch(45.42% 0.208 287.7)
XYZxyz(14.5931, 7.9936, 50.6329)
Luminance0.0799 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5830C0 #98C030
analogous
#3050C0 #5830C0 #A030C0
triadic
#5830C0 #C05830 #30C058
tetradic
#5830C0 #C03050 #98C030 #30C0A0
square
#5830C0 #C03050 #98C030 #30C0A0
split-complementary
#5830C0 #C0A030 #50C030
monochromatic
#2B185E #42248F #5830C0 #7B58D5 #A289E1

Accessibility & contrast

On white

8.08
#5830C0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#5830C0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5830C0
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5830C0#FFFFFF#000000##FFFFFF
##5830C01.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C4
Deuteranopia (green-blind)
#004CBD
Tritanopia (blue-blind)
#2D5876
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #5830c0;
/* rgb */ color: rgb(88, 48, 192);
/* oklch */ color: oklch(45.4% 0.208 287.7);
Tailwind
colors: {
  custom: {
    50: '#926dd4',
    500: '#5830c0',
    950: '#000000',
  },
}
SCSS
$custom: #5830c0;
$custom-light: #926dd4;
$custom-dark: #000000;
JSON
{
  "hex": "#5830c0",
  "rgb": {
    "r": 88,
    "g": 48,
    "b": 192
  },
  "hsl": {
    "h": 256.667,
    "s": 60,
    "l": 47.059
  },
  "oklch": {
    "l": 0.45416,
    "c": 0.20777,
    "h": 287.7
  },
  "luminance": 0.07994
}

Semantic roles & 50–950 ramp

primary
#5830C0
secondary
#B7CB80
accent
#E345B7
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #5830C0

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

Preview Lab → · Contrast checker → · Palette generator →

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