#5D3BE3#5D3BE3

#5D3BE3 is a mid, highly saturated violet. Relative luminance 0.110; OKLCH L 50.5% C 0.236 H 283.2°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#5D3BE3
RGBrgb(93, 59, 227)
HSLhsl(252, 75%, 56%)
HSVhsv(252, 74%, 89%)
CMYKcmyk(59%, 74%, 0%, 11%)
CIE-LABlab(39.58, 57.52, -79.80)
CIE-LCHlch(39.58, 98.37, 305.79°)
OKLaboklab(50.46% 0.054 -0.23)
OKLCHoklch(50.46% 0.236 283.2)
XYZxyz(19.9390, 10.9998, 73.7306)
Luminance0.1100 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D3BE3 #C1E33B
analogous
#3B6DE3 #5D3BE3 #B13BE3
triadic
#5D3BE3 #E35D3B #3BE35D
tetradic
#5D3BE3 #E33B6D #C1E33B #3BE3B1
square
#5D3BE3 #E33B6D #C1E33B #3BE3B1
split-complementary
#5D3BE3 #E3B13B #6DE33B
monochromatic
#2D148F #3E1CC5 #5D3BE3 #8971EB #B6A6F2

Accessibility & contrast

On white

6.56
#5D3BE3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#5D3BE3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D3BE3
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D3BE3#FFFFFF#000000##FFFFFF
##5D3BE31.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062E8
Deuteranopia (green-blind)
#0058E0
Tritanopia (blue-blind)
#006A8C
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #5d3be3;
/* rgb */ color: rgb(93, 59, 227);
/* oklch */ color: oklch(50.5% 0.236 283.2);
Tailwind
colors: {
  custom: {
    50: '#9975ed',
    500: '#5d3be3',
    950: '#000000',
  },
}
SCSS
$custom: #5d3be3;
$custom-light: #9975ed;
$custom-dark: #000000;
JSON
{
  "hex": "#5d3be3",
  "rgb": {
    "r": 93,
    "g": 59,
    "b": 227
  },
  "hsl": {
    "h": 252.143,
    "s": 75,
    "l": 56.078
  },
  "oklch": {
    "l": 0.50459,
    "c": 0.23627,
    "h": 283.2
  },
  "luminance": 0.11001
}

Semantic roles & 50–950 ramp

primary
#5D3BE3
secondary
#D2E09A
accent
#F236CC
background
#FAF7FE
surface
#F4EDFD
border
#CEC8D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #5D3BE3

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

Preview Lab → · Contrast checker → · Palette generator →

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