#5D438F#5D438F

#5D438F is a dark, vivid violet. Relative luminance 0.083; OKLCH L 44.9% C 0.121 H 297.0°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#5D438F
RGBrgb(93, 67, 143)
HSLhsl(261, 36%, 41%)
HSVhsv(261, 53%, 56%)
CMYKcmyk(35%, 53.1%, 0%, 43.9%)
CIE-LABlab(34.65, 28.82, -38.30)
CIE-LCHlch(34.65, 47.93, 306.97°)
OKLaboklab(44.86% 0.0552 -0.1082)
OKLCHoklch(44.86% 0.121 297)
XYZxyz(11.4780, 8.3245, 26.9833)
Luminance0.0833 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D438F #758F43
analogous
#434F8F #5D438F #83438F
triadic
#5D438F #8F5D43 #438F5D
tetradic
#5D438F #8F434F #758F43 #438F83
square
#5D438F #8F434F #758F43 #438F83
split-complementary
#5D438F #8F8343 #4F8F43
monochromatic
#271C3C #422F65 #5D438F #7A5CB3 #9C86C6

Accessibility & contrast

On white

7.88
#5D438F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#5D438F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D438F
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D438F#FFFFFF#000000##FFFFFF
##5D438F1.007.882.677.88
#FFFFFF7.881.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#265292
Deuteranopia (green-blind)
#2D518D
Tritanopia (blue-blind)
#525262
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #5d438f;
/* rgb */ color: rgb(93, 67, 143);
/* oklch */ color: oklch(44.9% 0.121 297.0);
Tailwind
colors: {
  custom: {
    50: '#8e78b0',
    500: '#5d438f',
    950: '#000000',
  },
}
SCSS
$custom: #5d438f;
$custom-light: #8e78b0;
$custom-dark: #000000;
JSON
{
  "hex": "#5d438f",
  "rgb": {
    "r": 93,
    "g": 67,
    "b": 143
  },
  "hsl": {
    "h": 260.526,
    "s": 36.19,
    "l": 41.176
  },
  "oklch": {
    "l": 0.44855,
    "c": 0.12147,
    "h": 297
  },
  "luminance": 0.08325
}

Semantic roles & 50–950 ramp

primary
#5D438F
secondary
#9FB17D
accent
#CC5CA6
background
#F8F7FA
surface
#F0EDF5
border
#CBC8CF
text
#0C0910
muted
#7D7B7F

Preview Lab

Preview with #5D438F

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

Preview Lab → · Contrast checker → · Palette generator →

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