#5D2EBF#5D2EBF

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

Color values

HEX#5D2EBF
RGBrgb(93, 46, 191)
HSLhsl(259, 61%, 46%)
HSVhsv(259, 76%, 75%)
CMYKcmyk(51.3%, 75.9%, 0%, 25.1%)
CIE-LABlab(34.07, 53.73, -68.02)
CIE-LCHlch(34.07, 86.68, 308.31°)
OKLaboklab(45.58% 0.0725 -0.1955)
OKLCHoklch(45.58% 0.208 290.4)
XYZxyz(14.8925, 8.0421, 50.0477)
Luminance0.0804 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D2EBF #90BF2E
analogous
#2E48BF #5D2EBF #A62EBF
triadic
#5D2EBF #BF5D2E #2EBF5D
tetradic
#5D2EBF #BF2E48 #90BF2E #2EBFA6
square
#5D2EBF #BF2E48 #90BF2E #2EBFA6
split-complementary
#5D2EBF #BFA62E #48BF2E
monochromatic
#2D165C #45228E #5D2EBF #7E54D6 #A386E2

Accessibility & contrast

On white

8.05
#5D2EBF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#5D2EBF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D2EBF
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D2EBF#FFFFFF#000000##FFFFFF
##5D2EBF1.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5d2ebf;
/* rgb */ color: rgb(93, 46, 191);
/* oklch */ color: oklch(45.6% 0.208 290.4);
Tailwind
colors: {
  custom: {
    50: '#956cd3',
    500: '#5d2ebf',
    950: '#000000',
  },
}
SCSS
$custom: #5d2ebf;
$custom-light: #956cd3;
$custom-dark: #000000;
JSON
{
  "hex": "#5d2ebf",
  "rgb": {
    "r": 93,
    "g": 46,
    "b": 191
  },
  "hsl": {
    "h": 259.448,
    "s": 61.181,
    "l": 46.471
  },
  "oklch": {
    "l": 0.45582,
    "c": 0.20847,
    "h": 290.4
  },
  "luminance": 0.08043
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5D2EBF

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

Preview Lab → · Contrast checker → · Palette generator →

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