#5D33BF#5D33BF

#5D33BF is a mid, highly saturated violet. Relative luminance 0.085; OKLCH L 46.2% C 0.203 H 289.7°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#5D33BF
RGBrgb(93, 51, 191)
HSLhsl(258, 58%, 47%)
HSVhsv(258, 73%, 75%)
CMYKcmyk(51.3%, 73.3%, 0%, 25.1%)
CIE-LABlab(34.91, 51.34, -66.64)
CIE-LCHlch(34.91, 84.12, 307.61°)
OKLaboklab(46.18% 0.0685 -0.1914)
OKLCHoklch(46.18% 0.203 289.7)
XYZxyz(15.0993, 8.4557, 50.1166)
Luminance0.0846 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D33BF #95BF33
analogous
#334FBF #5D33BF #A333BF
triadic
#5D33BF #BF5D33 #33BF5D
tetradic
#5D33BF #BF334F #95BF33 #33BFA3
square
#5D33BF #BF334F #95BF33 #33BFA3
split-complementary
#5D33BF #BFA333 #4FBF33
monochromatic
#2E195E #45268F #5D33BF #805CD3 #A58CE0

Accessibility & contrast

On white

7.80
#5D33BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#5D33BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D33BF
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D33BF#FFFFFF#000000##FFFFFF
##5D33BF1.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C3
Deuteranopia (green-blind)
#004FBC
Tritanopia (blue-blind)
#3A5976
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #5d33bf;
/* rgb */ color: rgb(93, 51, 191);
/* oklch */ color: oklch(46.2% 0.203 289.7);
Tailwind
colors: {
  custom: {
    50: '#946fd3',
    500: '#5d33bf',
    950: '#000000',
  },
}
SCSS
$custom: #5d33bf;
$custom-light: #946fd3;
$custom-dark: #000000;
JSON
{
  "hex": "#5d33bf",
  "rgb": {
    "r": 93,
    "g": 51,
    "b": 191
  },
  "hsl": {
    "h": 258,
    "s": 57.851,
    "l": 47.451
  },
  "oklch": {
    "l": 0.46176,
    "c": 0.20333,
    "h": 289.7
  },
  "luminance": 0.08456
}

Semantic roles & 50–950 ramp

primary
#5D33BF
secondary
#B5CB83
accent
#E147B3
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #5D33BF

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

Preview Lab → · Contrast checker → · Palette generator →

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