#5E1C80#5E1C80

#5E1C80 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.3% C 0.161 H 311.0°. Best body text is #FFFFFF at 10.75:1 contrast (WCAG AA passes).

Color values

HEX#5E1C80
RGBrgb(94, 28, 128)
HSLhsl(280, 64%, 31%)
HSVhsv(280, 78%, 50%)
CMYKcmyk(26.6%, 78.1%, 0%, 49.8%)
CIE-LABlab(26.07, 45.96, -42.78)
CIE-LCHlch(26.07, 62.79, 317.05°)
OKLaboklab(38.32% 0.1055 -0.1212)
OKLCHoklch(38.32% 0.161 311)
XYZxyz(8.9269, 4.7689, 20.8681)
Luminance0.0477 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1C80 #3E801C
analogous
#2C1C80 #5E1C80 #801C70
triadic
#5E1C80 #805E1C #1C805E
tetradic
#5E1C80 #802C1C #3E801C #1C7080
square
#5E1C80 #802C1C #3E801C #1C7080
split-complementary
#5E1C80 #70801C #1C802C
monochromatic
#14061C #39114E #5E1C80 #8327B2 #A341D5

Accessibility & contrast

On white

10.75
#5E1C80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#5E1C80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1C80
10.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1C80#FFFFFF#000000##FFFFFF
##5E1C801.0010.751.9510.75
#FFFFFF10.751.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B83
Deuteranopia (green-blind)
#063F7E
Tritanopia (blue-blind)
#59344D
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #5e1c80;
/* rgb */ color: rgb(94, 28, 128);
/* oklch */ color: oklch(38.3% 0.161 311.0);
Tailwind
colors: {
  custom: {
    50: '#9060a5',
    500: '#5e1c80',
    950: '#000000',
  },
}
SCSS
$custom: #5e1c80;
$custom-light: #9060a5;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1c80",
  "rgb": {
    "r": 94,
    "g": 28,
    "b": 128
  },
  "hsl": {
    "h": 279.6,
    "s": 64.103,
    "l": 30.588
  },
  "oklch": {
    "l": 0.38324,
    "c": 0.16067,
    "h": 311
  },
  "luminance": 0.04769
}

Semantic roles & 50–950 ramp

primary
#5E1C80
secondary
#6AB344
accent
#E74179
background
#F9F5FA
surface
#F1EAF4
border
#CBC6CE
text
#0D050F
muted
#7E797F

Preview Lab

Preview with #5E1C80

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

Preview Lab → · Contrast checker → · Palette generator →

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