#5E1055#5E1055

#5E1055 is a dark, vivid purple. Relative luminance 0.034; OKLCH L 34.2% C 0.135 H 333.5°. Best body text is #FFFFFF at 12.49:1 contrast (WCAG AA passes).

Color values

HEX#5E1055
RGBrgb(94, 16, 85)
HSLhsl(307, 71%, 22%)
HSVhsv(307, 83%, 37%)
CMYKcmyk(0%, 83%, 9.6%, 63.1%)
CIE-LABlab(21.60, 41.76, -22.00)
CIE-LCHlch(21.60, 47.20, 332.22°)
OKLaboklab(34.21% 0.1209 -0.0604)
OKLCHoklch(34.21% 0.135 333.5)
XYZxyz(6.4411, 3.4067, 8.9109)
Luminance0.0341 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1055 #105E19
analogous
#40105E #5E1055 #5E102E
triadic
#5E1055 #555E10 #10555E
tetradic
#5E1055 #5E4010 #105E19 #102E5E
square
#5E1055 #5E4010 #105E19 #102E5E
split-complementary
#5E1055 #2E5E10 #105E40
monochromatic
#1A0418 #2A0726 #5E1055 #921984 #C722B4

Accessibility & contrast

On white

12.49
#5E1055 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#5E1055 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1055
12.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1055#FFFFFF#000000##FFFFFF
##5E10551.0012.491.6812.49
#FFFFFF12.491.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D2D57
Deuteranopia (green-blind)
#2C3853
Tritanopia (blue-blind)
#631932
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #5e1055;
/* rgb */ color: rgb(94, 16, 85);
/* oklch */ color: oklch(34.2% 0.135 333.5);
Tailwind
colors: {
  custom: {
    50: '#8f5985',
    500: '#5e1055',
    950: '#000000',
  },
}
SCSS
$custom: #5e1055;
$custom-light: #8f5985;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1055",
  "rgb": {
    "r": 94,
    "g": 16,
    "b": 85
  },
  "hsl": {
    "h": 306.923,
    "s": 70.909,
    "l": 21.569
  },
  "oklch": {
    "l": 0.34214,
    "c": 0.13515,
    "h": 333.5
  },
  "luminance": 0.03406
}

Semantic roles & 50–950 ramp

primary
#5E1055
secondary
#33973E
accent
#EE4F3A
background
#F9F5F8
surface
#F1E9EF
border
#CBC5CA
text
#0D040B
muted
#7E797C

Preview Lab

Preview with #5E1055

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

Preview Lab → · Contrast checker → · Palette generator →

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