#5D439B#5D439B

#5D439B is a mid, vivid violet. Relative luminance 0.087; OKLCH L 45.7% C 0.138 H 293.9°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#5D439B
RGBrgb(93, 67, 155)
HSLhsl(258, 40%, 44%)
HSVhsv(258, 57%, 61%)
CMYKcmyk(40%, 56.8%, 0%, 39.2%)
CIE-LABlab(35.42, 32.22, -44.37)
CIE-LCHlch(35.42, 54.83, 305.99°)
OKLaboklab(45.67% 0.0557 -0.126)
OKLCHoklch(45.67% 0.138 293.9)
XYZxyz(12.4362, 8.7077, 32.0295)
Luminance0.0871 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D439B #819B43
analogous
#43559B #5D439B #89439B
triadic
#5D439B #9B5D43 #439B5D
tetradic
#5D439B #9B4355 #819B43 #439B89
square
#5D439B #9B4355 #819B43 #439B89
split-complementary
#5D439B #9B8943 #559B43
monochromatic
#2A1E46 #433170 #5D439B #7B61BB #9F8BCD

Accessibility & contrast

On white

7.66
#5D439B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#5D439B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D439B
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D439B#FFFFFF#000000##FFFFFF
##5D439B1.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17549E
Deuteranopia (green-blind)
#1F5299
Tritanopia (blue-blind)
#4D5668
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #5d439b;
/* rgb */ color: rgb(93, 67, 155);
/* oklch */ color: oklch(45.7% 0.138 293.9);
Tailwind
colors: {
  custom: {
    50: '#8f78b9',
    500: '#5d439b',
    950: '#000000',
  },
}
SCSS
$custom: #5d439b;
$custom-light: #8f78b9;
$custom-dark: #000000;
JSON
{
  "hex": "#5d439b",
  "rgb": {
    "r": 93,
    "g": 67,
    "b": 155
  },
  "hsl": {
    "h": 257.727,
    "s": 39.64,
    "l": 43.529
  },
  "oklch": {
    "l": 0.45668,
    "c": 0.13779,
    "h": 293.9
  },
  "luminance": 0.08708
}

Semantic roles & 50–950 ramp

primary
#5D439B
secondary
#A8B882
accent
#D058AC
background
#F9F7FB
surface
#F1EDF6
border
#CBC8D0
text
#0D0911
muted
#7E7B80

Preview Lab

Preview with #5D439B

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

Preview Lab → · Contrast checker → · Palette generator →

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