#5E2383#5E2383

#5E2383 is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.3% C 0.155 H 309.0°. Best body text is #FFFFFF at 10.27:1 contrast (WCAG AA passes).

Color values

HEX#5E2383
RGBrgb(94, 35, 131)
HSLhsl(277, 58%, 33%)
HSVhsv(277, 73%, 51%)
CMYKcmyk(28.2%, 73.3%, 0%, 48.6%)
CIE-LABlab(27.35, 43.64, -42.58)
CIE-LCHlch(27.35, 60.97, 315.70°)
OKLaboklab(39.31% 0.0978 -0.1206)
OKLCHoklch(39.31% 0.155 309)
XYZxyz(9.3130, 5.2206, 21.9854)
Luminance0.0522 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E2383 #488323
analogous
#2E2383 #5E2383 #832378
triadic
#5E2383 #835E23 #23835E
tetradic
#5E2383 #832E23 #488323 #237883
square
#5E2383 #832E23 #488323 #237883
split-complementary
#5E2383 #788323 #23832E
monochromatic
#190922 #3B1653 #5E2383 #8130B3 #9F50D0

Accessibility & contrast

On white

10.27
#5E2383 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#5E2383 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E2383
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E2383#FFFFFF#000000##FFFFFF
##5E23831.0010.272.0410.27
#FFFFFF10.271.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E86
Deuteranopia (green-blind)
#0C4181
Tritanopia (blue-blind)
#583950
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #5e2383;
/* rgb */ color: rgb(94, 35, 131);
/* oklch */ color: oklch(39.3% 0.155 309.0);
Tailwind
colors: {
  custom: {
    50: '#8f64a8',
    500: '#5e2383',
    950: '#000000',
  },
}
SCSS
$custom: #5e2383;
$custom-light: #8f64a8;
$custom-dark: #000000;
JSON
{
  "hex": "#5e2383",
  "rgb": {
    "r": 94,
    "g": 35,
    "b": 131
  },
  "hsl": {
    "h": 276.875,
    "s": 57.831,
    "l": 32.549
  },
  "oklch": {
    "l": 0.39309,
    "c": 0.1553,
    "h": 309
  },
  "luminance": 0.0522
}

Semantic roles & 50–950 ramp

primary
#5E2383
secondary
#75B44E
accent
#E14782
background
#F9F6FA
surface
#F1EBF4
border
#CBC6CE
text
#0D0610
muted
#7E7A7F

Preview Lab

Preview with #5E2383

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

Preview Lab → · Contrast checker → · Palette generator →

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