#5E2DBF#5E2DBF

#5E2DBF is a mid, highly saturated violet. Relative luminance 0.080; OKLCH L 45.6% C 0.209 H 290.9°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#5E2DBF
RGBrgb(94, 45, 191)
HSLhsl(260, 62%, 46%)
HSVhsv(260, 76%, 75%)
CMYKcmyk(50.8%, 76.4%, 0%, 25.1%)
CIE-LABlab(34.02, 54.34, -68.10)
CIE-LCHlch(34.02, 87.12, 308.59°)
OKLaboklab(45.57% 0.0748 -0.1956)
OKLCHoklch(45.57% 0.209 290.9)
XYZxyz(14.9558, 8.0174, 50.0396)
Luminance0.0802 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E2DBF #8EBF2D
analogous
#2D45BF #5E2DBF #A72DBF
triadic
#5E2DBF #BF5E2D #2DBF5E
tetradic
#5E2DBF #BF2D45 #8EBF2D #2DBFA7
square
#5E2DBF #BF2D45 #8EBF2D #2DBFA7
split-complementary
#5E2DBF #BFA72D #45BF2D
monochromatic
#2D165C #46218D #5E2DBF #7F53D6 #A484E2

Accessibility & contrast

On white

8.07
#5E2DBF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#5E2DBF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E2DBF
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E2DBF#FFFFFF#000000##FFFFFF
##5E2DBF1.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5e2dbf;
/* rgb */ color: rgb(94, 45, 191);
/* oklch */ color: oklch(45.6% 0.209 290.9);
Tailwind
colors: {
  custom: {
    50: '#956cd3',
    500: '#5e2dbf',
    950: '#000000',
  },
}
SCSS
$custom: #5e2dbf;
$custom-light: #956cd3;
$custom-dark: #000000;
JSON
{
  "hex": "#5e2dbf",
  "rgb": {
    "r": 94,
    "g": 45,
    "b": 191
  },
  "hsl": {
    "h": 260.137,
    "s": 61.864,
    "l": 46.275
  },
  "oklch": {
    "l": 0.45571,
    "c": 0.20945,
    "h": 290.9
  },
  "luminance": 0.08018
}

Semantic roles & 50–950 ramp

primary
#5E2DBF
secondary
#B1CB7C
accent
#E543AF
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #5E2DBF

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

Preview Lab → · Contrast checker → · Palette generator →

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