#5E33B7#5E33B7

#5E33B7 is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.6% C 0.194 H 291.7°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#5E33B7
RGBrgb(94, 51, 183)
HSLhsl(260, 56%, 46%)
HSVhsv(260, 72%, 72%)
CMYKcmyk(48.6%, 72.1%, 0%, 28.2%)
CIE-LABlab(34.33, 49.29, -62.88)
CIE-LCHlch(34.33, 79.89, 308.09°)
OKLaboklab(45.57% 0.0718 -0.1804)
OKLCHoklch(45.57% 0.194 291.7)
XYZxyz(14.3448, 8.1657, 45.6109)
Luminance0.0817 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E33B7 #8CB733
analogous
#334AB7 #5E33B7 #A033B7
triadic
#5E33B7 #B75E33 #33B75E
tetradic
#5E33B7 #B7334A #8CB733 #33B7A0
square
#5E33B7 #B7334A #8CB733 #33B7A0
split-complementary
#5E33B7 #B7A033 #4AB733
monochromatic
#2D1857 #452687 #5E33B7 #7E57D0 #A387DE

Accessibility & contrast

On white

7.98
#5E33B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#5E33B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E33B7
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E33B7#FFFFFF#000000##FFFFFF
##5E33B71.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BB
Deuteranopia (green-blind)
#004EB4
Tritanopia (blue-blind)
#415572
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #5e33b7;
/* rgb */ color: rgb(94, 51, 183);
/* oklch */ color: oklch(45.6% 0.194 291.7);
Tailwind
colors: {
  custom: {
    50: '#946fce',
    500: '#5e33b7',
    950: '#000000',
  },
}
SCSS
$custom: #5e33b7;
$custom-light: #946fce;
$custom-dark: #000000;
JSON
{
  "hex": "#5e33b7",
  "rgb": {
    "r": 94,
    "g": 51,
    "b": 183
  },
  "hsl": {
    "h": 259.545,
    "s": 56.41,
    "l": 45.882
  },
  "oklch": {
    "l": 0.4557,
    "c": 0.19413,
    "h": 291.7
  },
  "luminance": 0.08166
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5E33B7

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

Preview Lab → · Contrast checker → · Palette generator →

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