#5E2482#5E2482

#5E2482 is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.4% C 0.153 H 309.3°. Best body text is #FFFFFF at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#5E2482
RGBrgb(94, 36, 130)
HSLhsl(277, 57%, 33%)
HSVhsv(277, 72%, 51%)
CMYKcmyk(27.7%, 72.3%, 0%, 49%)
CIE-LABlab(27.44, 42.94, -41.81)
CIE-LCHlch(27.44, 59.93, 315.76°)
OKLaboklab(39.35% 0.0968 -0.1184)
OKLCHoklch(39.35% 0.153 309.3)
XYZxyz(9.2754, 5.2533, 21.6401)
Luminance0.0525 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E2482 #488224
analogous
#2F2482 #5E2482 #822477
triadic
#5E2482 #825E24 #24825E
tetradic
#5E2482 #822F24 #488224 #247782
square
#5E2482 #822F24 #488224 #247782
split-complementary
#5E2482 #778224 #24822F
monochromatic
#190922 #3B1752 #5E2482 #8131B2 #9F51CF

Accessibility & contrast

On white

10.24
#5E2482 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#5E2482 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E2482
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E2482#FFFFFF#000000##FFFFFF
##5E24821.0010.242.0510.24
#FFFFFF10.241.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E85
Deuteranopia (green-blind)
#114280
Tritanopia (blue-blind)
#593950
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #5e2482;
/* rgb */ color: rgb(94, 36, 130);
/* oklch */ color: oklch(39.4% 0.153 309.3);
Tailwind
colors: {
  custom: {
    50: '#8f64a7',
    500: '#5e2482',
    950: '#000000',
  },
}
SCSS
$custom: #5e2482;
$custom-light: #8f64a7;
$custom-dark: #000000;
JSON
{
  "hex": "#5e2482",
  "rgb": {
    "r": 94,
    "g": 36,
    "b": 130
  },
  "hsl": {
    "h": 277.021,
    "s": 56.627,
    "l": 32.549
  },
  "oklch": {
    "l": 0.3935,
    "c": 0.15294,
    "h": 309.3
  },
  "luminance": 0.05253
}

Semantic roles & 50–950 ramp

primary
#5E2482
secondary
#75B34F
accent
#E04882
background
#F9F6FA
surface
#F1EBF4
border
#CBC6CE
text
#0D060F
muted
#7E7A7F

Preview Lab

Preview with #5E2482

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

Preview Lab → · Contrast checker → · Palette generator →

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