#5D33BE#5D33BE

#5D33BE is a mid, highly saturated violet. Relative luminance 0.084; OKLCH L 46.1% C 0.202 H 289.9°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#5D33BE
RGBrgb(93, 51, 190)
HSLhsl(258, 58%, 47%)
HSVhsv(258, 73%, 75%)
CMYKcmyk(51.1%, 73.2%, 0%, 25.5%)
CIE-LABlab(34.83, 51.06, -66.19)
CIE-LCHlch(34.83, 83.60, 307.65°)
OKLaboklab(46.09% 0.0688 -0.1901)
OKLCHoklch(46.09% 0.202 289.9)
XYZxyz(14.9896, 8.4119, 49.5391)
Luminance0.0841 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D33BE #94BE33
analogous
#334FBE #5D33BE #A233BE
triadic
#5D33BE #BE5D33 #33BE5D
tetradic
#5D33BE #BE334F #94BE33 #33BEA2
square
#5D33BE #BE334F #94BE33 #33BEA2
split-complementary
#5D33BE #BEA233 #4FBE33
monochromatic
#2E195E #45268E #5D33BE #7F5BD3 #A58BE0

Accessibility & contrast

On white

7.83
#5D33BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#5D33BE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D33BE
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D33BE#FFFFFF#000000##FFFFFF
##5D33BE1.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C2
Deuteranopia (green-blind)
#004FBB
Tritanopia (blue-blind)
#3A5876
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #5d33be;
/* rgb */ color: rgb(93, 51, 190);
/* oklch */ color: oklch(46.1% 0.202 289.9);
Tailwind
colors: {
  custom: {
    50: '#946fd3',
    500: '#5d33be',
    950: '#000000',
  },
}
SCSS
$custom: #5d33be;
$custom-light: #946fd3;
$custom-dark: #000000;
JSON
{
  "hex": "#5d33be",
  "rgb": {
    "r": 93,
    "g": 51,
    "b": 190
  },
  "hsl": {
    "h": 258.129,
    "s": 57.676,
    "l": 47.255
  },
  "oklch": {
    "l": 0.46087,
    "c": 0.20218,
    "h": 289.9
  },
  "luminance": 0.08413
}

Semantic roles & 50–950 ramp

primary
#5D33BE
secondary
#B5CA83
accent
#E147B2
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #5D33BE

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

Preview Lab → · Contrast checker → · Palette generator →

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