#5830D1#5830D1

#5830D1 is a mid, highly saturated violet. Relative luminance 0.088; OKLCH L 47.0% C 0.227 H 285.0°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#5830D1
RGBrgb(88, 48, 209)
HSLhsl(255, 64%, 50%)
HSVhsv(255, 77%, 82%)
CMYKcmyk(57.9%, 77%, 0%, 18%)
CIE-LABlab(35.58, 57.09, -76.06)
CIE-LCHlch(35.58, 95.10, 306.89°)
OKLaboklab(47.03% 0.0587 -0.2191)
OKLCHoklch(47.03% 0.227 285)
XYZxyz(16.5866, 8.7910, 61.1321)
Luminance0.0879 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5830D1 #A9D130
analogous
#3058D1 #5830D1 #A830D1
triadic
#5830D1 #D15830 #30D158
tetradic
#5830D1 #D13058 #A9D130 #30D1A8
square
#5830D1 #D13058 #A9D130 #30D1A8
split-complementary
#5830D1 #D1A830 #58D130
monochromatic
#2E186E #4324A0 #5830D1 #8062DC #A994E7

Accessibility & contrast

On white

7.61
#5830D1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#5830D1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5830D1
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5830D1#FFFFFF#000000##FFFFFF
##5830D11.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058D6
Deuteranopia (green-blind)
#004FCE
Tritanopia (blue-blind)
#125F80
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #5830d1;
/* rgb */ color: rgb(88, 48, 209);
/* oklch */ color: oklch(47.0% 0.227 285.0);
Tailwind
colors: {
  custom: {
    50: '#956ee0',
    500: '#5830d1',
    950: '#000000',
  },
}
SCSS
$custom: #5830d1;
$custom-light: #956ee0;
$custom-dark: #000000;
JSON
{
  "hex": "#5830d1",
  "rgb": {
    "r": 88,
    "g": 48,
    "b": 209
  },
  "hsl": {
    "h": 254.907,
    "s": 63.636,
    "l": 50.392
  },
  "oklch": {
    "l": 0.47029,
    "c": 0.22688,
    "h": 285
  },
  "luminance": 0.08792
}

Semantic roles & 50–950 ramp

primary
#5830D1
secondary
#C0D28A
accent
#E741BE
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0F0715
muted
#7E7A83

Preview Lab

Preview with #5830D1

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

Preview Lab → · Contrast checker → · Palette generator →

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