#5E108D#5E108D

#5E108D is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.5% C 0.184 H 307.2°. Best body text is #FFFFFF at 10.85:1 contrast (WCAG AA passes).

Color values

HEX#5E108D
RGBrgb(94, 16, 141)
HSLhsl(277, 80%, 31%)
HSVhsv(277, 89%, 55%)
CMYKcmyk(33.3%, 88.7%, 0%, 44.7%)
CIE-LABlab(25.78, 52.82, -51.38)
CIE-LCHlch(25.78, 73.69, 315.79°)
OKLaboklab(38.46% 0.1112 -0.1464)
OKLCHoklch(38.46% 0.184 307.2)
XYZxyz(9.6081, 4.6735, 25.5901)
Luminance0.0467 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E108D #3F8D10
analogous
#1F108D #5E108D #8D107D
triadic
#5E108D #8D5E10 #108D5E
tetradic
#5E108D #8D1F10 #3F8D10 #107D8D
square
#5E108D #8D1F10 #3F8D10 #107D8D
split-complementary
#5E108D #7D8D10 #108D1F
monochromatic
#15041F #390A56 #5E108D #8316C4 #A230E7

Accessibility & contrast

On white

10.85
#5E108D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E108D
10.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E108D#FFFFFF#000000##FFFFFF
##5E108D1.0010.851.9310.85
#FFFFFF10.851.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B90
Deuteranopia (green-blind)
#003E8B
Tritanopia (blue-blind)
#563552
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #5e108d;
/* rgb */ color: rgb(94, 16, 141);
/* oklch */ color: oklch(38.5% 0.184 307.2);
Tailwind
colors: {
  custom: {
    50: '#915caf',
    500: '#5e108d',
    950: '#000000',
  },
}
SCSS
$custom: #5e108d;
$custom-light: #915caf;
$custom-dark: #000000;
JSON
{
  "hex": "#5e108d",
  "rgb": {
    "r": 94,
    "g": 16,
    "b": 141
  },
  "hsl": {
    "h": 277.44,
    "s": 79.618,
    "l": 30.784
  },
  "oklch": {
    "l": 0.38464,
    "c": 0.1838,
    "h": 307.2
  },
  "luminance": 0.04673
}

Semantic roles & 50–950 ramp

primary
#5E108D
secondary
#6BC237
accent
#F6327C
background
#F9F5FA
surface
#F2E9F5
border
#CCC5CF
text
#0D0510
muted
#7E797F

Preview Lab

Preview with #5E108D

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

Preview Lab → · Contrast checker → · Palette generator →

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