#5D2EBD#5D2EBD

#5D2EBD is a mid, highly saturated violet. Relative luminance 0.080; OKLCH L 45.4% C 0.206 H 290.7°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#5D2EBD
RGBrgb(93, 46, 189)
HSLhsl(260, 61%, 46%)
HSVhsv(260, 76%, 74%)
CMYKcmyk(50.8%, 75.7%, 0%, 25.9%)
CIE-LABlab(33.89, 53.19, -67.14)
CIE-LCHlch(33.89, 85.66, 308.39°)
OKLaboklab(45.4% 0.0731 -0.1929)
OKLCHoklch(45.4% 0.206 290.7)
XYZxyz(14.6739, 7.9547, 48.8965)
Luminance0.0795 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D2EBD #8EBD2E
analogous
#2E47BD #5D2EBD #A42EBD
triadic
#5D2EBD #BD5D2E #2EBD5D
tetradic
#5D2EBD #BD2E47 #8EBD2E #2EBDA4
square
#5D2EBD #BD2E47 #8EBD2E #2EBDA4
split-complementary
#5D2EBD #BDA42E #47BD2E
monochromatic
#2D165B #45228C #5D2EBD #7E53D5 #A384E1

Accessibility & contrast

On white

8.10
#5D2EBD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#5D2EBD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D2EBD
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D2EBD#FFFFFF#000000##FFFFFF
##5D2EBD1.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052C1
Deuteranopia (green-blind)
#004CBA
Tritanopia (blue-blind)
#3B5674
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #5d2ebd;
/* rgb */ color: rgb(93, 46, 189);
/* oklch */ color: oklch(45.4% 0.206 290.7);
Tailwind
colors: {
  custom: {
    50: '#956cd2',
    500: '#5d2ebd',
    950: '#000000',
  },
}
SCSS
$custom: #5d2ebd;
$custom-light: #956cd2;
$custom-dark: #000000;
JSON
{
  "hex": "#5d2ebd",
  "rgb": {
    "r": 93,
    "g": 46,
    "b": 189
  },
  "hsl": {
    "h": 259.72,
    "s": 60.851,
    "l": 46.078
  },
  "oklch": {
    "l": 0.45399,
    "c": 0.20624,
    "h": 290.7
  },
  "luminance": 0.07955
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5D2EBD

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

Preview Lab → · Contrast checker → · Palette generator →

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