#5D2BA9#5D2BA9

#5D2BA9 is a dark, vivid violet. Relative luminance 0.069; OKLCH L 43.3% C 0.187 H 295.5°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#5D2BA9
RGBrgb(93, 43, 169)
HSLhsl(264, 59%, 42%)
HSVhsv(264, 75%, 66%)
CMYKcmyk(45%, 74.6%, 0%, 33.7%)
CIE-LABlab(31.62, 49.26, -58.95)
CIE-LCHlch(31.62, 76.82, 309.88°)
OKLaboklab(43.26% 0.0807 -0.1688)
OKLCHoklch(43.26% 0.187 295.5)
XYZxyz(12.5376, 6.9192, 38.2034)
Luminance0.0692 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D2BA9 #77A92B
analogous
#2B38A9 #5D2BA9 #9C2BA9
triadic
#5D2BA9 #A95D2B #2BA95D
tetradic
#5D2BA9 #A92B38 #77A92B #2BA99C
square
#5D2BA9 #A92B38 #77A92B #2BA99C
split-complementary
#5D2BA9 #A99C2B #38A92B
monochromatic
#271247 #421F78 #5D2BA9 #7A42CF #9C73DB

Accessibility & contrast

On white

8.81
#5D2BA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#5D2BA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D2BA9
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D2BA9#FFFFFF#000000##FFFFFF
##5D2BA91.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BAD
Deuteranopia (green-blind)
#0049A7
Tritanopia (blue-blind)
#484C68
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #5d2ba9;
/* rgb */ color: rgb(93, 43, 169);
/* oklch */ color: oklch(43.3% 0.187 295.5);
Tailwind
colors: {
  custom: {
    50: '#9269c4',
    500: '#5d2ba9',
    950: '#000000',
  },
}
SCSS
$custom: #5d2ba9;
$custom-light: #9269c4;
$custom-dark: #000000;
JSON
{
  "hex": "#5d2ba9",
  "rgb": {
    "r": 93,
    "g": 43,
    "b": 169
  },
  "hsl": {
    "h": 263.81,
    "s": 59.434,
    "l": 41.569
  },
  "oklch": {
    "l": 0.43262,
    "c": 0.18712,
    "h": 295.5
  },
  "luminance": 0.06919
}

Semantic roles & 50–950 ramp

primary
#5D2BA9
secondary
#A1C36D
accent
#E345A4
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #5D2BA9

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

Preview Lab → · Contrast checker → · Palette generator →

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