#5E2382#5E2382

#5E2382 is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.2% C 0.154 H 309.4°. Best body text is #FFFFFF at 10.30:1 contrast (WCAG AA passes).

Color values

HEX#5E2382
RGBrgb(94, 35, 130)
HSLhsl(277, 58%, 32%)
HSVhsv(277, 73%, 51%)
CMYKcmyk(27.7%, 73.1%, 0%, 49%)
CIE-LABlab(27.28, 43.40, -42.08)
CIE-LCHlch(27.28, 60.45, 315.89°)
OKLaboklab(39.23% 0.0979 -0.1192)
OKLCHoklch(39.23% 0.154 309.4)
XYZxyz(9.2456, 5.1936, 21.6302)
Luminance0.0519 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E2382 #478223
analogous
#2E2382 #5E2382 #822377
triadic
#5E2382 #825E23 #23825E
tetradic
#5E2382 #822E23 #478223 #237782
square
#5E2382 #822E23 #478223 #237782
split-complementary
#5E2382 #778223 #23822E
monochromatic
#180922 #3B1652 #5E2382 #8130B2 #9F50D0

Accessibility & contrast

On white

10.30
#5E2382 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E2382
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E2382#FFFFFF#000000##FFFFFF
##5E23821.0010.302.0410.30
#FFFFFF10.301.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E85
Deuteranopia (green-blind)
#0F4180
Tritanopia (blue-blind)
#593850
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #5e2382;
/* rgb */ color: rgb(94, 35, 130);
/* oklch */ color: oklch(39.2% 0.154 309.4);
Tailwind
colors: {
  custom: {
    50: '#8f63a7',
    500: '#5e2382',
    950: '#000000',
  },
}
SCSS
$custom: #5e2382;
$custom-light: #8f63a7;
$custom-dark: #000000;
JSON
{
  "hex": "#5e2382",
  "rgb": {
    "r": 94,
    "g": 35,
    "b": 130
  },
  "hsl": {
    "h": 277.263,
    "s": 57.576,
    "l": 32.353
  },
  "oklch": {
    "l": 0.39232,
    "c": 0.15424,
    "h": 309.4
  },
  "luminance": 0.05193
}

Semantic roles & 50–950 ramp

primary
#5E2382
secondary
#74B34D
accent
#E14781
background
#F9F6FA
surface
#F1EBF4
border
#CBC6CE
text
#0D060F
muted
#7E7A7F

Preview Lab

Preview with #5E2382

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

Preview Lab → · Contrast checker → · Palette generator →

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