#5E1265#5E1265

#5E1265 is a dark, vivid purple. Relative luminance 0.038; OKLCH L 35.4% C 0.146 H 324.2°. Best body text is #FFFFFF at 12.00:1 contrast (WCAG AA passes).

Color values

HEX#5E1265
RGBrgb(94, 18, 101)
HSLhsl(295, 70%, 23%)
HSVhsv(295, 82%, 40%)
CMYKcmyk(6.9%, 82.2%, 0%, 60.4%)
CIE-LABlab(22.84, 43.98, -30.65)
CIE-LCHlch(22.84, 53.61, 325.13°)
OKLaboklab(35.42% 0.1188 -0.0855)
OKLCHoklch(35.42% 0.146 324.2)
XYZxyz(7.1812, 3.7523, 12.6554)
Luminance0.0375 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1265 #196512
analogous
#341265 #5E1265 #651242
triadic
#5E1265 #655E12 #12655E
tetradic
#5E1265 #653412 #196512 #124265
square
#5E1265 #653412 #196512 #124265
split-complementary
#5E1265 #426512 #126534
monochromatic
#18051A #2E0931 #5E1265 #8E1B99 #BF25CD

Accessibility & contrast

On white

12.00
#5E1265 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#5E1265 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1265
12.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1265#FFFFFF#000000##FFFFFF
##5E12651.0012.001.7512.00
#FFFFFF12.001.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003167
Deuteranopia (green-blind)
#233963
Tritanopia (blue-blind)
#60223B
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #5e1265;
/* rgb */ color: rgb(94, 18, 101);
/* oklch */ color: oklch(35.4% 0.146 324.2);
Tailwind
colors: {
  custom: {
    50: '#8f5a91',
    500: '#5e1265',
    950: '#000000',
  },
}
SCSS
$custom: #5e1265;
$custom-light: #8f5a91;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1265",
  "rgb": {
    "r": 94,
    "g": 18,
    "b": 101
  },
  "hsl": {
    "h": 294.94,
    "s": 69.748,
    "l": 23.333
  },
  "oklch": {
    "l": 0.35416,
    "c": 0.14635,
    "h": 324.2
  },
  "luminance": 0.03752
}

Semantic roles & 50–950 ramp

primary
#5E1265
secondary
#3F9D36
accent
#ED3B4A
background
#F9F5F9
surface
#F1E9F1
border
#CBC5CB
text
#0D040D
muted
#7E797E

Preview Lab

Preview with #5E1265

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

Preview Lab → · Contrast checker → · Palette generator →

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