#5D2EB2#5D2EB2

#5D2EB2 is a dark, vivid violet. Relative luminance 0.075; OKLCH L 44.4% C 0.194 H 293.0°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#5D2EB2
RGBrgb(93, 46, 178)
HSLhsl(261, 59%, 44%)
HSVhsv(261, 74%, 70%)
CMYKcmyk(47.8%, 74.2%, 0%, 30.2%)
CIE-LABlab(32.91, 50.22, -62.23)
CIE-LCHlch(32.91, 79.97, 308.90°)
OKLaboklab(44.41% 0.0759 -0.1785)
OKLCHoklch(44.41% 0.194 293)
XYZxyz(13.5248, 7.4951, 42.8449)
Luminance0.0750 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D2EB2 #83B22E
analogous
#2E41B2 #5D2EB2 #9F2EB2
triadic
#5D2EB2 #B25D2E #2EB25D
tetradic
#5D2EB2 #B22E41 #83B22E #2EB29F
square
#5D2EB2 #B22E41 #83B22E #2EB29F
split-complementary
#5D2EB2 #B29F2E #41B22E
monochromatic
#2A1551 #442181 #5D2EB2 #7C4CD1 #9F7DDD

Accessibility & contrast

On white

8.40
#5D2EB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#5D2EB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D2EB2
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D2EB2#FFFFFF#000000##FFFFFF
##5D2EB21.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB6
Deuteranopia (green-blind)
#004BAF
Tritanopia (blue-blind)
#43516E
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #5d2eb2;
/* rgb */ color: rgb(93, 46, 178);
/* oklch */ color: oklch(44.4% 0.194 293.0);
Tailwind
colors: {
  custom: {
    50: '#936bca',
    500: '#5d2eb2',
    950: '#000000',
  },
}
SCSS
$custom: #5d2eb2;
$custom-light: #936bca;
$custom-dark: #000000;
JSON
{
  "hex": "#5d2eb2",
  "rgb": {
    "r": 93,
    "g": 46,
    "b": 178
  },
  "hsl": {
    "h": 261.364,
    "s": 58.929,
    "l": 43.922
  },
  "oklch": {
    "l": 0.4441,
    "c": 0.19393,
    "h": 293
  },
  "luminance": 0.07495
}

Semantic roles & 50–950 ramp

primary
#5D2EB2
secondary
#A9C676
accent
#E246AA
background
#F9F6FC
surface
#F2EBF9
border
#CCC6D2
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #5D2EB2

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

Preview Lab → · Contrast checker → · Palette generator →

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