#5E3FB2#5E3FB2

#5E3FB2 is a mid, vivid violet. Relative luminance 0.091; OKLCH L 46.8% C 0.173 H 290.5°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#5E3FB2
RGBrgb(94, 63, 178)
HSLhsl(256, 48%, 47%)
HSVhsv(256, 65%, 70%)
CMYKcmyk(47.2%, 64.6%, 0%, 30.2%)
CIE-LABlab(36.27, 41.42, -56.75)
CIE-LCHlch(36.27, 70.26, 306.13°)
OKLaboklab(46.84% 0.0608 -0.1624)
OKLCHoklch(46.84% 0.173 290.5)
XYZxyz(14.4272, 9.1485, 43.1165)
Luminance0.0915 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E3FB2 #93B23F
analogous
#3F59B2 #5E3FB2 #983FB2
triadic
#5E3FB2 #B25E3F #3FB25E
tetradic
#5E3FB2 #B23F59 #93B23F #3FB298
square
#5E3FB2 #B23F59 #93B23F #3FB298
split-complementary
#5E3FB2 #B2983F #59B23F
monochromatic
#2E1F58 #462F85 #5E3FB2 #8066C9 #A693D9

Accessibility & contrast

On white

7.42
#5E3FB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#5E3FB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E3FB2
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E3FB2#FFFFFF#000000##FFFFFF
##5E3FB21.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B6
Deuteranopia (green-blind)
#0053B0
Tritanopia (blue-blind)
#445A73
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #5e3fb2;
/* rgb */ color: rgb(94, 63, 178);
/* oklch */ color: oklch(46.8% 0.173 290.5);
Tailwind
colors: {
  custom: {
    50: '#9276ca',
    500: '#5e3fb2',
    950: '#000000',
  },
}
SCSS
$custom: #5e3fb2;
$custom-light: #9276ca;
$custom-dark: #000000;
JSON
{
  "hex": "#5e3fb2",
  "rgb": {
    "r": 94,
    "g": 63,
    "b": 178
  },
  "hsl": {
    "h": 256.174,
    "s": 47.718,
    "l": 47.255
  },
  "oklch": {
    "l": 0.46837,
    "c": 0.1734,
    "h": 290.5
  },
  "luminance": 0.09149
}

Semantic roles & 50–950 ramp

primary
#5E3FB2
secondary
#B4C489
accent
#D750B3
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #5E3FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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