#5D348F#5D348F

#5D348F is a dark, vivid violet. Relative luminance 0.068; OKLCH L 42.4% C 0.145 H 301.2°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#5D348F
RGBrgb(93, 52, 143)
HSLhsl(267, 47%, 38%)
HSVhsv(267, 64%, 56%)
CMYKcmyk(35%, 63.6%, 0%, 43.9%)
CIE-LABlab(31.27, 37.67, -43.72)
CIE-LCHlch(31.27, 57.71, 310.75°)
OKLaboklab(42.37% 0.075 -0.1241)
OKLCHoklch(42.37% 0.145 301.2)
XYZxyz(10.6989, 6.7663, 26.7236)
Luminance0.0677 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D348F #668F34
analogous
#34388F #5D348F #8A348F
triadic
#5D348F #8F5D34 #348F5D
tetradic
#5D348F #8F3438 #668F34 #348F8A
square
#5D348F #8F3438 #668F34 #348F8A
split-complementary
#5D348F #8F8A34 #388F34
monochromatic
#231335 #402462 #5D348F #7A45BB #9A72CC

Accessibility & contrast

On white

8.92
#5D348F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#5D348F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D348F
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D348F#FFFFFF#000000##FFFFFF
##5D348F1.008.922.358.92
#FFFFFF8.921.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004992
Deuteranopia (green-blind)
#14498D
Tritanopia (blue-blind)
#53485C
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #5d348f;
/* rgb */ color: rgb(93, 52, 143);
/* oklch */ color: oklch(42.4% 0.145 301.2);
Tailwind
colors: {
  custom: {
    50: '#8f6eb0',
    500: '#5d348f',
    950: '#000000',
  },
}
SCSS
$custom: #5d348f;
$custom-light: #8f6eb0;
$custom-dark: #000000;
JSON
{
  "hex": "#5d348f",
  "rgb": {
    "r": 93,
    "g": 52,
    "b": 143
  },
  "hsl": {
    "h": 267.033,
    "s": 46.667,
    "l": 38.235
  },
  "oklch": {
    "l": 0.42371,
    "c": 0.14503,
    "h": 301.2
  },
  "luminance": 0.06766
}

Semantic roles & 50–950 ramp

primary
#5D348F
secondary
#93B46B
accent
#D6519A
background
#F9F6FA
surface
#F1ECF5
border
#CBC7CF
text
#0D0711
muted
#7E7A80

Preview Lab

Preview with #5D348F

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

Preview Lab → · Contrast checker → · Palette generator →

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