#5D33B7#5D33B7

#5D33B7 is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.5% C 0.194 H 291.2°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#5D33B7
RGBrgb(93, 51, 183)
HSLhsl(259, 56%, 46%)
HSVhsv(259, 72%, 72%)
CMYKcmyk(49.2%, 72.1%, 0%, 28.2%)
CIE-LABlab(34.22, 49.12, -63.06)
CIE-LCHlch(34.22, 79.93, 307.92°)
OKLaboklab(45.47% 0.0703 -0.1809)
OKLCHoklch(45.47% 0.194 291.2)
XYZxyz(14.2428, 8.1132, 45.6061)
Luminance0.0811 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D33B7 #8DB733
analogous
#334BB7 #5D33B7 #9F33B7
triadic
#5D33B7 #B75D33 #33B75D
tetradic
#5D33B7 #B7334B #8DB733 #33B79F
square
#5D33B7 #B7334B #8DB733 #33B79F
split-complementary
#5D33B7 #B79F33 #4BB733
monochromatic
#2C1857 #452687 #5D33B7 #7E57D0 #A287DE

Accessibility & contrast

On white

8.01
#5D33B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#5D33B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D33B7
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D33B7#FFFFFF#000000##FFFFFF
##5D33B71.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BB
Deuteranopia (green-blind)
#004EB4
Tritanopia (blue-blind)
#3F5672
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #5d33b7;
/* rgb */ color: rgb(93, 51, 183);
/* oklch */ color: oklch(45.5% 0.194 291.2);
Tailwind
colors: {
  custom: {
    50: '#936ece',
    500: '#5d33b7',
    950: '#000000',
  },
}
SCSS
$custom: #5d33b7;
$custom-light: #936ece;
$custom-dark: #000000;
JSON
{
  "hex": "#5d33b7",
  "rgb": {
    "r": 93,
    "g": 51,
    "b": 183
  },
  "hsl": {
    "h": 259.091,
    "s": 56.41,
    "l": 45.882
  },
  "oklch": {
    "l": 0.45468,
    "c": 0.19411,
    "h": 291.2
  },
  "luminance": 0.08114
}

Semantic roles & 50–950 ramp

primary
#5D33B7
secondary
#B0C77F
accent
#E048AF
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0E0714
muted
#7E7A82

Preview Lab

Preview with #5D33B7

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

Preview Lab → · Contrast checker → · Palette generator →

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