#5E32B8#5E32B8

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

Color values

HEX#5E32B8
RGBrgb(94, 50, 184)
HSLhsl(260, 57%, 46%)
HSVhsv(260, 73%, 72%)
CMYKcmyk(48.9%, 72.8%, 0%, 27.8%)
CIE-LABlab(34.23, 50.06, -63.62)
CIE-LCHlch(34.23, 80.96, 308.20°)
OKLaboklab(45.53% 0.0725 -0.1825)
OKLCHoklch(45.53% 0.196 291.6)
XYZxyz(14.4060, 8.1210, 46.1466)
Luminance0.0812 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E32B8 #8CB832
analogous
#3249B8 #5E32B8 #A132B8
triadic
#5E32B8 #B85E32 #32B85E
tetradic
#5E32B8 #B83249 #8CB832 #32B8A1
square
#5E32B8 #B83249 #8CB832 #32B8A1
split-complementary
#5E32B8 #B8A132 #49B832
monochromatic
#2D1858 #452588 #5E32B8 #7E56D1 #A386DE

Accessibility & contrast

On white

8.00
#5E32B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E32B8
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E32B8#FFFFFF#000000##FFFFFF
##5E32B81.008.002.628.00
#FFFFFF8.001.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BC
Deuteranopia (green-blind)
#004EB5
Tritanopia (blue-blind)
#415572
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #5e32b8;
/* rgb */ color: rgb(94, 50, 184);
/* oklch */ color: oklch(45.5% 0.196 291.6);
Tailwind
colors: {
  custom: {
    50: '#946ece',
    500: '#5e32b8',
    950: '#000000',
  },
}
SCSS
$custom: #5e32b8;
$custom-light: #946ece;
$custom-dark: #000000;
JSON
{
  "hex": "#5e32b8",
  "rgb": {
    "r": 94,
    "g": 50,
    "b": 184
  },
  "hsl": {
    "h": 259.701,
    "s": 57.265,
    "l": 45.882
  },
  "oklch": {
    "l": 0.45532,
    "c": 0.19639,
    "h": 291.6
  },
  "luminance": 0.08122
}

Semantic roles & 50–950 ramp

primary
#5E32B8
secondary
#B0C87E
accent
#E147AE
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0E0714
muted
#7E7A82

Preview Lab

Preview with #5E32B8

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

Preview Lab → · Contrast checker → · Palette generator →

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