#5D2EFF#5D2EFF

#5D2EFF is a mid, highly saturated violet. Relative luminance 0.115; OKLCH L 51.9% C 0.277 H 281.0°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#5D2EFF
RGBrgb(93, 46, 255)
HSLhsl(253, 100%, 59%)
HSVhsv(253, 82%, 100%)
CMYKcmyk(63.5%, 82%, 0%, 0%)
CIE-LABlab(40.41, 70.84, -94.23)
CIE-LCHlch(40.41, 117.89, 306.93°)
OKLaboklab(51.86% 0.053 -0.2719)
OKLCHoklch(51.86% 0.277 281)
XYZxyz(23.5355, 11.4993, 95.5677)
Luminance0.1150 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D2EFF #D0FF2E
analogous
#2E68FF #5D2EFF #C62EFF
triadic
#5D2EFF #FF5D2E #2EFF5D
tetradic
#5D2EFF #FF2E68 #D0FF2E #2EFFC6
square
#5D2EFF #FF2E68 #D0FF2E #2EFFC6
split-complementary
#5D2EFF #FFC62E #68FF2E
monochromatic
#2800B3 #3600F0 #5D2EFF #8C6BFF #BCA8FF

Accessibility & contrast

On white

6.36
#5D2EFF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#5D2EFF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D2EFF
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D2EFF#FFFFFF#000000##FFFFFF
##5D2EFF1.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066FF
Deuteranopia (green-blind)
#0058FB
Tritanopia (blue-blind)
#00719A
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5d2eff;
/* rgb */ color: rgb(93, 46, 255);
/* oklch */ color: oklch(51.9% 0.277 281.0);
Tailwind
colors: {
  custom: {
    50: '#9f70ff',
    500: '#5d2eff',
    950: '#000000',
  },
}
SCSS
$custom: #5d2eff;
$custom-light: #9f70ff;
$custom-dark: #000000;
JSON
{
  "hex": "#5d2eff",
  "rgb": {
    "r": 93,
    "g": 46,
    "b": 255
  },
  "hsl": {
    "h": 253.493,
    "s": 100,
    "l": 59.02
  },
  "oklch": {
    "l": 0.5186,
    "c": 0.27704,
    "h": 281
  },
  "luminance": 0.11501
}

Semantic roles & 50–950 ramp

primary
#5D2EFF
secondary
#DBED9B
accent
#FF29CF
background
#FAF7FF
surface
#F4EDFF
border
#CEC8D7
text
#110818
muted
#807B86

Preview Lab

Preview with #5D2EFF

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

Preview Lab → · Contrast checker → · Palette generator →

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