#5D458F#5D458F

#5D458F is a mid, moderate violet. Relative luminance 0.086; OKLCH L 45.2% C 0.118 H 296.3°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#5D458F
RGBrgb(93, 69, 143)
HSLhsl(259, 35%, 42%)
HSVhsv(259, 52%, 56%)
CMYKcmyk(35%, 51.7%, 0%, 43.9%)
CIE-LABlab(35.14, 27.59, -37.52)
CIE-LCHlch(35.14, 46.58, 306.33°)
OKLaboklab(45.22% 0.0524 -0.1059)
OKLCHoklch(45.22% 0.118 296.3)
XYZxyz(11.5990, 8.5664, 27.0237)
Luminance0.0857 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D458F #778F45
analogous
#45528F #5D458F #82458F
triadic
#5D458F #8F5D45 #458F5D
tetradic
#5D458F #8F4552 #778F45 #458F82
square
#5D458F #8F4552 #778F45 #458F82
split-complementary
#5D458F #8F8245 #528F45
monochromatic
#271D3C #423166 #5D458F #7A5FB2 #9C89C6

Accessibility & contrast

On white

7.74
#5D458F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#5D458F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D458F
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D458F#FFFFFF#000000##FFFFFF
##5D458F1.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5392
Deuteranopia (green-blind)
#2F528D
Tritanopia (blue-blind)
#525363
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #5d458f;
/* rgb */ color: rgb(93, 69, 143);
/* oklch */ color: oklch(45.2% 0.118 296.3);
Tailwind
colors: {
  custom: {
    50: '#8e79b0',
    500: '#5d458f',
    950: '#000000',
  },
}
SCSS
$custom: #5d458f;
$custom-light: #8e79b0;
$custom-dark: #000000;
JSON
{
  "hex": "#5d458f",
  "rgb": {
    "r": 93,
    "g": 69,
    "b": 143
  },
  "hsl": {
    "h": 259.459,
    "s": 34.906,
    "l": 41.569
  },
  "oklch": {
    "l": 0.45216,
    "c": 0.1182,
    "h": 296.3
  },
  "luminance": 0.08567
}

Semantic roles & 50–950 ramp

primary
#5D458F
secondary
#A1B17F
accent
#CB5DA7
background
#F8F7FA
surface
#F0EDF5
border
#CBC8CF
text
#0C0910
muted
#7D7B7F

Preview Lab

Preview with #5D458F

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

Preview Lab → · Contrast checker → · Palette generator →

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