#5D33BB#5D33BB

#5D33BB is a mid, vivid violet. Relative luminance 0.083; OKLCH L 45.8% C 0.199 H 290.5°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#5D33BB
RGBrgb(93, 51, 187)
HSLhsl(259, 57%, 47%)
HSVhsv(259, 73%, 73%)
CMYKcmyk(50.3%, 72.7%, 0%, 26.7%)
CIE-LABlab(34.56, 50.23, -64.86)
CIE-LCHlch(34.56, 82.03, 307.76°)
OKLaboklab(45.82% 0.0695 -0.1862)
OKLCHoklch(45.82% 0.199 290.5)
XYZxyz(14.6651, 8.2821, 47.8300)
Luminance0.0828 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D33BB #91BB33
analogous
#334DBB #5D33BB #A133BB
triadic
#5D33BB #BB5D33 #33BB5D
tetradic
#5D33BB #BB334D #91BB33 #33BBA1
square
#5D33BB #BB334D #91BB33 #33BBA1
split-complementary
#5D33BB #BBA133 #4DBB33
monochromatic
#2D195B #45268B #5D33BB #7F59D2 #A489DF

Accessibility & contrast

On white

7.90
#5D33BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#5D33BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D33BB
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D33BB#FFFFFF#000000##FFFFFF
##5D33BB1.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BF
Deuteranopia (green-blind)
#004EB8
Tritanopia (blue-blind)
#3D5774
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #5d33bb;
/* rgb */ color: rgb(93, 51, 187);
/* oklch */ color: oklch(45.8% 0.199 290.5);
Tailwind
colors: {
  custom: {
    50: '#946fd1',
    500: '#5d33bb',
    950: '#000000',
  },
}
SCSS
$custom: #5d33bb;
$custom-light: #946fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#5d33bb",
  "rgb": {
    "r": 93,
    "g": 51,
    "b": 187
  },
  "hsl": {
    "h": 258.529,
    "s": 57.143,
    "l": 46.667
  },
  "oklch": {
    "l": 0.4582,
    "c": 0.19874,
    "h": 290.5
  },
  "luminance": 0.08283
}

Semantic roles & 50–950 ramp

primary
#5D33BB
secondary
#B3C981
accent
#E047B1
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0E0714
muted
#7E7A82

Preview Lab

Preview with #5D33BB

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

Preview Lab → · Contrast checker → · Palette generator →

#5D33BB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva