#5D2EBC#5D2EBC

#5D2EBC is a mid, highly saturated violet. Relative luminance 0.079; OKLCH L 45.3% C 0.205 H 290.9°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#5D2EBC
RGBrgb(93, 46, 188)
HSLhsl(260, 61%, 46%)
HSVhsv(260, 76%, 74%)
CMYKcmyk(50.5%, 75.5%, 0%, 26.3%)
CIE-LABlab(33.80, 52.92, -66.70)
CIE-LCHlch(33.80, 85.15, 308.43°)
OKLaboklab(45.31% 0.0733 -0.1916)
OKLCHoklch(45.31% 0.205 290.9)
XYZxyz(14.5657, 7.9114, 48.3268)
Luminance0.0791 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D2EBC #8DBC2E
analogous
#2E46BC #5D2EBC #A42EBC
triadic
#5D2EBC #BC5D2E #2EBC5D
tetradic
#5D2EBC #BC2E46 #8DBC2E #2EBCA4
square
#5D2EBC #BC2E46 #8DBC2E #2EBCA4
split-complementary
#5D2EBC #BCA42E #46BC2E
monochromatic
#2C165A #45228B #5D2EBC #7E52D5 #A284E1

Accessibility & contrast

On white

8.13
#5D2EBC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#5D2EBC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D2EBC
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D2EBC#FFFFFF#000000##FFFFFF
##5D2EBC1.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052C0
Deuteranopia (green-blind)
#004CB9
Tritanopia (blue-blind)
#3C5573
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #5d2ebc;
/* rgb */ color: rgb(93, 46, 188);
/* oklch */ color: oklch(45.3% 0.205 290.9);
Tailwind
colors: {
  custom: {
    50: '#946cd1',
    500: '#5d2ebc',
    950: '#000000',
  },
}
SCSS
$custom: #5d2ebc;
$custom-light: #946cd1;
$custom-dark: #000000;
JSON
{
  "hex": "#5d2ebc",
  "rgb": {
    "r": 93,
    "g": 46,
    "b": 188
  },
  "hsl": {
    "h": 259.859,
    "s": 60.684,
    "l": 45.882
  },
  "oklch": {
    "l": 0.45308,
    "c": 0.20513,
    "h": 290.9
  },
  "luminance": 0.07912
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5D2EBC

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

Preview Lab → · Contrast checker → · Palette generator →

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