#5D37CF#5D37CF

#5D37CF is a mid, highly saturated violet. Relative luminance 0.096; OKLCH L 48.1% C 0.217 H 286.5°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#5D37CF
RGBrgb(93, 55, 207)
HSLhsl(255, 61%, 51%)
HSVhsv(255, 73%, 81%)
CMYKcmyk(55.1%, 73.4%, 0%, 18.8%)
CIE-LABlab(37.05, 53.83, -72.47)
CIE-LCHlch(37.05, 90.28, 306.60°)
OKLaboklab(48.12% 0.0616 -0.2085)
OKLCHoklch(48.12% 0.217 286.5)
XYZxyz(17.1395, 9.5636, 59.9622)
Luminance0.0956 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D37CF #A9CF37
analogous
#375DCF #5D37CF #A937CF
triadic
#5D37CF #CF5D37 #37CF5D
tetradic
#5D37CF #CF375D #A9CF37 #37CFA9
square
#5D37CF #CF375D #A9CF37 #37CFA9
split-complementary
#5D37CF #CFA937 #5DCF37
monochromatic
#301B71 #4627A2 #5D37CF #8568DB #AD9AE7

Accessibility & contrast

On white

7.21
#5D37CF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#5D37CF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D37CF
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D37CF#FFFFFF#000000##FFFFFF
##5D37CF1.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BD3
Deuteranopia (green-blind)
#0053CC
Tritanopia (blue-blind)
#2A6180
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #5d37cf;
/* rgb */ color: rgb(93, 55, 207);
/* oklch */ color: oklch(48.1% 0.217 286.5);
Tailwind
colors: {
  custom: {
    50: '#9772df',
    500: '#5d37cf',
    950: '#000000',
  },
}
SCSS
$custom: #5d37cf;
$custom-light: #9772df;
$custom-dark: #000000;
JSON
{
  "hex": "#5d37cf",
  "rgb": {
    "r": 93,
    "g": 55,
    "b": 207
  },
  "hsl": {
    "h": 255,
    "s": 61.29,
    "l": 51.373
  },
  "oklch": {
    "l": 0.48118,
    "c": 0.21746,
    "h": 286.5
  },
  "luminance": 0.09565
}

Semantic roles & 50–950 ramp

primary
#5D37CF
secondary
#C2D28F
accent
#E443BC
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0F0815
muted
#7E7B83

Preview Lab

Preview with #5D37CF

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

Preview Lab → · Contrast checker → · Palette generator →

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