#5E368F#5E368F

#5E368F is a dark, vivid violet. Relative luminance 0.070; OKLCH L 42.8% C 0.142 H 301.3°. Best body text is #FFFFFF at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#5E368F
RGBrgb(94, 54, 143)
HSLhsl(267, 45%, 39%)
HSVhsv(267, 62%, 56%)
CMYKcmyk(34.3%, 62.2%, 0%, 43.9%)
CIE-LABlab(31.81, 36.79, -42.85)
CIE-LCHlch(31.81, 56.47, 310.65°)
OKLaboklab(42.79% 0.0739 -0.1215)
OKLCHoklch(42.79% 0.142 301.3)
XYZxyz(10.8920, 7.0011, 26.7588)
Luminance0.0700 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E368F #678F36
analogous
#363A8F #5E368F #8A368F
triadic
#5E368F #8F5E36 #368F5E
tetradic
#5E368F #8F363A #678F36 #368F8A
square
#5E368F #8F363A #678F36 #368F8A
split-complementary
#5E368F #8F8A36 #3A8F36
monochromatic
#241436 #412563 #5E368F #7B48BA #9B75CB

Accessibility & contrast

On white

8.75
#5E368F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#5E368F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E368F
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E368F#FFFFFF#000000##FFFFFF
##5E368F1.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A92
Deuteranopia (green-blind)
#1A4A8D
Tritanopia (blue-blind)
#54495D
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #5e368f;
/* rgb */ color: rgb(94, 54, 143);
/* oklch */ color: oklch(42.8% 0.142 301.3);
Tailwind
colors: {
  custom: {
    50: '#8f6fb0',
    500: '#5e368f',
    950: '#000000',
  },
}
SCSS
$custom: #5e368f;
$custom-light: #8f6fb0;
$custom-dark: #000000;
JSON
{
  "hex": "#5e368f",
  "rgb": {
    "r": 94,
    "g": 54,
    "b": 143
  },
  "hsl": {
    "h": 266.966,
    "s": 45.178,
    "l": 38.627
  },
  "oklch": {
    "l": 0.42791,
    "c": 0.14222,
    "h": 301.3
  },
  "luminance": 0.07001
}

Semantic roles & 50–950 ramp

primary
#5E368F
secondary
#94B36D
accent
#D5539A
background
#F9F6FA
surface
#F1ECF5
border
#CBC7CF
text
#0D0710
muted
#7E7A7F

Preview Lab

Preview with #5E368F

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

Preview Lab → · Contrast checker → · Palette generator →

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