#5E2D83#5E2D83

#5E2D83 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 40.6% C 0.141 H 307.5°. Best body text is #FFFFFF at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#5E2D83
RGBrgb(94, 45, 131)
HSLhsl(274, 49%, 35%)
HSVhsv(274, 66%, 51%)
CMYKcmyk(28.2%, 65.6%, 0%, 48.6%)
CIE-LABlab(29.15, 38.66, -39.69)
CIE-LCHlch(29.15, 55.41, 314.25°)
OKLaboklab(40.6% 0.086 -0.1122)
OKLCHoklch(40.6% 0.141 307.5)
XYZxyz(9.6504, 5.8953, 22.0978)
Luminance0.0590 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E2D83 #52832D
analogous
#332D83 #5E2D83 #832D7D
triadic
#5E2D83 #835E2D #2D835E
tetradic
#5E2D83 #83332D #52832D #2D7D83
square
#5E2D83 #83332D #52832D #2D7D83
split-complementary
#5E2D83 #7D832D #2D8333
monochromatic
#1D0E28 #3D1D55 #5E2D83 #7F3DB1 #9C62C9

Accessibility & contrast

On white

9.64
#5E2D83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#5E2D83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E2D83
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E2D83#FFFFFF#000000##FFFFFF
##5E2D831.009.642.189.64
#FFFFFF9.641.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004386
Deuteranopia (green-blind)
#1D4581
Tritanopia (blue-blind)
#583F54
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #5e2d83;
/* rgb */ color: rgb(94, 45, 131);
/* oklch */ color: oklch(40.6% 0.141 307.5);
Tailwind
colors: {
  custom: {
    50: '#8f69a8',
    500: '#5e2d83',
    950: '#000000',
  },
}
SCSS
$custom: #5e2d83;
$custom-light: #8f69a8;
$custom-dark: #000000;
JSON
{
  "hex": "#5e2d83",
  "rgb": {
    "r": 94,
    "g": 45,
    "b": 131
  },
  "hsl": {
    "h": 274.186,
    "s": 48.864,
    "l": 34.51
  },
  "oklch": {
    "l": 0.40595,
    "c": 0.14137,
    "h": 307.5
  },
  "luminance": 0.05895
}

Semantic roles & 50–950 ramp

primary
#5E2D83
secondary
#80AF5C
accent
#D84F8A
background
#F9F6FA
surface
#F1EBF4
border
#CBC6CE
text
#0D060F
muted
#7E7A7F

Preview Lab

Preview with #5E2D83

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

Preview Lab → · Contrast checker → · Palette generator →

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