#5E1685#5E1685

#5E1685 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 38.2% C 0.172 H 309.7°. Best body text is #FFFFFF at 10.88:1 contrast (WCAG AA passes).

Color values

HEX#5E1685
RGBrgb(94, 22, 133)
HSLhsl(279, 72%, 30%)
HSVhsv(279, 83%, 52%)
CMYKcmyk(29.3%, 83.5%, 0%, 47.8%)
CIE-LABlab(25.70, 49.28, -46.51)
CIE-LCHlch(25.70, 67.76, 316.65°)
OKLaboklab(38.2% 0.1095 -0.1321)
OKLCHoklch(38.2% 0.172 309.7)
XYZxyz(9.1358, 4.6471, 22.6015)
Luminance0.0465 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1685 #3D8516
analogous
#261685 #5E1685 #851674
triadic
#5E1685 #855E16 #16855E
tetradic
#5E1685 #852616 #3D8516 #167485
square
#5E1685 #852616 #3D8516 #167485
split-complementary
#5E1685 #748516 #168526
monochromatic
#14051C #390D50 #5E1685 #831FBA #A337DE

Accessibility & contrast

On white

10.88
#5E1685 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#5E1685 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1685
10.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1685#FFFFFF#000000##FFFFFF
##5E16851.0010.881.9310.88
#FFFFFF10.881.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A88
Deuteranopia (green-blind)
#003E83
Tritanopia (blue-blind)
#58334F
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #5e1685;
/* rgb */ color: rgb(94, 22, 133);
/* oklch */ color: oklch(38.2% 0.172 309.7);
Tailwind
colors: {
  custom: {
    50: '#905ea9',
    500: '#5e1685',
    950: '#000000',
  },
}
SCSS
$custom: #5e1685;
$custom-light: #905ea9;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1685",
  "rgb": {
    "r": 94,
    "g": 22,
    "b": 133
  },
  "hsl": {
    "h": 278.919,
    "s": 71.613,
    "l": 30.392
  },
  "oklch": {
    "l": 0.38197,
    "c": 0.17162,
    "h": 309.7
  },
  "luminance": 0.04647
}

Semantic roles & 50–950 ramp

primary
#5E1685
secondary
#69B93E
accent
#EE3979
background
#F9F5FA
surface
#F1E9F4
border
#CBC5CE
text
#0D0510
muted
#7E797F

Preview Lab

Preview with #5E1685

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

Preview Lab → · Contrast checker → · Palette generator →

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