#5D2EA9#5D2EA9

#5D2EA9 is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.6% C 0.184 H 295.1°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#5D2EA9
RGBrgb(93, 46, 169)
HSLhsl(263, 57%, 42%)
HSVhsv(263, 73%, 66%)
CMYKcmyk(45%, 72.8%, 0%, 33.7%)
CIE-LABlab(32.14, 47.81, -58.12)
CIE-LCHlch(32.14, 75.25, 309.44°)
OKLaboklab(43.63% 0.0779 -0.1664)
OKLCHoklch(43.63% 0.184 295.1)
XYZxyz(12.6507, 7.1454, 38.2411)
Luminance0.0715 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D2EA9 #7AA92E
analogous
#2E3DA9 #5D2EA9 #9B2EA9
triadic
#5D2EA9 #A95D2E #2EA95D
tetradic
#5D2EA9 #A92E3D #7AA92E #2EA99B
square
#5D2EA9 #A92E3D #7AA92E #2EA99B
split-complementary
#5D2EA9 #A99B2E #3DA92E
monochromatic
#281449 #432179 #5D2EA9 #7A47CD #9D77DA

Accessibility & contrast

On white

8.64
#5D2EA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#5D2EA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D2EA9
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D2EA9#FFFFFF#000000##FFFFFF
##5D2EA91.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAD
Deuteranopia (green-blind)
#004AA7
Tritanopia (blue-blind)
#484E69
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #5d2ea9;
/* rgb */ color: rgb(93, 46, 169);
/* oklch */ color: oklch(43.6% 0.184 295.1);
Tailwind
colors: {
  custom: {
    50: '#926bc4',
    500: '#5d2ea9',
    950: '#000000',
  },
}
SCSS
$custom: #5d2ea9;
$custom-light: #926bc4;
$custom-dark: #000000;
JSON
{
  "hex": "#5d2ea9",
  "rgb": {
    "r": 93,
    "g": 46,
    "b": 169
  },
  "hsl": {
    "h": 262.927,
    "s": 57.209,
    "l": 42.157
  },
  "oklch": {
    "l": 0.43625,
    "c": 0.18374,
    "h": 295.1
  },
  "luminance": 0.07146
}

Semantic roles & 50–950 ramp

primary
#5D2EA9
secondary
#A3C271
accent
#E047A6
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #5D2EA9

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

Preview Lab → · Contrast checker → · Palette generator →

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