#5D468D#5D468D

#5D468D is a mid, moderate violet. Relative luminance 0.086; OKLCH L 45.3% C 0.114 H 296.5°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#5D468D
RGBrgb(93, 70, 141)
HSLhsl(259, 34%, 41%)
HSVhsv(259, 50%, 55%)
CMYKcmyk(34%, 50.4%, 0%, 44.7%)
CIE-LABlab(35.26, 26.42, -36.10)
CIE-LCHlch(35.26, 44.73, 306.20°)
OKLaboklab(45.27% 0.0508 -0.1018)
OKLCHoklch(45.27% 0.114 296.5)
XYZxyz(11.5109, 8.6304, 26.2535)
Luminance0.0863 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D468D #768D46
analogous
#46538D #5D468D #81468D
triadic
#5D468D #8D5D46 #468D5D
tetradic
#5D468D #8D4653 #768D46 #468D81
square
#5D468D #8D4653 #768D46 #468D81
split-complementary
#5D468D #8D8146 #538D46
monochromatic
#271D3B #423264 #5D468D #7A60B0 #9C89C4

Accessibility & contrast

On white

7.70
#5D468D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#5D468D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D468D
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D468D#FFFFFF#000000##FFFFFF
##5D468D1.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5390
Deuteranopia (green-blind)
#32528B
Tritanopia (blue-blind)
#525463
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #5d468d;
/* rgb */ color: rgb(93, 70, 141);
/* oklch */ color: oklch(45.3% 0.114 296.5);
Tailwind
colors: {
  custom: {
    50: '#8d7aaf',
    500: '#5d468d',
    950: '#000000',
  },
}
SCSS
$custom: #5d468d;
$custom-light: #8d7aaf;
$custom-dark: #000000;
JSON
{
  "hex": "#5d468d",
  "rgb": {
    "r": 93,
    "g": 70,
    "b": 141
  },
  "hsl": {
    "h": 259.437,
    "s": 33.649,
    "l": 41.373
  },
  "oklch": {
    "l": 0.45273,
    "c": 0.11375,
    "h": 296.5
  },
  "luminance": 0.08631
}

Semantic roles & 50–950 ramp

primary
#5D468D
secondary
#A0B07F
accent
#CA5EA7
background
#F8F7FA
surface
#F0EDF4
border
#CBC8CE
text
#0C0910
muted
#7D7B7F

Preview Lab

Preview with #5D468D

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

Preview Lab → · Contrast checker → · Palette generator →

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