#5833CC#5833CC

#5833CC is a mid, highly saturated violet. Relative luminance 0.088; OKLCH L 46.9% C 0.218 H 285.4°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#5833CC
RGBrgb(88, 51, 204)
HSLhsl(255, 60%, 50%)
HSVhsv(255, 75%, 80%)
CMYKcmyk(56.9%, 75%, 0%, 20%)
CIE-LABlab(35.60, 54.27, -73.13)
CIE-LCHlch(35.60, 91.07, 306.58°)
OKLaboklab(46.9% 0.0581 -0.2106)
OKLCHoklch(46.9% 0.218 285.4)
XYZxyz(16.1041, 8.8010, 57.9652)
Luminance0.0880 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5833CC #A7CC33
analogous
#335ACC #5833CC #A533CC
triadic
#5833CC #CC5833 #33CC58
tetradic
#5833CC #CC335A #A7CC33 #33CCA5
square
#5833CC #CC335A #A7CC33 #33CCA5
split-complementary
#5833CC #CCA533 #5ACC33
monochromatic
#2E1B6A #43279B #5833CC #8064D8 #A895E4

Accessibility & contrast

On white

7.61
#5833CC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#5833CC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5833CC
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5833CC#FFFFFF#000000##FFFFFF
##5833CC1.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)
#0058D0
Deuteranopia (green-blind)
#004FC9
Tritanopia (blue-blind)
#1D5E7D
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #5833cc;
/* rgb */ color: rgb(88, 51, 204);
/* oklch */ color: oklch(46.9% 0.218 285.4);
Tailwind
colors: {
  custom: {
    50: '#946fdd',
    500: '#5833cc',
    950: '#000000',
  },
}
SCSS
$custom: #5833cc;
$custom-light: #946fdd;
$custom-dark: #000000;
JSON
{
  "hex": "#5833cc",
  "rgb": {
    "r": 88,
    "g": 51,
    "b": 204
  },
  "hsl": {
    "h": 254.51,
    "s": 60,
    "l": 50
  },
  "oklch": {
    "l": 0.46899,
    "c": 0.21845,
    "h": 285.4
  },
  "luminance": 0.08802
}

Semantic roles & 50–950 ramp

primary
#5833CC
secondary
#BFD08B
accent
#E345BD
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #5833CC

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

Preview Lab → · Contrast checker → · Palette generator →

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