#5E2A67#5E2A67

#5E2A67 is a dark, moderate purple. Relative luminance 0.050; OKLCH L 38.3% C 0.115 H 321.5°. Best body text is #FFFFFF at 10.48:1 contrast (WCAG AA passes).

Color values

HEX#5E2A67
RGBrgb(94, 42, 103)
HSLhsl(291, 42%, 28%)
HSVhsv(291, 59%, 40%)
CMYKcmyk(8.7%, 59.2%, 0%, 59.6%)
CIE-LABlab(26.78, 33.74, -25.68)
CIE-LCHlch(26.78, 42.40, 322.73°)
OKLaboklab(38.3% 0.0897 -0.0713)
OKLCHoklch(38.3% 0.115 321.5)
XYZxyz(7.8920, 5.0153, 13.3817)
Luminance0.0502 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E2A67 #33672A
analogous
#3F2A67 #5E2A67 #672A51
triadic
#5E2A67 #675E2A #2A675E
tetradic
#5E2A67 #673F2A #33672A #2A5167
square
#5E2A67 #673F2A #33672A #2A5167
split-complementary
#5E2A67 #51672A #2A673F
monochromatic
#140916 #36183C #5E2A67 #863C92 #AA53B9

Accessibility & contrast

On white

10.48
#5E2A67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#5E2A67 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E2A67
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E2A67#FFFFFF#000000##FFFFFF
##5E2A671.0010.482.0010.48
#FFFFFF10.481.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F3C69
Deuteranopia (green-blind)
#304165
Tritanopia (blue-blind)
#5F3344
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #5e2a67;
/* rgb */ color: rgb(94, 42, 103);
/* oklch */ color: oklch(38.3% 0.115 321.5);
Tailwind
colors: {
  custom: {
    50: '#8d6692',
    500: '#5e2a67',
    950: '#000000',
  },
}
SCSS
$custom: #5e2a67;
$custom-light: #8d6692;
$custom-dark: #000000;
JSON
{
  "hex": "#5e2a67",
  "rgb": {
    "r": 94,
    "g": 42,
    "b": 103
  },
  "hsl": {
    "h": 291.148,
    "s": 42.069,
    "l": 28.431
  },
  "oklch": {
    "l": 0.383,
    "c": 0.11456,
    "h": 321.5
  },
  "luminance": 0.05015
}

Semantic roles & 50–950 ramp

primary
#5E2A67
secondary
#5E9954
accent
#D25668
background
#F8F6F9
surface
#F0EBF1
border
#CBC6CB
text
#0C060D
muted
#7D7A7E

Preview Lab

Preview with #5E2A67

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

Preview Lab → · Contrast checker → · Palette generator →

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