#5E367D#5E367D

#5E367D is a dark, moderate violet. Relative luminance 0.065; OKLCH L 41.6% C 0.120 H 308.1°. Best body text is #FFFFFF at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#5E367D
RGBrgb(94, 54, 125)
HSLhsl(274, 40%, 35%)
HSVhsv(274, 57%, 49%)
CMYKcmyk(24.8%, 56.8%, 0%, 51%)
CIE-LABlab(30.64, 32.12, -33.55)
CIE-LCHlch(30.64, 46.45, 313.75°)
OKLaboklab(41.56% 0.0738 -0.0943)
OKLCHoklch(41.56% 0.12 308.1)
XYZxyz(9.6362, 6.4988, 20.1448)
Luminance0.0650 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E367D #557D36
analogous
#3A367D #5E367D #7D3678
triadic
#5E367D #7D5E36 #367D5E
tetradic
#5E367D #7D3A36 #557D36 #36787D
square
#5E367D #7D3A36 #557D36 #36787D
split-complementary
#5E367D #787D36 #367D3A
monochromatic
#1E1128 #3E2452 #5E367D #7E48A8 #9C6DC0

Accessibility & contrast

On white

9.13
#5E367D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E367D
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E367D#FFFFFF#000000##FFFFFF
##5E367D1.009.132.309.13
#FFFFFF9.131.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.131.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5e367d;
/* rgb */ color: rgb(94, 54, 125);
/* oklch */ color: oklch(41.6% 0.120 308.1);
Tailwind
colors: {
  custom: {
    50: '#8e6fa3',
    500: '#5e367d',
    950: '#000000',
  },
}
SCSS
$custom: #5e367d;
$custom-light: #8e6fa3;
$custom-dark: #000000;
JSON
{
  "hex": "#5e367d",
  "rgb": {
    "r": 94,
    "g": 54,
    "b": 125
  },
  "hsl": {
    "h": 273.803,
    "s": 39.665,
    "l": 35.098
  },
  "oklch": {
    "l": 0.41557,
    "c": 0.1197,
    "h": 308.1
  },
  "luminance": 0.06499
}

Semantic roles & 50–950 ramp

primary
#5E367D
secondary
#83A966
accent
#D0588C
background
#F8F6FA
surface
#F0ECF4
border
#CBC7CE
text
#0C070F
muted
#7D7A7F

Preview Lab

Preview with #5E367D

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

Preview Lab → · Contrast checker → · Palette generator →

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