#5D2BC9#5D2BC9

#5D2BC9 is a mid, highly saturated violet. Relative luminance 0.083; OKLCH L 46.2% C 0.222 H 288.8°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#5D2BC9
RGBrgb(93, 43, 201)
HSLhsl(259, 65%, 48%)
HSVhsv(259, 79%, 79%)
CMYKcmyk(53.7%, 78.6%, 0%, 21.2%)
CIE-LABlab(34.54, 57.75, -73.10)
CIE-LCHlch(34.54, 93.16, 308.31°)
OKLaboklab(46.19% 0.0718 -0.2103)
OKLCHoklch(46.19% 0.222 288.8)
XYZxyz(15.9176, 8.2712, 56.0048)
Luminance0.0827 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D2BC9 #97C92B
analogous
#2B48C9 #5D2BC9 #AC2BC9
triadic
#5D2BC9 #C95D2B #2BC95D
tetradic
#5D2BC9 #C92B48 #97C92B #2BC9AC
square
#5D2BC9 #C92B48 #97C92B #2BC9AC
split-complementary
#5D2BC9 #C9AC2B #48C92B
monochromatic
#2E1564 #462097 #5D2BC9 #8056DB #A689E6

Accessibility & contrast

On white

7.91
#5D2BC9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#5D2BC9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D2BC9
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D2BC9#FFFFFF#000000##FFFFFF
##5D2BC91.007.912.657.91
#FFFFFF7.911.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054CD
Deuteranopia (green-blind)
#004DC6
Tritanopia (blue-blind)
#31597A
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #5d2bc9;
/* rgb */ color: rgb(93, 43, 201);
/* oklch */ color: oklch(46.2% 0.222 288.8);
Tailwind
colors: {
  custom: {
    50: '#966bdb',
    500: '#5d2bc9',
    950: '#000000',
  },
}
SCSS
$custom: #5d2bc9;
$custom-light: #966bdb;
$custom-dark: #000000;
JSON
{
  "hex": "#5d2bc9",
  "rgb": {
    "r": 93,
    "g": 43,
    "b": 201
  },
  "hsl": {
    "h": 258.987,
    "s": 64.754,
    "l": 47.843
  },
  "oklch": {
    "l": 0.46194,
    "c": 0.22222,
    "h": 288.8
  },
  "luminance": 0.08272
}

Semantic roles & 50–950 ramp

primary
#5D2BC9
secondary
#B6CF80
accent
#E840B3
background
#FAF6FD
surface
#F3ECFB
border
#CDC7D4
text
#0F0715
muted
#7F7A83

Preview Lab

Preview with #5D2BC9

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

Preview Lab → · Contrast checker → · Palette generator →

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