#5833B2#5833B2

#5833B2 is a dark, vivid violet. Relative luminance 0.077; OKLCH L 44.5% C 0.188 H 289.9°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#5833B2
RGBrgb(88, 51, 178)
HSLhsl(257, 55%, 45%)
HSVhsv(257, 71%, 70%)
CMYKcmyk(50.6%, 71.3%, 0%, 30.2%)
CIE-LABlab(33.26, 46.89, -61.69)
CIE-LCHlch(33.26, 77.48, 307.24°)
OKLaboklab(44.53% 0.0641 -0.1771)
OKLCHoklch(44.53% 0.188 289.9)
XYZxyz(13.2419, 7.6562, 42.8909)
Luminance0.0766 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5833B2 #8DB233
analogous
#334EB2 #5833B2 #9733B2
triadic
#5833B2 #B25833 #33B258
tetradic
#5833B2 #B2334E #8DB233 #33B297
square
#5833B2 #B2334E #8DB233 #33B297
split-complementary
#5833B2 #B29733 #4EB233
monochromatic
#291853 #402582 #5833B2 #7854CE #9D84DC

Accessibility & contrast

On white

8.30
#5833B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#5833B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5833B2
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5833B2#FFFFFF#000000##FFFFFF
##5833B21.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B6
Deuteranopia (green-blind)
#004BB0
Tritanopia (blue-blind)
#39546F
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #5833b2;
/* rgb */ color: rgb(88, 51, 178);
/* oklch */ color: oklch(44.5% 0.188 289.9);
Tailwind
colors: {
  custom: {
    50: '#906eca',
    500: '#5833b2',
    950: '#000000',
  },
}
SCSS
$custom: #5833b2;
$custom-light: #906eca;
$custom-dark: #000000;
JSON
{
  "hex": "#5833b2",
  "rgb": {
    "r": 88,
    "g": 51,
    "b": 178
  },
  "hsl": {
    "h": 257.48,
    "s": 55.459,
    "l": 44.902
  },
  "oklch": {
    "l": 0.44529,
    "c": 0.1883,
    "h": 289.9
  },
  "luminance": 0.07657
}

Semantic roles & 50–950 ramp

primary
#5833B2
secondary
#B0C57C
accent
#DF49B3
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #5833B2

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

Preview Lab → · Contrast checker → · Palette generator →

#5833B2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva