#5E379B#5E379B

#5E379B is a dark, vivid violet. Relative luminance 0.075; OKLCH L 43.8% C 0.156 H 297.5°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#5E379B
RGBrgb(94, 55, 155)
HSLhsl(263, 48%, 41%)
HSVhsv(263, 65%, 61%)
CMYKcmyk(39.4%, 64.5%, 0%, 39.2%)
CIE-LABlab(32.87, 39.46, -48.46)
CIE-LCHlch(32.87, 62.49, 309.15°)
OKLaboklab(43.83% 0.072 -0.138)
OKLCHoklch(43.83% 0.156 297.5)
XYZxyz(11.8972, 7.4784, 31.8207)
Luminance0.0748 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E379B #749B37
analogous
#37429B #5E379B #90379B
triadic
#5E379B #9B5E37 #379B5E
tetradic
#5E379B #9B3742 #749B37 #379B90
square
#5E379B #9B3742 #749B37 #379B90
split-complementary
#5E379B #9B9037 #429B37
monochromatic
#271741 #43276E #5E379B #7B4FC0 #9D7CD0

Accessibility & contrast

On white

8.41
#5E379B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#5E379B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E379B
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E379B#FFFFFF#000000##FFFFFF
##5E379B1.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9E
Deuteranopia (green-blind)
#004C99
Tritanopia (blue-blind)
#4F4D64
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #5e379b;
/* rgb */ color: rgb(94, 55, 155);
/* oklch */ color: oklch(43.8% 0.156 297.5);
Tailwind
colors: {
  custom: {
    50: '#9070b9',
    500: '#5e379b',
    950: '#000000',
  },
}
SCSS
$custom: #5e379b;
$custom-light: #9070b9;
$custom-dark: #000000;
JSON
{
  "hex": "#5e379b",
  "rgb": {
    "r": 94,
    "g": 55,
    "b": 155
  },
  "hsl": {
    "h": 263.4,
    "s": 47.619,
    "l": 41.176
  },
  "oklch": {
    "l": 0.43834,
    "c": 0.15564,
    "h": 297.5
  },
  "luminance": 0.07479
}

Semantic roles & 50–950 ramp

primary
#5E379B
secondary
#9FBA74
accent
#D751A3
background
#F9F6FB
surface
#F1ECF6
border
#CBC7D0
text
#0D0711
muted
#7E7A80

Preview Lab

Preview with #5E379B

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

Preview Lab → · Contrast checker → · Palette generator →

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