#5E2FBF#5E2FBF

#5E2FBF is a mid, highly saturated violet. Relative luminance 0.082; OKLCH L 45.8% C 0.207 H 290.7°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#5E2FBF
RGBrgb(94, 47, 191)
HSLhsl(260, 61%, 47%)
HSVhsv(260, 75%, 75%)
CMYKcmyk(50.8%, 75.4%, 0%, 25.1%)
CIE-LABlab(34.34, 53.41, -67.57)
CIE-LCHlch(34.34, 86.13, 308.33°)
OKLaboklab(45.8% 0.0732 -0.1941)
OKLCHoklch(45.8% 0.207 290.7)
XYZxyz(15.0339, 8.1737, 50.0656)
Luminance0.0817 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E2FBF #90BF2F
analogous
#2F48BF #5E2FBF #A62FBF
triadic
#5E2FBF #BF5E2F #2FBF5E
tetradic
#5E2FBF #BF2F48 #90BF2F #2FBFA6
square
#5E2FBF #BF2F48 #90BF2F #2FBFA6
split-complementary
#5E2FBF #BFA62F #48BF2F
monochromatic
#2E175D #46238E #5E2FBF #7F56D5 #A487E1

Accessibility & contrast

On white

7.97
#5E2FBF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E2FBF
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E2FBF#FFFFFF#000000##FFFFFF
##5E2FBF1.007.972.637.97
#FFFFFF7.971.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5e2fbf;
/* rgb */ color: rgb(94, 47, 191);
/* oklch */ color: oklch(45.8% 0.207 290.7);
Tailwind
colors: {
  custom: {
    50: '#956dd3',
    500: '#5e2fbf',
    950: '#000000',
  },
}
SCSS
$custom: #5e2fbf;
$custom-light: #956dd3;
$custom-dark: #000000;
JSON
{
  "hex": "#5e2fbf",
  "rgb": {
    "r": 94,
    "g": 47,
    "b": 191
  },
  "hsl": {
    "h": 259.583,
    "s": 60.504,
    "l": 46.667
  },
  "oklch": {
    "l": 0.45798,
    "c": 0.20747,
    "h": 290.7
  },
  "luminance": 0.08174
}

Semantic roles & 50–950 ramp

primary
#5E2FBF
secondary
#B2CB7F
accent
#E444B0
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #5E2FBF

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

Preview Lab → · Contrast checker → · Palette generator →

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