#5E2FBE#5E2FBE

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

Color values

HEX#5E2FBE
RGBrgb(94, 47, 190)
HSLhsl(260, 60%, 46%)
HSVhsv(260, 75%, 75%)
CMYKcmyk(50.5%, 75.3%, 0%, 25.5%)
CIE-LABlab(34.25, 53.14, -67.13)
CIE-LCHlch(34.25, 85.62, 308.37°)
OKLaboklab(45.71% 0.0735 -0.1928)
OKLCHoklch(45.71% 0.206 290.9)
XYZxyz(14.9242, 8.1298, 49.4881)
Luminance0.0813 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E2FBE #8FBE2F
analogous
#2F48BE #5E2FBE #A62FBE
triadic
#5E2FBE #BE5E2F #2FBE5E
tetradic
#5E2FBE #BE2F48 #8FBE2F #2FBEA6
square
#5E2FBE #BE2F48 #8FBE2F #2FBEA6
split-complementary
#5E2FBE #BEA62F #48BE2F
monochromatic
#2D175C #46238D #5E2FBE #7F55D5 #A486E1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5E2FBE#FFFFFF#000000##FFFFFF
##5E2FBE1.008.002.638.00
#FFFFFF8.001.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C2
Deuteranopia (green-blind)
#004DBB
Tritanopia (blue-blind)
#3D5675
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #5e2fbe;
/* rgb */ color: rgb(94, 47, 190);
/* oklch */ color: oklch(45.7% 0.206 290.9);
Tailwind
colors: {
  custom: {
    50: '#956dd3',
    500: '#5e2fbe',
    950: '#000000',
  },
}
SCSS
$custom: #5e2fbe;
$custom-light: #956dd3;
$custom-dark: #000000;
JSON
{
  "hex": "#5e2fbe",
  "rgb": {
    "r": 94,
    "g": 47,
    "b": 190
  },
  "hsl": {
    "h": 259.72,
    "s": 60.338,
    "l": 46.471
  },
  "oklch": {
    "l": 0.45707,
    "c": 0.20635,
    "h": 290.9
  },
  "luminance": 0.0813
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5E2FBE

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

Preview Lab → · Contrast checker → · Palette generator →

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