#5E367E#5E367E

#5E367E is a dark, vivid violet. Relative luminance 0.065; OKLCH L 41.6% C 0.121 H 307.6°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#5E367E
RGBrgb(94, 54, 126)
HSLhsl(273, 40%, 35%)
HSVhsv(273, 57%, 49%)
CMYKcmyk(25.4%, 57.1%, 0%, 50.6%)
CIE-LABlab(30.70, 32.37, -34.08)
CIE-LCHlch(30.70, 47.01, 313.53°)
OKLaboklab(41.62% 0.0738 -0.0958)
OKLCHoklch(41.62% 0.121 307.6)
XYZxyz(9.7004, 6.5245, 20.4829)
Luminance0.0652 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E367E #567E36
analogous
#3A367E #5E367E #7E367A
triadic
#5E367E #7E5E36 #367E5E
tetradic
#5E367E #7E3A36 #567E36 #367A7E
square
#5E367E #7E3A36 #567E36 #367A7E
split-complementary
#5E367E #7A7E36 #367E3A
monochromatic
#1E1128 #3E2453 #5E367E #7E48A9 #9C6EC1

Accessibility & contrast

On white

9.11
#5E367E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#5E367E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E367E
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E367E#FFFFFF#000000##FFFFFF
##5E367E1.009.112.309.11
#FFFFFF9.111.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4780
Deuteranopia (green-blind)
#2C497C
Tritanopia (blue-blind)
#594354
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #5e367e;
/* rgb */ color: rgb(94, 54, 126);
/* oklch */ color: oklch(41.6% 0.121 307.6);
Tailwind
colors: {
  custom: {
    50: '#8e6fa4',
    500: '#5e367e',
    950: '#000000',
  },
}
SCSS
$custom: #5e367e;
$custom-light: #8e6fa4;
$custom-dark: #000000;
JSON
{
  "hex": "#5e367e",
  "rgb": {
    "r": 94,
    "g": 54,
    "b": 126
  },
  "hsl": {
    "h": 273.333,
    "s": 40,
    "l": 35.294
  },
  "oklch": {
    "l": 0.41622,
    "c": 0.12096,
    "h": 307.6
  },
  "luminance": 0.06524
}

Semantic roles & 50–950 ramp

primary
#5E367E
secondary
#84A967
accent
#D0588D
background
#F8F6FA
surface
#F0ECF4
border
#CBC7CE
text
#0C070F
muted
#7D7A7F

Preview Lab

Preview with #5E367E

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

Preview Lab → · Contrast checker → · Palette generator →

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