#5D33B8#5D33B8

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

Color values

HEX#5D33B8
RGBrgb(93, 51, 184)
HSLhsl(259, 57%, 46%)
HSVhsv(259, 72%, 72%)
CMYKcmyk(49.5%, 72.3%, 0%, 27.8%)
CIE-LABlab(34.30, 49.40, -63.51)
CIE-LCHlch(34.30, 80.46, 307.88°)
OKLaboklab(45.56% 0.0701 -0.1823)
OKLCHoklch(45.56% 0.195 291)
XYZxyz(14.3473, 8.1549, 46.1562)
Luminance0.0816 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D33B8 #8EB833
analogous
#334BB8 #5D33B8 #9F33B8
triadic
#5D33B8 #B85D33 #33B85D
tetradic
#5D33B8 #B8334B #8EB833 #33B89F
square
#5D33B8 #B8334B #8EB833 #33B89F
split-complementary
#5D33B8 #B89F33 #4BB833
monochromatic
#2D1858 #452688 #5D33B8 #7E58D1 #A388DE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5D33B8#FFFFFF#000000##FFFFFF
##5D33B81.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)
#0053BC
Deuteranopia (green-blind)
#004EB5
Tritanopia (blue-blind)
#3F5672
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #5d33b8;
/* rgb */ color: rgb(93, 51, 184);
/* oklch */ color: oklch(45.6% 0.195 291.0);
Tailwind
colors: {
  custom: {
    50: '#936fce',
    500: '#5d33b8',
    950: '#000000',
  },
}
SCSS
$custom: #5d33b8;
$custom-light: #936fce;
$custom-dark: #000000;
JSON
{
  "hex": "#5d33b8",
  "rgb": {
    "r": 93,
    "g": 51,
    "b": 184
  },
  "hsl": {
    "h": 258.947,
    "s": 56.596,
    "l": 46.078
  },
  "oklch": {
    "l": 0.45556,
    "c": 0.19528,
    "h": 291
  },
  "luminance": 0.08156
}

Semantic roles & 50–950 ramp

primary
#5D33B8
secondary
#B1C87F
accent
#E048B0
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0E0714
muted
#7E7A82

Preview Lab

Preview with #5D33B8

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

Preview Lab → · Contrast checker → · Palette generator →

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