#5D2FAC#5D2FAC

#5D2FAC is a dark, vivid violet. Relative luminance 0.073; OKLCH L 44.0% C 0.186 H 294.2°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#5D2FAC
RGBrgb(93, 47, 172)
HSLhsl(262, 57%, 43%)
HSVhsv(262, 73%, 67%)
CMYKcmyk(45.9%, 72.7%, 0%, 32.5%)
CIE-LABlab(32.57, 48.12, -59.21)
CIE-LCHlch(32.57, 76.30, 309.10°)
OKLaboklab(44.01% 0.0763 -0.1696)
OKLCHoklch(44.01% 0.186 294.2)
XYZxyz(12.9751, 7.3384, 39.7545)
Luminance0.0734 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D2FAC #7EAC2F
analogous
#2F3FAC #5D2FAC #9B2FAC
triadic
#5D2FAC #AC5D2F #2FAC5D
tetradic
#5D2FAC #AC2F3F #7EAC2F #2FAC9B
square
#5D2FAC #AC2F3F #7EAC2F #2FAC9B
split-complementary
#5D2FAC #AC9B2F #3FAC2F
monochromatic
#29154C #43227C #5D2FAC #7B4BCE #9E7BDB

Accessibility & contrast

On white

8.51
#5D2FAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#5D2FAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D2FAC
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D2FAC#FFFFFF#000000##FFFFFF
##5D2FAC1.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB0
Deuteranopia (green-blind)
#004AAA
Tritanopia (blue-blind)
#464F6A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #5d2fac;
/* rgb */ color: rgb(93, 47, 172);
/* oklch */ color: oklch(44.0% 0.186 294.2);
Tailwind
colors: {
  custom: {
    50: '#926cc6',
    500: '#5d2fac',
    950: '#000000',
  },
}
SCSS
$custom: #5d2fac;
$custom-light: #926cc6;
$custom-dark: #000000;
JSON
{
  "hex": "#5d2fac",
  "rgb": {
    "r": 93,
    "g": 47,
    "b": 172
  },
  "hsl": {
    "h": 262.08,
    "s": 57.078,
    "l": 42.941
  },
  "oklch": {
    "l": 0.44008,
    "c": 0.186,
    "h": 294.2
  },
  "luminance": 0.07339
}

Semantic roles & 50–950 ramp

primary
#5D2FAC
secondary
#A6C374
accent
#E047A8
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #5D2FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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