#5E1065#5E1065

#5E1065 is a dark, vivid purple. Relative luminance 0.037; OKLCH L 35.3% C 0.148 H 324.3°. Best body text is #FFFFFF at 12.08:1 contrast (WCAG AA passes).

Color values

HEX#5E1065
RGBrgb(94, 16, 101)
HSLhsl(295, 73%, 23%)
HSVhsv(295, 84%, 40%)
CMYKcmyk(6.9%, 84.2%, 0%, 60.4%)
CIE-LABlab(22.62, 44.61, -30.99)
CIE-LCHlch(22.62, 54.32, 325.21°)
OKLaboklab(35.26% 0.1205 -0.0865)
OKLCHoklch(35.26% 0.148 324.3)
XYZxyz(7.1502, 3.6903, 12.6451)
Luminance0.0369 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1065 #176510
analogous
#331065 #5E1065 #651041
triadic
#5E1065 #655E10 #10655E
tetradic
#5E1065 #653310 #176510 #104165
square
#5E1065 #653310 #176510 #104165
split-complementary
#5E1065 #416510 #106533
monochromatic
#19041A #2D0830 #5E1065 #8F189A #C021CF

Accessibility & contrast

On white

12.08
#5E1065 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#5E1065 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1065
12.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1065#FFFFFF#000000##FFFFFF
##5E10651.0012.081.7412.08
#FFFFFF12.081.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003067
Deuteranopia (green-blind)
#223963
Tritanopia (blue-blind)
#60213B
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #5e1065;
/* rgb */ color: rgb(94, 16, 101);
/* oklch */ color: oklch(35.3% 0.148 324.3);
Tailwind
colors: {
  custom: {
    50: '#8f5a91',
    500: '#5e1065',
    950: '#000000',
  },
}
SCSS
$custom: #5e1065;
$custom-light: #8f5a91;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1065",
  "rgb": {
    "r": 94,
    "g": 16,
    "b": 101
  },
  "hsl": {
    "h": 295.059,
    "s": 72.65,
    "l": 22.941
  },
  "oklch": {
    "l": 0.35263,
    "c": 0.14831,
    "h": 324.3
  },
  "luminance": 0.0369
}

Semantic roles & 50–950 ramp

primary
#5E1065
secondary
#3C9D33
accent
#EF3848
background
#F9F5F9
surface
#F1E9F1
border
#CBC5CB
text
#0D040D
muted
#7E797E

Preview Lab

Preview with #5E1065

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

Preview Lab → · Contrast checker → · Palette generator →

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