#5830BD#5830BD

#5830BD is a mid, highly saturated violet. Relative luminance 0.079; OKLCH L 45.1% C 0.204 H 288.3°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#5830BD
RGBrgb(88, 48, 189)
HSLhsl(257, 59%, 46%)
HSVhsv(257, 75%, 74%)
CMYKcmyk(53.4%, 74.6%, 0%, 25.9%)
CIE-LABlab(33.69, 51.51, -67.48)
CIE-LCHlch(33.69, 84.89, 307.36°)
OKLaboklab(45.14% 0.0641 -0.194)
OKLCHoklch(45.14% 0.204 288.3)
XYZxyz(14.2641, 7.8620, 48.9002)
Luminance0.0786 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5830BD #95BD30
analogous
#304FBD #5830BD #9F30BD
triadic
#5830BD #BD5830 #30BD58
tetradic
#5830BD #BD304F #95BD30 #30BD9F
square
#5830BD #BD304F #95BD30 #30BD9F
split-complementary
#5830BD #BD9F30 #4FBD30
monochromatic
#2B175B #41248C #5830BD #7A56D4 #A087E0

Accessibility & contrast

On white

8.16
#5830BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#5830BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5830BD
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5830BD#FFFFFF#000000##FFFFFF
##5830BD1.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052C1
Deuteranopia (green-blind)
#004CBA
Tritanopia (blue-blind)
#305774
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #5830bd;
/* rgb */ color: rgb(88, 48, 189);
/* oklch */ color: oklch(45.1% 0.204 288.3);
Tailwind
colors: {
  custom: {
    50: '#926dd2',
    500: '#5830bd',
    950: '#000000',
  },
}
SCSS
$custom: #5830bd;
$custom-light: #926dd2;
$custom-dark: #000000;
JSON
{
  "hex": "#5830bd",
  "rgb": {
    "r": 88,
    "g": 48,
    "b": 189
  },
  "hsl": {
    "h": 257.021,
    "s": 59.494,
    "l": 46.471
  },
  "oklch": {
    "l": 0.45138,
    "c": 0.20436,
    "h": 288.3
  },
  "luminance": 0.07863
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5830BD

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

Preview Lab → · Contrast checker → · Palette generator →

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