#5D2FB3#5D2FB3

#5D2FB3 is a dark, vivid violet. Relative luminance 0.076; OKLCH L 44.6% C 0.194 H 292.7°. Best body text is #FFFFFF at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#5D2FB3
RGBrgb(93, 47, 179)
HSLhsl(261, 58%, 44%)
HSVhsv(261, 74%, 70%)
CMYKcmyk(48%, 73.7%, 0%, 29.8%)
CIE-LABlab(33.17, 50.01, -62.41)
CIE-LCHlch(33.17, 79.97, 308.71°)
OKLaboklab(44.62% 0.0748 -0.179)
OKLCHoklch(44.62% 0.194 292.7)
XYZxyz(13.6651, 7.6144, 43.3888)
Luminance0.0761 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D2FB3 #85B32F
analogous
#2F43B3 #5D2FB3 #9F2FB3
triadic
#5D2FB3 #B35D2F #2FB35D
tetradic
#5D2FB3 #B32F43 #85B32F #2FB39F
square
#5D2FB3 #B32F43 #85B32F #2FB39F
split-complementary
#5D2FB3 #B39F2F #43B32F
monochromatic
#2B1652 #442283 #5D2FB3 #7C4FD1 #A07FDD

Accessibility & contrast

On white

8.32
#5D2FB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#5D2FB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D2FB3
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D2FB3#FFFFFF#000000##FFFFFF
##5D2FB31.008.322.528.32
#FFFFFF8.321.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B7
Deuteranopia (green-blind)
#004BB0
Tritanopia (blue-blind)
#42526E
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #5d2fb3;
/* rgb */ color: rgb(93, 47, 179);
/* oklch */ color: oklch(44.6% 0.194 292.7);
Tailwind
colors: {
  custom: {
    50: '#936ccb',
    500: '#5d2fb3',
    950: '#000000',
  },
}
SCSS
$custom: #5d2fb3;
$custom-light: #936ccb;
$custom-dark: #000000;
JSON
{
  "hex": "#5d2fb3",
  "rgb": {
    "r": 93,
    "g": 47,
    "b": 179
  },
  "hsl": {
    "h": 260.909,
    "s": 58.407,
    "l": 44.314
  },
  "oklch": {
    "l": 0.44619,
    "c": 0.19397,
    "h": 292.7
  },
  "luminance": 0.07615
}

Semantic roles & 50–950 ramp

primary
#5D2FB3
secondary
#ABC678
accent
#E246AB
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #5D2FB3

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

Preview Lab → · Contrast checker → · Palette generator →

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