#5D2DBE#5D2DBE

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

Color values

HEX#5D2DBE
RGBrgb(93, 45, 190)
HSLhsl(260, 62%, 46%)
HSVhsv(260, 76%, 75%)
CMYKcmyk(51.1%, 76.3%, 0%, 25.5%)
CIE-LABlab(33.82, 53.92, -67.85)
CIE-LCHlch(33.82, 86.67, 308.48°)
OKLaboklab(45.38% 0.0736 -0.1949)
OKLCHoklch(45.38% 0.208 290.7)
XYZxyz(14.7442, 7.9210, 49.4572)
Luminance0.0792 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D2DBE #8EBE2D
analogous
#2D45BE #5D2DBE #A52DBE
triadic
#5D2DBE #BE5D2D #2DBE5D
tetradic
#5D2DBE #BE2D45 #8EBE2D #2DBEA5
square
#5D2DBE #BE2D45 #8EBE2D #2DBEA5
split-complementary
#5D2DBE #BEA52D #45BE2D
monochromatic
#2D165B #45218D #5D2DBE #7E52D6 #A384E2

Accessibility & contrast

On white

8.13
#5D2DBE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#5D2DBE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D2DBE
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D2DBE#FFFFFF#000000##FFFFFF
##5D2DBE1.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052C2
Deuteranopia (green-blind)
#004CBB
Tritanopia (blue-blind)
#3B5574
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #5d2dbe;
/* rgb */ color: rgb(93, 45, 190);
/* oklch */ color: oklch(45.4% 0.208 290.7);
Tailwind
colors: {
  custom: {
    50: '#956bd3',
    500: '#5d2dbe',
    950: '#000000',
  },
}
SCSS
$custom: #5d2dbe;
$custom-light: #956bd3;
$custom-dark: #000000;
JSON
{
  "hex": "#5d2dbe",
  "rgb": {
    "r": 93,
    "g": 45,
    "b": 190
  },
  "hsl": {
    "h": 259.862,
    "s": 61.702,
    "l": 46.078
  },
  "oklch": {
    "l": 0.45377,
    "c": 0.20835,
    "h": 290.7
  },
  "luminance": 0.07922
}

Semantic roles & 50–950 ramp

primary
#5D2DBE
secondary
#B1CB7C
accent
#E543AF
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #5D2DBE

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

Preview Lab → · Contrast checker → · Palette generator →

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