#5E2EBF#5E2EBF

#5E2EBF is a mid, highly saturated violet. Relative luminance 0.081; OKLCH L 45.7% C 0.208 H 290.8°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#5E2EBF
RGBrgb(94, 46, 191)
HSLhsl(260, 61%, 46%)
HSVhsv(260, 76%, 75%)
CMYKcmyk(50.8%, 75.9%, 0%, 25.1%)
CIE-LABlab(34.18, 53.88, -67.84)
CIE-LCHlch(34.18, 86.63, 308.46°)
OKLaboklab(45.68% 0.074 -0.1949)
OKLCHoklch(45.68% 0.208 290.8)
XYZxyz(14.9944, 8.0946, 50.0525)
Luminance0.0809 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E2EBF #8FBF2E
analogous
#2E47BF #5E2EBF #A72EBF
triadic
#5E2EBF #BF5E2E #2EBF5E
tetradic
#5E2EBF #BF2E47 #8FBF2E #2EBFA7
square
#5E2EBF #BF2E47 #8FBF2E #2EBFA7
split-complementary
#5E2EBF #BFA72E #47BF2E
monochromatic
#2D165C #46228E #5E2EBF #7F54D6 #A486E2

Accessibility & contrast

On white

8.02
#5E2EBF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E2EBF
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E2EBF#FFFFFF#000000##FFFFFF
##5E2EBF1.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C3
Deuteranopia (green-blind)
#004DBC
Tritanopia (blue-blind)
#3C5675
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #5e2ebf;
/* rgb */ color: rgb(94, 46, 191);
/* oklch */ color: oklch(45.7% 0.208 290.8);
Tailwind
colors: {
  custom: {
    50: '#956cd3',
    500: '#5e2ebf',
    950: '#000000',
  },
}
SCSS
$custom: #5e2ebf;
$custom-light: #956cd3;
$custom-dark: #000000;
JSON
{
  "hex": "#5e2ebf",
  "rgb": {
    "r": 94,
    "g": 46,
    "b": 191
  },
  "hsl": {
    "h": 259.862,
    "s": 61.181,
    "l": 46.471
  },
  "oklch": {
    "l": 0.45684,
    "c": 0.20846,
    "h": 290.8
  },
  "luminance": 0.08095
}

Semantic roles & 50–950 ramp

primary
#5E2EBF
secondary
#B2CB7E
accent
#E444AF
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #5E2EBF

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

Preview Lab → · Contrast checker → · Palette generator →

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