#5D439E#5D439E

#5D439E is a mid, vivid violet. Relative luminance 0.088; OKLCH L 45.9% C 0.142 H 293.2°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#5D439E
RGBrgb(93, 67, 158)
HSLhsl(257, 40%, 44%)
HSVhsv(257, 58%, 62%)
CMYKcmyk(41.1%, 57.6%, 0%, 38%)
CIE-LABlab(35.62, 33.08, -45.85)
CIE-LCHlch(35.62, 56.54, 305.81°)
OKLaboklab(45.88% 0.0558 -0.1304)
OKLCHoklch(45.88% 0.142 293.2)
XYZxyz(12.6913, 8.8098, 33.3729)
Luminance0.0881 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D439E #849E43
analogous
#43579E #5D439E #8B439E
triadic
#5D439E #9E5D43 #439E5D
tetradic
#5D439E #9E4357 #849E43 #439E8B
square
#5D439E #9E4357 #849E43 #439E8B
split-complementary
#5D439E #9E8B43 #579E43
monochromatic
#2A1F48 #443173 #5D439E #7C62BC #A08DCF

Accessibility & contrast

On white

7.60
#5D439E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#5D439E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D439E
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D439E#FFFFFF#000000##FFFFFF
##5D439E1.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1155A1
Deuteranopia (green-blind)
#1A529C
Tritanopia (blue-blind)
#4C566A
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #5d439e;
/* rgb */ color: rgb(93, 67, 158);
/* oklch */ color: oklch(45.9% 0.142 293.2);
Tailwind
colors: {
  custom: {
    50: '#8f78bb',
    500: '#5d439e',
    950: '#000000',
  },
}
SCSS
$custom: #5d439e;
$custom-light: #8f78bb;
$custom-dark: #000000;
JSON
{
  "hex": "#5d439e",
  "rgb": {
    "r": 93,
    "g": 67,
    "b": 158
  },
  "hsl": {
    "h": 257.143,
    "s": 40.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.4588,
    "c": 0.14182,
    "h": 293.2
  },
  "luminance": 0.0881
}

Semantic roles & 50–950 ramp

primary
#5D439E
secondary
#AABA83
accent
#D057AE
background
#F9F7FB
surface
#F1EDF6
border
#CBC8D0
text
#0D0912
muted
#7E7B81

Preview Lab

Preview with #5D439E

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

Preview Lab → · Contrast checker → · Palette generator →

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