#5D439F#5D439F

#5D439F is a mid, vivid violet. Relative luminance 0.088; OKLCH L 46.0% C 0.143 H 292.9°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#5D439F
RGBrgb(93, 67, 159)
HSLhsl(257, 41%, 44%)
HSVhsv(257, 58%, 62%)
CMYKcmyk(41.5%, 57.9%, 0%, 37.6%)
CIE-LABlab(35.68, 33.37, -46.35)
CIE-LCHlch(35.68, 57.11, 305.75°)
OKLaboklab(45.95% 0.0558 -0.1318)
OKLCHoklch(45.95% 0.143 292.9)
XYZxyz(12.7777, 8.8443, 33.8281)
Luminance0.0885 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D439F #859F43
analogous
#43579F #5D439F #8B439F
triadic
#5D439F #9F5D43 #439F5D
tetradic
#5D439F #9F4357 #859F43 #439F8B
square
#5D439F #9F4357 #859F43 #439F8B
split-complementary
#5D439F #9F8B43 #579F43
monochromatic
#2B1F49 #443174 #5D439F #7C62BD #A08DCF

Accessibility & contrast

On white

7.58
#5D439F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#5D439F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D439F
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D439F#FFFFFF#000000##FFFFFF
##5D439F1.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F55A2
Deuteranopia (green-blind)
#19529D
Tritanopia (blue-blind)
#4B576A
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #5d439f;
/* rgb */ color: rgb(93, 67, 159);
/* oklch */ color: oklch(46.0% 0.143 292.9);
Tailwind
colors: {
  custom: {
    50: '#8f78bc',
    500: '#5d439f',
    950: '#000000',
  },
}
SCSS
$custom: #5d439f;
$custom-light: #8f78bc;
$custom-dark: #000000;
JSON
{
  "hex": "#5d439f",
  "rgb": {
    "r": 93,
    "g": 67,
    "b": 159
  },
  "hsl": {
    "h": 256.957,
    "s": 40.708,
    "l": 44.314
  },
  "oklch": {
    "l": 0.45951,
    "c": 0.14315,
    "h": 292.9
  },
  "luminance": 0.08845
}

Semantic roles & 50–950 ramp

primary
#5D439F
secondary
#ABBA84
accent
#D157AE
background
#F9F7FB
surface
#F1EDF6
border
#CBC8D0
text
#0D0912
muted
#7E7B81

Preview Lab

Preview with #5D439F

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

Preview Lab → · Contrast checker → · Palette generator →

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