#5E367B#5E367B

#5E367B is a dark, moderate violet. Relative luminance 0.064; OKLCH L 41.4% C 0.117 H 308.9°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#5E367B
RGBrgb(94, 54, 123)
HSLhsl(275, 39%, 35%)
HSVhsv(275, 56%, 48%)
CMYKcmyk(23.6%, 56.1%, 0%, 51.8%)
CIE-LABlab(30.52, 31.62, -32.49)
CIE-LCHlch(30.52, 45.34, 314.22°)
OKLaboklab(41.43% 0.0736 -0.0912)
OKLCHoklch(41.43% 0.117 308.9)
XYZxyz(9.5097, 6.4482, 19.4787)
Luminance0.0645 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E367B #537B36
analogous
#3C367B #5E367B #7B3675
triadic
#5E367B #7B5E36 #367B5E
tetradic
#5E367B #7B3C36 #537B36 #36757B
square
#5E367B #7B3C36 #537B36 #36757B
split-complementary
#5E367B #757B36 #367B3C
monochromatic
#1D1126 #3D2350 #5E367B #7F49A6 #9C6DBF

Accessibility & contrast

On white

9.17
#5E367B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#5E367B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E367B
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E367B#FFFFFF#000000##FFFFFF
##5E367B1.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21467D
Deuteranopia (green-blind)
#2E4879
Tritanopia (blue-blind)
#5A4253
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #5e367b;
/* rgb */ color: rgb(94, 54, 123);
/* oklch */ color: oklch(41.4% 0.117 308.9);
Tailwind
colors: {
  custom: {
    50: '#8e6fa1',
    500: '#5e367b',
    950: '#000000',
  },
}
SCSS
$custom: #5e367b;
$custom-light: #8e6fa1;
$custom-dark: #000000;
JSON
{
  "hex": "#5e367b",
  "rgb": {
    "r": 94,
    "g": 54,
    "b": 123
  },
  "hsl": {
    "h": 274.783,
    "s": 38.983,
    "l": 34.706
  },
  "oklch": {
    "l": 0.41428,
    "c": 0.11719,
    "h": 308.9
  },
  "luminance": 0.06448
}

Semantic roles & 50–950 ramp

primary
#5E367B
secondary
#81A765
accent
#CF598A
background
#F8F6FA
surface
#F0ECF3
border
#CBC7CD
text
#0C070F
muted
#7D7A7F

Preview Lab

Preview with #5E367B

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

Preview Lab → · Contrast checker → · Palette generator →

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