#5833B5#5833B5

#5833B5 is a dark, vivid violet. Relative luminance 0.078; OKLCH L 44.8% C 0.192 H 289.3°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#5833B5
RGBrgb(88, 51, 181)
HSLhsl(257, 56%, 45%)
HSVhsv(257, 72%, 71%)
CMYKcmyk(51.4%, 71.8%, 0%, 29%)
CIE-LABlab(33.52, 47.74, -63.04)
CIE-LCHlch(33.52, 79.08, 307.14°)
OKLaboklab(44.79% 0.0635 -0.181)
OKLCHoklch(44.79% 0.192 289.3)
XYZxyz(13.5464, 7.7780, 44.4946)
Luminance0.0778 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5833B5 #90B533
analogous
#334FB5 #5833B5 #9933B5
triadic
#5833B5 #B55833 #33B558
tetradic
#5833B5 #B5334F #90B533 #33B599
square
#5833B5 #B5334F #90B533 #33B599
split-complementary
#5833B5 #B59933 #4FB533
monochromatic
#2A1856 #412685 #5833B5 #7856CF #9E86DD

Accessibility & contrast

On white

8.22
#5833B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#5833B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5833B5
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5833B5#FFFFFF#000000##FFFFFF
##5833B51.008.222.568.22
#FFFFFF8.221.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B9
Deuteranopia (green-blind)
#004CB2
Tritanopia (blue-blind)
#365571
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #5833b5;
/* rgb */ color: rgb(88, 51, 181);
/* oklch */ color: oklch(44.8% 0.192 289.3);
Tailwind
colors: {
  custom: {
    50: '#906ecc',
    500: '#5833b5',
    950: '#000000',
  },
}
SCSS
$custom: #5833b5;
$custom-light: #906ecc;
$custom-dark: #000000;
JSON
{
  "hex": "#5833b5",
  "rgb": {
    "r": 88,
    "g": 51,
    "b": 181
  },
  "hsl": {
    "h": 257.077,
    "s": 56.034,
    "l": 45.49
  },
  "oklch": {
    "l": 0.44794,
    "c": 0.19185,
    "h": 289.3
  },
  "luminance": 0.07779
}

Semantic roles & 50–950 ramp

primary
#5833B5
secondary
#B2C67D
accent
#DF48B4
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #5833B5

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

Preview Lab → · Contrast checker → · Palette generator →

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