#5E2EBC#5E2EBC

#5E2EBC is a mid, highly saturated violet. Relative luminance 0.080; OKLCH L 45.4% C 0.205 H 291.4°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#5E2EBC
RGBrgb(94, 46, 188)
HSLhsl(260, 61%, 46%)
HSVhsv(260, 76%, 74%)
CMYKcmyk(50%, 75.5%, 0%, 26.3%)
CIE-LABlab(33.91, 53.07, -66.52)
CIE-LCHlch(33.91, 85.09, 308.59°)
OKLaboklab(45.41% 0.0748 -0.191)
OKLCHoklch(45.41% 0.205 291.4)
XYZxyz(14.6676, 7.9639, 48.3316)
Luminance0.0796 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E2EBC #8CBC2E
analogous
#2E45BC #5E2EBC #A52EBC
triadic
#5E2EBC #BC5E2E #2EBC5E
tetradic
#5E2EBC #BC2E45 #8CBC2E #2EBCA5
square
#5E2EBC #BC2E45 #8CBC2E #2EBCA5
split-complementary
#5E2EBC #BCA52E #45BC2E
monochromatic
#2D165A #45228B #5E2EBC #7E52D5 #A384E1

Accessibility & contrast

On white

8.10
#5E2EBC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#5E2EBC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E2EBC
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E2EBC#FFFFFF#000000##FFFFFF
##5E2EBC1.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052C0
Deuteranopia (green-blind)
#004DB9
Tritanopia (blue-blind)
#3E5573
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #5e2ebc;
/* rgb */ color: rgb(94, 46, 188);
/* oklch */ color: oklch(45.4% 0.205 291.4);
Tailwind
colors: {
  custom: {
    50: '#956cd1',
    500: '#5e2ebc',
    950: '#000000',
  },
}
SCSS
$custom: #5e2ebc;
$custom-light: #956cd1;
$custom-dark: #000000;
JSON
{
  "hex": "#5e2ebc",
  "rgb": {
    "r": 94,
    "g": 46,
    "b": 188
  },
  "hsl": {
    "h": 260.282,
    "s": 60.684,
    "l": 45.882
  },
  "oklch": {
    "l": 0.4541,
    "c": 0.20514,
    "h": 291.4
  },
  "luminance": 0.07965
}

Semantic roles & 50–950 ramp

primary
#5E2EBC
secondary
#B0CA7C
accent
#E444AE
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #5E2EBC

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

Preview Lab → · Contrast checker → · Palette generator →

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