#5E2280#5E2280

#5E2280 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.0% C 0.153 H 310.3°. Best body text is #FFFFFF at 10.41:1 contrast (WCAG AA passes).

Color values

HEX#5E2280
RGBrgb(94, 34, 128)
HSLhsl(278, 58%, 32%)
HSVhsv(278, 73%, 50%)
CMYKcmyk(26.6%, 73.4%, 0%, 49.8%)
CIE-LABlab(26.97, 43.39, -41.32)
CIE-LCHlch(26.97, 59.92, 316.40°)
OKLaboklab(38.96% 0.0993 -0.1169)
OKLCHoklch(38.96% 0.153 310.3)
XYZxyz(9.0836, 5.0825, 20.9204)
Luminance0.0508 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E2280 #448022
analogous
#2F2280 #5E2280 #802273
triadic
#5E2280 #805E22 #22805E
tetradic
#5E2280 #802F22 #448022 #227380
square
#5E2280 #802F22 #448022 #227380
split-complementary
#5E2280 #738022 #22802F
monochromatic
#17081F #3A1550 #5E2280 #822FB0 #A04DD0

Accessibility & contrast

On white

10.41
#5E2280 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#5E2280 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E2280
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E2280#FFFFFF#000000##FFFFFF
##5E22801.0010.412.0210.41
#FFFFFF10.411.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D83
Deuteranopia (green-blind)
#11417E
Tritanopia (blue-blind)
#59374F
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #5e2280;
/* rgb */ color: rgb(94, 34, 128);
/* oklch */ color: oklch(39.0% 0.153 310.3);
Tailwind
colors: {
  custom: {
    50: '#8f63a5',
    500: '#5e2280',
    950: '#000000',
  },
}
SCSS
$custom: #5e2280;
$custom-light: #8f63a5;
$custom-dark: #000000;
JSON
{
  "hex": "#5e2280",
  "rgb": {
    "r": 94,
    "g": 34,
    "b": 128
  },
  "hsl": {
    "h": 278.298,
    "s": 58.025,
    "l": 31.765
  },
  "oklch": {
    "l": 0.38964,
    "c": 0.15343,
    "h": 310.3
  },
  "luminance": 0.05082
}

Semantic roles & 50–950 ramp

primary
#5E2280
secondary
#71B24B
accent
#E1477F
background
#F9F6FA
surface
#F1EBF4
border
#CBC6CE
text
#0D050F
muted
#7E7A7F

Preview Lab

Preview with #5E2280

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

Preview Lab → · Contrast checker → · Palette generator →

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