#5D458D#5D458D

#5D458D is a mid, moderate violet. Relative luminance 0.085; OKLCH L 45.1% C 0.115 H 296.9°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#5D458D
RGBrgb(93, 69, 141)
HSLhsl(260, 34%, 41%)
HSVhsv(260, 51%, 55%)
CMYKcmyk(34%, 51.1%, 0%, 44.7%)
CIE-LABlab(35.02, 27.04, -36.49)
CIE-LCHlch(35.02, 45.42, 306.54°)
OKLaboklab(45.09% 0.0522 -0.1029)
OKLCHoklch(45.09% 0.115 296.9)
XYZxyz(11.4489, 8.5063, 26.2328)
Luminance0.0851 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D458D #758D45
analogous
#45518D #5D458D #81458D
triadic
#5D458D #8D5D45 #458D5D
tetradic
#5D458D #8D4551 #758D45 #458D81
square
#5D458D #8D4551 #758D45 #458D81
split-complementary
#5D458D #8D8145 #518D45
monochromatic
#271D3B #423164 #5D458D #7A5FB1 #9C88C5

Accessibility & contrast

On white

7.77
#5D458D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#5D458D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D458D
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D458D#FFFFFF#000000##FFFFFF
##5D458D1.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5390
Deuteranopia (green-blind)
#31518B
Tritanopia (blue-blind)
#525362
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #5d458d;
/* rgb */ color: rgb(93, 69, 141);
/* oklch */ color: oklch(45.1% 0.115 296.9);
Tailwind
colors: {
  custom: {
    50: '#8d79af',
    500: '#5d458d',
    950: '#000000',
  },
}
SCSS
$custom: #5d458d;
$custom-light: #8d79af;
$custom-dark: #000000;
JSON
{
  "hex": "#5d458d",
  "rgb": {
    "r": 93,
    "g": 69,
    "b": 141
  },
  "hsl": {
    "h": 260,
    "s": 34.286,
    "l": 41.176
  },
  "oklch": {
    "l": 0.45088,
    "c": 0.11541,
    "h": 296.9
  },
  "luminance": 0.08506
}

Semantic roles & 50–950 ramp

primary
#5D458D
secondary
#9FB07E
accent
#CA5DA6
background
#F8F7FA
surface
#F0EDF4
border
#CBC8CE
text
#0C0910
muted
#7D7B7F

Preview Lab

Preview with #5D458D

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

Preview Lab → · Contrast checker → · Palette generator →

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