#5830B7#5830B7

#5830B7 is a dark, vivid violet. Relative luminance 0.076; OKLCH L 44.6% C 0.197 H 289.4°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#5830B7
RGBrgb(88, 48, 183)
HSLhsl(258, 58%, 45%)
HSVhsv(258, 74%, 72%)
CMYKcmyk(51.9%, 73.8%, 0%, 28.2%)
CIE-LABlab(33.15, 49.83, -64.83)
CIE-LCHlch(33.15, 81.77, 307.55°)
OKLaboklab(44.59% 0.0656 -0.1863)
OKLCHoklch(44.59% 0.197 289.4)
XYZxyz(13.6262, 7.6069, 45.5409)
Luminance0.0761 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5830B7 #8FB730
analogous
#304BB7 #5830B7 #9C30B7
triadic
#5830B7 #B75830 #30B758
tetradic
#5830B7 #B7304B #8FB730 #30B79C
square
#5830B7 #B7304B #8FB730 #30B79C
split-complementary
#5830B7 #B79C30 #4BB730
monochromatic
#291756 #412387 #5830B7 #7852D2 #9E83DE

Accessibility & contrast

On white

8.33
#5830B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#5830B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5830B7
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5830B7#FFFFFF#000000##FFFFFF
##5830B71.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051BB
Deuteranopia (green-blind)
#004BB4
Tritanopia (blue-blind)
#355571
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #5830b7;
/* rgb */ color: rgb(88, 48, 183);
/* oklch */ color: oklch(44.6% 0.197 289.4);
Tailwind
colors: {
  custom: {
    50: '#916cce',
    500: '#5830b7',
    950: '#000000',
  },
}
SCSS
$custom: #5830b7;
$custom-light: #916cce;
$custom-dark: #000000;
JSON
{
  "hex": "#5830b7",
  "rgb": {
    "r": 88,
    "g": 48,
    "b": 183
  },
  "hsl": {
    "h": 257.778,
    "s": 58.442,
    "l": 45.294
  },
  "oklch": {
    "l": 0.4459,
    "c": 0.19747,
    "h": 289.4
  },
  "luminance": 0.07608
}

Semantic roles & 50–950 ramp

primary
#5830B7
secondary
#B1C87B
accent
#E246B4
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0E0714
muted
#7E7A82

Preview Lab

Preview with #5830B7

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

Preview Lab → · Contrast checker → · Palette generator →

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