#5D448E#5D448E

#5D448E is a dark, moderate violet. Relative luminance 0.084; OKLCH L 45.0% C 0.118 H 297.0°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#5D448E
RGBrgb(93, 68, 142)
HSLhsl(260, 35%, 41%)
HSVhsv(260, 52%, 56%)
CMYKcmyk(34.5%, 52.1%, 0%, 44.3%)
CIE-LABlab(34.83, 27.93, -37.40)
CIE-LCHlch(34.83, 46.68, 306.76°)
OKLaboklab(44.97% 0.0537 -0.1056)
OKLCHoklch(44.97% 0.118 297)
XYZxyz(11.4626, 8.4142, 26.6061)
Luminance0.0841 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D448E #758E44
analogous
#44508E #5D448E #82448E
triadic
#5D448E #8E5D44 #448E5D
tetradic
#5D448E #8E4450 #758E44 #448E82
square
#5D448E #8E4450 #758E44 #448E82
split-complementary
#5D448E #8E8244 #508E44
monochromatic
#271C3B #423065 #5D448E #7A5EB2 #9C87C5

Accessibility & contrast

On white

7.83
#5D448E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#5D448E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D448E
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D448E#FFFFFF#000000##FFFFFF
##5D448E1.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295291
Deuteranopia (green-blind)
#2F518C
Tritanopia (blue-blind)
#525262
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #5d448e;
/* rgb */ color: rgb(93, 68, 142);
/* oklch */ color: oklch(45.0% 0.118 297.0);
Tailwind
colors: {
  custom: {
    50: '#8e78af',
    500: '#5d448e',
    950: '#000000',
  },
}
SCSS
$custom: #5d448e;
$custom-light: #8e78af;
$custom-dark: #000000;
JSON
{
  "hex": "#5d448e",
  "rgb": {
    "r": 93,
    "g": 68,
    "b": 142
  },
  "hsl": {
    "h": 260.27,
    "s": 35.238,
    "l": 41.176
  },
  "oklch": {
    "l": 0.4497,
    "c": 0.11845,
    "h": 297
  },
  "luminance": 0.08414
}

Semantic roles & 50–950 ramp

primary
#5D448E
secondary
#9FB17D
accent
#CB5DA6
background
#F8F7FA
surface
#F0EDF4
border
#CBC8CE
text
#0C0910
muted
#7D7B7F

Preview Lab

Preview with #5D448E

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

Preview Lab → · Contrast checker → · Palette generator →

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