#5E2C8F#5E2C8F

#5E2C8F is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.4% C 0.157 H 303.3°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#5E2C8F
RGBrgb(94, 44, 143)
HSLhsl(270, 53%, 37%)
HSVhsv(270, 69%, 56%)
CMYKcmyk(34.3%, 69.2%, 0%, 43.9%)
CIE-LABlab(29.82, 42.20, -46.05)
CIE-LCHlch(29.82, 62.46, 312.50°)
OKLaboklab(41.36% 0.086 -0.1309)
OKLCHoklch(41.36% 0.157 303.3)
XYZxyz(10.4736, 6.1642, 26.6193)
Luminance0.0616 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E2C8F #5D8F2C
analogous
#2D2C8F #5E2C8F #8F2C8F
triadic
#5E2C8F #8F5E2C #2C8F5E
tetradic
#5E2C8F #8F2D2C #5D8F2C #2C8F8F
square
#5E2C8F #8F2D2C #5D8F2C #2C8F8F
split-complementary
#5E2C8F #8F8F2C #2C8F2D
monochromatic
#200F31 #3F1E60 #5E2C8F #7D3ABE #9B66D0

Accessibility & contrast

On white

9.41
#5E2C8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#5E2C8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E2C8F
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E2C8F#FFFFFF#000000##FFFFFF
##5E2C8F1.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004592
Deuteranopia (green-blind)
#01468D
Tritanopia (blue-blind)
#54425A
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #5e2c8f;
/* rgb */ color: rgb(94, 44, 143);
/* oklch */ color: oklch(41.4% 0.157 303.3);
Tailwind
colors: {
  custom: {
    50: '#9069b0',
    500: '#5e2c8f',
    950: '#000000',
  },
}
SCSS
$custom: #5e2c8f;
$custom-light: #9069b0;
$custom-dark: #000000;
JSON
{
  "hex": "#5e2c8f",
  "rgb": {
    "r": 94,
    "g": 44,
    "b": 143
  },
  "hsl": {
    "h": 270.303,
    "s": 52.941,
    "l": 36.667
  },
  "oklch": {
    "l": 0.41356,
    "c": 0.15664,
    "h": 303.3
  },
  "luminance": 0.06164
}

Semantic roles & 50–950 ramp

primary
#5E2C8F
secondary
#8BB661
accent
#DC4B93
background
#F9F6FA
surface
#F1EBF5
border
#CBC6CF
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #5E2C8F

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

Preview Lab → · Contrast checker → · Palette generator →

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