#5E1053#5E1053

#5E1053 is a dark, vivid purple. Relative luminance 0.034; OKLCH L 34.1% C 0.134 H 334.7°. Best body text is #FFFFFF at 12.54:1 contrast (WCAG AA passes).

Color values

HEX#5E1053
RGBrgb(94, 16, 83)
HSLhsl(308, 71%, 22%)
HSVhsv(308, 83%, 37%)
CMYKcmyk(0%, 83%, 11.7%, 63.1%)
CIE-LABlab(21.49, 41.43, -20.84)
CIE-LCHlch(21.49, 46.38, 333.30°)
OKLaboklab(34.09% 0.1208 -0.057)
OKLCHoklch(34.09% 0.134 334.7)
XYZxyz(6.3628, 3.3754, 8.4983)
Luminance0.0338 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1053 #105E1B
analogous
#42105E #5E1053 #5E102C
triadic
#5E1053 #535E10 #10535E
tetradic
#5E1053 #5E4210 #105E1B #102C5E
square
#5E1053 #5E4210 #105E1B #102C5E
split-complementary
#5E1053 #2C5E10 #105E42
monochromatic
#1A0417 #2A0725 #5E1053 #921981 #C722AF

Accessibility & contrast

On white

12.54
#5E1053 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E1053
12.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1053#FFFFFF#000000##FFFFFF
##5E10531.0012.541.6812.54
#FFFFFF12.541.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F2C55
Deuteranopia (green-blind)
#2D3851
Tritanopia (blue-blind)
#631731
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #5e1053;
/* rgb */ color: rgb(94, 16, 83);
/* oklch */ color: oklch(34.1% 0.134 334.7);
Tailwind
colors: {
  custom: {
    50: '#8f5983',
    500: '#5e1053',
    950: '#000000',
  },
}
SCSS
$custom: #5e1053;
$custom-light: #8f5983;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1053",
  "rgb": {
    "r": 94,
    "g": 16,
    "b": 83
  },
  "hsl": {
    "h": 308.462,
    "s": 70.909,
    "l": 21.569
  },
  "oklch": {
    "l": 0.34093,
    "c": 0.13359,
    "h": 334.7
  },
  "luminance": 0.03375
}

Semantic roles & 50–950 ramp

primary
#5E1053
secondary
#339741
accent
#EE533A
background
#F9F5F8
surface
#F1E9EF
border
#CBC5CA
text
#0D040A
muted
#7E797C

Preview Lab

Preview with #5E1053

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

Preview Lab → · Contrast checker → · Palette generator →

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