#5E1B65#5E1B65

#5E1B65 is a dark, vivid purple. Relative luminance 0.041; OKLCH L 36.3% C 0.136 H 323.8°. Best body text is #FFFFFF at 11.53:1 contrast (WCAG AA passes).

Color values

HEX#5E1B65
RGBrgb(94, 27, 101)
HSLhsl(294, 58%, 25%)
HSVhsv(294, 73%, 40%)
CMYKcmyk(6.9%, 73.3%, 0%, 60.4%)
CIE-LABlab(24.01, 40.62, -28.77)
CIE-LCHlch(24.01, 49.78, 324.69°)
OKLaboklab(36.25% 0.1095 -0.0801)
OKLCHoklch(36.25% 0.136 323.8)
XYZxyz(7.3568, 4.1036, 12.7140)
Luminance0.0410 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1B65 #22651B
analogous
#391B65 #5E1B65 #651B47
triadic
#5E1B65 #655E1B #1B655E
tetradic
#5E1B65 #65391B #22651B #1B4765
square
#5E1B65 #65391B #22651B #1B4765
split-complementary
#5E1B65 #47651B #1B6539
monochromatic
#160618 #310E35 #5E1B65 #8B2895 #B835C6

Accessibility & contrast

On white

11.53
#5E1B65 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#5E1B65 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1B65
11.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1B65#FFFFFF#000000##FFFFFF
##5E1B651.0011.531.8211.53
#FFFFFF11.531.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#063467
Deuteranopia (green-blind)
#283C63
Tritanopia (blue-blind)
#60273E
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #5e1b65;
/* rgb */ color: rgb(94, 27, 101);
/* oklch */ color: oklch(36.3% 0.136 323.8);
Tailwind
colors: {
  custom: {
    50: '#8e5e91',
    500: '#5e1b65',
    950: '#000000',
  },
}
SCSS
$custom: #5e1b65;
$custom-light: #8e5e91;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1b65",
  "rgb": {
    "r": 94,
    "g": 27,
    "b": 101
  },
  "hsl": {
    "h": 294.324,
    "s": 57.813,
    "l": 25.098
  },
  "oklch": {
    "l": 0.36255,
    "c": 0.13571,
    "h": 323.8
  },
  "luminance": 0.04103
}

Semantic roles & 50–950 ramp

primary
#5E1B65
secondary
#4A9A41
accent
#E14755
background
#F9F5F8
surface
#F1E9F0
border
#CBC5CB
text
#0D050D
muted
#7E797D

Preview Lab

Preview with #5E1B65

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

Preview Lab → · Contrast checker → · Palette generator →

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