#5E367F#5E367F

#5E367F is a dark, vivid violet. Relative luminance 0.066; OKLCH L 41.7% C 0.122 H 307.2°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#5E367F
RGBrgb(94, 54, 127)
HSLhsl(273, 40%, 35%)
HSVhsv(273, 57%, 50%)
CMYKcmyk(26%, 57.5%, 0%, 50.2%)
CIE-LABlab(30.76, 32.63, -34.61)
CIE-LCHlch(30.76, 47.56, 313.31°)
OKLaboklab(41.69% 0.0739 -0.0974)
OKLCHoklch(41.69% 0.122 307.2)
XYZxyz(9.7652, 6.5504, 20.8245)
Luminance0.0655 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E367F #577F36
analogous
#3A367F #5E367F #7F367B
triadic
#5E367F #7F5E36 #367F5E
tetradic
#5E367F #7F3A36 #577F36 #367B7F
square
#5E367F #7F3A36 #577F36 #367B7F
split-complementary
#5E367F #7B7F36 #367F3A
monochromatic
#1E1129 #3E2454 #5E367F #7E48AA #9C6EC1

Accessibility & contrast

On white

9.09
#5E367F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#5E367F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E367F
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E367F#FFFFFF#000000##FFFFFF
##5E367F1.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4781
Deuteranopia (green-blind)
#2B497D
Tritanopia (blue-blind)
#594355
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #5e367f;
/* rgb */ color: rgb(94, 54, 127);
/* oklch */ color: oklch(41.7% 0.122 307.2);
Tailwind
colors: {
  custom: {
    50: '#8e6fa4',
    500: '#5e367f',
    950: '#000000',
  },
}
SCSS
$custom: #5e367f;
$custom-light: #8e6fa4;
$custom-dark: #000000;
JSON
{
  "hex": "#5e367f",
  "rgb": {
    "r": 94,
    "g": 54,
    "b": 127
  },
  "hsl": {
    "h": 272.877,
    "s": 40.331,
    "l": 35.49
  },
  "oklch": {
    "l": 0.41687,
    "c": 0.12221,
    "h": 307.2
  },
  "luminance": 0.0655
}

Semantic roles & 50–950 ramp

primary
#5E367F
secondary
#85AA67
accent
#D0588E
background
#F8F6FA
surface
#F0ECF4
border
#CBC7CE
text
#0C070F
muted
#7D7A7F

Preview Lab

Preview with #5E367F

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

Preview Lab → · Contrast checker → · Palette generator →

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