#5D2EAB#5D2EAB

#5D2EAB is a dark, vivid violet. Relative luminance 0.072; OKLCH L 43.8% C 0.186 H 294.6°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#5D2EAB
RGBrgb(93, 46, 171)
HSLhsl(263, 58%, 43%)
HSVhsv(263, 73%, 67%)
CMYKcmyk(45.6%, 73.1%, 0%, 32.9%)
CIE-LABlab(32.30, 48.34, -59.04)
CIE-LCHlch(32.30, 76.31, 309.31°)
OKLaboklab(43.8% 0.0775 -0.1691)
OKLCHoklch(43.8% 0.186 294.6)
XYZxyz(12.8399, 7.2211, 39.2375)
Luminance0.0722 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D2EAB #7CAB2E
analogous
#2E3DAB #5D2EAB #9C2EAB
triadic
#5D2EAB #AB5D2E #2EAB5D
tetradic
#5D2EAB #AB2E3D #7CAB2E #2EAB9C
square
#5D2EAB #AB2E3D #7CAB2E #2EAB9C
split-complementary
#5D2EAB #AB9C2E #3DAB2E
monochromatic
#29144B #43217B #5D2EAB #7B48CE #9E79DB

Accessibility & contrast

On white

8.59
#5D2EAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#5D2EAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D2EAB
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D2EAB#FFFFFF#000000##FFFFFF
##5D2EAB1.008.592.448.59
#FFFFFF8.591.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAF
Deuteranopia (green-blind)
#004AA9
Tritanopia (blue-blind)
#474E6A
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #5d2eab;
/* rgb */ color: rgb(93, 46, 171);
/* oklch */ color: oklch(43.8% 0.186 294.6);
Tailwind
colors: {
  custom: {
    50: '#926bc5',
    500: '#5d2eab',
    950: '#000000',
  },
}
SCSS
$custom: #5d2eab;
$custom-light: #926bc5;
$custom-dark: #000000;
JSON
{
  "hex": "#5d2eab",
  "rgb": {
    "r": 93,
    "g": 46,
    "b": 171
  },
  "hsl": {
    "h": 262.56,
    "s": 57.604,
    "l": 42.549
  },
  "oklch": {
    "l": 0.43797,
    "c": 0.18601,
    "h": 294.6
  },
  "luminance": 0.07221
}

Semantic roles & 50–950 ramp

primary
#5D2EAB
secondary
#A4C372
accent
#E147A7
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #5D2EAB

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

Preview Lab → · Contrast checker → · Palette generator →

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